Xwang76

Untitled

Nov 28th, 2019
301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 50.50 KB | None | 0 0
  1. make[1]: ingresso nella directory "/home/andreak/tmp/AUR/openmodelica-nocoin-git/src/openmodelica-nocoin-git/testsuite/simulation/modelica/nonlinear_system"
  2.  
  3. Running tests...
  4.  
  5. OPENMODELICAHOME=
  6. + bug_2841 ... equation mismatch [time: 3]
  7.  
  8. ==== Log /tmp/omc-rtest-andreak/simulation/modelica/nonlinear_system/log-bug_2841.mos
  9. true
  10. ""
  11. record SimulationResult
  12. resultFile = "nonlinearSolverTests.bug_2841_res.mat",
  13. simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'nonlinearSolverTests.bug_2841', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv=LOG_INIT,LOG_NLS_V'",
  14. messages = "LOG_NLS | info | initialize mixed system solvers
  15. | | | | | 0 mixed systems
  16. LOG_NLS | info | initialize non-linear system solvers
  17. | | | | | 2 non-linear systems
  18. LOG_INIT | info | ### START INITIALIZATION ###
  19. LOG_INIT | info | updating min-values
  20. LOG_INIT | info | updating max-values
  21. LOG_INIT | info | updating nominal-values
  22. | | | | | y(nominal=1e-05)
  23. | | | | | x(nominal=100000)
  24. LOG_INIT | info | updating primary start-values
  25. | | | | | updated start value: y(start=5e-06)
  26. | | | | | updated start value: x(start=50000)
  27. LOG_NLS | info | update static data of non-linear system solvers
  28. LOG_INIT | info | initialization method: symbolic [solves the initialization problem symbolically - default]
  29. LOG_NLS | info | ############ Solve nonlinear system 7 at time 0 ############
  30. | | | | | initial variable values:
  31. | | | | | | [ 1] x = 50000 nom = 100000
  32. | | | | | | [ 2] y = 5e-06 nom = 1e-05
  33. LOG_NLS_V | info | ------------------------------------------------------
  34. LOG_NLS_V | info | SOLVING NON-LINEAR SYSTEM USING MIXED SOLVER (Newton/Homotopy solver)
  35. LOG_NLS_V | info | EQUATION NUMBER: 7
  36. LOG_NLS_V | info | TIME: 0.0000000000e+00
  37. LOG_NLS_V | info | number of function calls (so far!): 0
  38. LOG_NLS_V | info | System values [2-dim]
  39. | | | | | 5e-06
  40. LOG_NLS_V | info | Nominal values [2-dim]
  41. | | | | | 1e-05
  42. LOG_NLS_V | info | Scaling values [3-dim]
  43. | | | | | 1
  44. LOG_NLS_V | info | x0 [2-dim]
  45. | | | | | 5e-06
  46. LOG_NLS_V | info | indRow: [2-dim]
  47. | | | | | 1
  48. LOG_NLS_V | info | indCol: [3-dim]
  49. | | | | | 2
  50. LOG_NLS_V | info | vector x (solution): [3-dim]
  51. | | | | | 1
  52. LOG_NLS_V | info | regular initial point!!!
  53. LOG_NLS_V | info | ******************************************************
  54. LOG_NLS_V | info | NEWTON SOLVER STARTED! equation number: 7
  55. LOG_NLS_V | info | maximum number of function evaluation: 200
  56. LOG_NLS_V | info | nls status
  57. | | | | | variables
  58. | | | | | [ 1] x = 50000 nom = 100000 min = -1.7976931e+308 max = 1.7976931e+308
  59. | | | | | [ 2] y = 5e-06 nom = 1e-05 min = -1.7976931e+308 max = 1.7976931e+308
  60. LOG_NLS_V | info | Iteration: 1
  61. LOG_NLS_V | info | newton step
  62. | | | | | variables
  63. | | | | | [ 1] x = -205103.81 step = -255103.81 old = 50000
  64. | | | | | [ 2] y = -1.7012708e-07 step = -5.1701271e-06 old = 5e-06
  65. LOG_NLS_V | info | Need to damp, grad_f = -4.3608668960e+00
  66. LOG_NLS_V | info | Need to damp, error_f = 1.4766290827e+00
  67. LOG_NLS_V | info | Need to damp this!! lambda1 = 1.0000000000e+00
  68. LOG_NLS_V | info | Need to damp, error_f1 = 1.4962663898e+00
  69. LOG_NLS_V | info | Need to damp, forced error = 1.7443467584e+00
  70. LOG_NLS_V | info | function values: [2-dim]
  71. | | | | | 0.98070403
  72. LOG_NLS_V | info | scaled function values: [2-dim]
  73. | | | | | 1.2592489
  74. LOG_NLS_V | info | error measurements:
  75. LOG_NLS_V | info | delta_x = 2.5510381250e+05
  76. LOG_NLS_V | info | delta_x_scaled = 2.6029017761e+00
  77. LOG_NLS_V | info | newtonXTol = 1.0000000000e-12
  78. LOG_NLS_V | info | error_f = 1.4962663898e+00
  79. LOG_NLS_V | info | error_f_scaled = 1.3802050509e+00
  80. LOG_NLS_V | info | newtonFTol = 1.0000000000e-12
  81. LOG_NLS_V | info | Iteration: 2
  82. LOG_NLS_V | info | newton step
  83. | | | | | variables
  84. | | | | | [ 1] x = -46310.553 step = 158793.26 old = -205103.81
  85. | | | | | [ 2] y = 1.0588367e-06 step = 1.2289638e-06 old = -1.7012708e-07
  86. LOG_NLS_V | info | Need to damp, grad_f = -4.4776262184e+00
  87. LOG_NLS_V | info | Need to damp, error_f = 1.4962663898e+00
  88. LOG_NLS_V | info | Need to damp this!! lambda1 = 1.0000000000e+00
  89. LOG_NLS_V | info | Need to damp, error_f1 = 9.6161691115e-01
  90. LOG_NLS_V | info | Need to damp, forced error = 1.7910504874e+00
  91. LOG_NLS_V | info | function values: [2-dim]
  92. | | | | | -0.51361997
  93. LOG_NLS_V | info | scaled function values: [2-dim]
  94. | | | | | -0.1028369
  95. LOG_NLS_V | info | error measurements:
  96. LOG_NLS_V | info | delta_x = 1.5879325945e+05
  97. LOG_NLS_V | info | delta_x_scaled = 1.5926812124e+00
  98. LOG_NLS_V | info | newtonXTol = 1.0000000000e-12
  99. LOG_NLS_V | info | error_f = 9.6161691115e-01
  100. LOG_NLS_V | info | error_f_scaled = 1.4793215481e-01
  101. LOG_NLS_V | info | newtonFTol = 1.0000000000e-12
  102. LOG_NLS_V | info | Iteration: 3
  103. LOG_NLS_V | info | newton step
  104. | | | | | variables
  105. | | | | | [ 1] x = -85181.842 step = -38871.289 old = -46310.553
  106. | | | | | [ 2] y = 4.8481624e-06 step = 3.7893257e-06 old = 1.0588367e-06
  107. LOG_NLS_V | info | Need to damp, grad_f = -1.8494141676e+00
  108. LOG_NLS_V | info | Need to damp, error_f = 9.6161691115e-01
  109. LOG_NLS_V | info | Need to damp this!! lambda1 = 1.0000000000e+00
  110. LOG_NLS_V | info | Need to damp, error_f1 = 8.9282194723e-01
  111. LOG_NLS_V | info | Need to damp, forced error = 7.3976566705e-01
  112. LOG_NLS_V | info | Need to damp this!! lambda2 = 5.3704647184e-01
  113. LOG_NLS_V | info | Need to damp, error_f2 = 2.4573839117e-01
  114. LOG_NLS_V | info | function values: [2-dim]
  115. | | | | | -0.17290481
  116. LOG_NLS_V | info | scaled function values: [2-dim]
  117. | | | | | -0.13029728
  118. LOG_NLS_V | info | error measurements:
  119. LOG_NLS_V | info | delta_x = 3.8871288659e+04
  120. LOG_NLS_V | info | delta_x_scaled = 5.4285136346e-01
  121. LOG_NLS_V | info | newtonXTol = 1.0000000000e-12
  122. LOG_NLS_V | info | error_f = 2.4573839117e-01
  123. LOG_NLS_V | info | error_f_scaled = 1.5372684717e-01
  124. LOG_NLS_V | info | newtonFTol = 1.0000000000e-12
  125. LOG_NLS_V | info | Iteration: 4
  126. LOG_NLS_V | info | newton step
  127. | | | | | variables
  128. | | | | | [ 1] x = -77891.638 step = -10705.397 old = -67186.241
  129. | | | | | [ 2] y = 3.3408112e-06 step = 2.4693046e-07 old = 3.0938807e-06
  130. LOG_NLS_V | info | Need to damp, grad_f = -1.2077471379e-01
  131. LOG_NLS_V | info | Need to damp, error_f = 2.4573839117e-01
  132. LOG_NLS_V | info | Need to damp this!! lambda1 = 1.0000000000e+00
  133. LOG_NLS_V | info | Need to damp, error_f1 = 1.9741282299e-02
  134. LOG_NLS_V | info | Need to damp, forced error = 4.8309885515e-02
  135. LOG_NLS_V | info | function values: [2-dim]
  136. | | | | | 0.010423627
  137. LOG_NLS_V | info | scaled function values: [2-dim]
  138. | | | | | 0.0051030272
  139. LOG_NLS_V | info | error measurements:
  140. LOG_NLS_V | info | delta_x = 1.0705396718e+04
  141. LOG_NLS_V | info | delta_x_scaled = 1.0986490978e-01
  142. LOG_NLS_V | info | newtonXTol = 1.0000000000e-12
  143. LOG_NLS_V | info | error_f = 1.9741282299e-02
  144. LOG_NLS_V | info | error_f_scaled = 6.4118271551e-03
  145. LOG_NLS_V | info | newtonFTol = 1.0000000000e-12
  146. LOG_NLS_V | info | Iteration: 5
  147. LOG_NLS_V | info | newton step
  148. | | | | | variables
  149. | | | | | [ 1] x = -77392.651 step = 498.98725 old = -77891.638
  150. | | | | | [ 2] y = 3.312016e-06 step = -2.8795153e-08 old = 3.3408112e-06
  151. LOG_NLS_V | info | Need to damp, grad_f = -7.7943645363e-04
  152. LOG_NLS_V | info | Need to damp, error_f = 1.9741282299e-02
  153. LOG_NLS_V | info | Need to damp this!! lambda1 = 1.0000000000e+00
  154. LOG_NLS_V | info | Need to damp, error_f1 = 1.1072572859e-04
  155. LOG_NLS_V | info | Need to damp, forced error = 3.1177458145e-04
  156. LOG_NLS_V | info | function values: [2-dim]
  157. | | | | | 4.7341682e-05
  158. LOG_NLS_V | info | scaled function values: [2-dim]
  159. | | | | | 1.9548009e-05
  160. LOG_NLS_V | info | error measurements:
  161. LOG_NLS_V | info | delta_x = 4.9898724582e+02
  162. LOG_NLS_V | info | delta_x_scaled = 5.7611141106e-03
  163. LOG_NLS_V | info | newtonXTol = 1.0000000000e-12
  164. LOG_NLS_V | info | error_f = 1.1072572859e-04
  165. LOG_NLS_V | info | error_f_scaled = 2.7763630140e-05
  166. LOG_NLS_V | info | newtonFTol = 1.0000000000e-12
  167. LOG_NLS_V | info | Iteration: 6
  168. LOG_NLS_V | info | newton step
  169. | | | | | variables
  170. | | | | | [ 1] x = -77390.689 step = 1.9617465 old = -77392.651
  171. | | | | | [ 2] y = 3.3118158e-06 step = -2.0020165e-10 old = 3.312016e-06
  172. LOG_NLS_V | info | Need to damp, grad_f = -2.4520373942e-08
  173. LOG_NLS_V | info | Need to damp, error_f = 1.1072572859e-04
  174. LOG_NLS_V | info | Need to damp this!! lambda1 = 1.0000000000e+00
  175. LOG_NLS_V | info | Need to damp, error_f1 = 3.3977700044e-09
  176. LOG_NLS_V | info | Need to damp, forced error = 9.8081495766e-09
  177. LOG_NLS_V | info | function values: [2-dim]
  178. | | | | | 1.1920263e-09
  179. LOG_NLS_V | info | scaled function values: [2-dim]
  180. | | | | | 4.9722581e-10
  181. LOG_NLS_V | info | error measurements:
  182. LOG_NLS_V | info | delta_x = 1.9617464993e+00
  183. LOG_NLS_V | info | delta_x_scaled = 2.8029483704e-05
  184. LOG_NLS_V | info | newtonXTol = 1.0000000000e-12
  185. LOG_NLS_V | info | error_f = 3.3977700044e-09
  186. LOG_NLS_V | info | error_f_scaled = 8.0560532423e-10
  187. LOG_NLS_V | info | newtonFTol = 1.0000000000e-12
  188. LOG_NLS_V | info | Iteration: 7
  189. LOG_NLS_V | info | newton step
  190. | | | | | variables
  191. | | | | | [ 1] x = -77390.689 step = 4.0495536e-05 old = -77390.689
  192. | | | | | [ 2] y = 3.3118158e-06 step = -6.9084721e-15 old = 3.3118158e-06
  193. LOG_NLS_V | info | Need to damp, grad_f = -2.3089682006e-17
  194. LOG_NLS_V | info | Need to damp, error_f = 3.3977700044e-09
  195. LOG_NLS_V | info | Need to damp this!! lambda1 = 1.0000000000e+00
  196. LOG_NLS_V | info | Need to damp, error_f1 = 2.2204460493e-16
  197. LOG_NLS_V | info | Need to damp, forced error = 9.2358728024e-18
  198. LOG_NLS_V | info | function values: [2-dim]
  199. | | | | | 0
  200. LOG_NLS_V | info | scaled function values: [2-dim]
  201. | | | | | 0
  202. LOG_NLS_V | info | error measurements:
  203. LOG_NLS_V | info | delta_x = 4.0495535620e-05
  204. LOG_NLS_V | info | delta_x_scaled = 8.0078630793e-10
  205. LOG_NLS_V | info | newtonXTol = 1.0000000000e-12
  206. LOG_NLS_V | info | error_f = 2.2204460493e-16
  207. LOG_NLS_V | info | error_f_scaled = 4.4236472988e-17
  208. LOG_NLS_V | info | newtonFTol = 1.0000000000e-12
  209. LOG_NLS_V | info | Iteration: 8
  210. LOG_NLS_V | info | newton step
  211. | | | | | variables
  212. | | | | | [ 1] x = -77390.689 step = 2.9880129e-12 old = -77390.689
  213. | | | | | [ 2] y = 3.3118158e-06 step = 6.2675771e-22 old = 3.3118158e-06
  214. LOG_NLS_V | info | Need to damp, grad_f = -9.8607613153e-32
  215. LOG_NLS_V | info | Need to damp, error_f = 2.2204460493e-16
  216. LOG_NLS_V | info | Need to damp this!! lambda1 = 1.0000000000e+00
  217. LOG_NLS_V | info | Need to damp, error_f1 = 2.2204460493e-16
  218. LOG_NLS_V | info | Need to damp, forced error = 3.9443045261e-32
  219. LOG_NLS_V | info | function values: [2-dim]
  220. | | | | | 0
  221. LOG_NLS_V | info | scaled function values: [2-dim]
  222. | | | | | 0
  223. LOG_NLS_V | info | error measurements:
  224. LOG_NLS_V | info | delta_x = 2.9880129153e-12
  225. LOG_NLS_V | info | delta_x_scaled = 6.9433956834e-17
  226. LOG_NLS_V | info | newtonXTol = 1.0000000000e-12
  227. LOG_NLS_V | info | error_f = 2.2204460493e-16
  228. LOG_NLS_V | info | error_f_scaled = 4.4236473073e-17
  229. LOG_NLS_V | info | newtonFTol = 1.0000000000e-12
  230. LOG_NLS_V | info | NEWTON SOLVER DID CONVERGE TO A SOLUTION!!!
  231. LOG_NLS_V | info | nls status
  232. | | | | | variables
  233. | | | | | [ 1] x = -77390.689 nom = 100000 min = -1.7976931e+308 max = 1.7976931e+308
  234. | | | | | [ 2] y = 3.3118158e-06 nom = 1e-05 min = -1.7976931e+308 max = 1.7976931e+308
  235. LOG_NLS_V | info | ******************************************************
  236. LOG_NLS_V | info | SYSTEM SOLVED
  237. LOG_NLS_V | info | homotopy method: 0
  238. LOG_NLS_V | info | number of function calls: 10
  239. LOG_NLS_V | info | nls status
  240. | | | | | variables
  241. | | | | | [ 1] x = -77390.689 nom = 100000 min = -1.7976931e+308 max = 1.7976931e+308
  242. | | | | | [ 2] y = 3.3118158e-06 nom = 1e-05 min = -1.7976931e+308 max = 1.7976931e+308
  243. LOG_NLS_V | info | ------------------------------------------------------
  244. LOG_NLS_V | info | Solution [2-dim]
  245. | | | | | 3.3118158e-06
  246. LOG_NLS | info | | Solution status: SOLVED
  247. | | | | | | number of iterations : 8
  248. | | | | | | number of function evaluations : 10
  249. | | | | | | number of jacobian evaluations : 8
  250. | | | | | | solution values:
  251. | | | | | | [ 1] x = -77390.689
  252. | | | | | | [ 2] y = 3.3118158e-06
  253. LOG_INIT | info | parameter values
  254. | | | | | real parameters
  255. | | | | | | [1] parameter Real xn(start=100000, fixed=true) = 100000
  256. | | | | | | [2] parameter Real yn(start=1e-05, fixed=true) = 1e-05
  257. LOG_SOTI | info | ### SOLUTION OF THE INITIALIZATION ###
  258. | | | | | other real variables
  259. | | | | | | [1] Real $cse3(start=0, nominal=1) = 0 (pre: 0)
  260. | | | | | | [2] Real $cse4(start=0, nominal=1) = 0 (pre: 0)
  261. | | | | | | [3] Real x(start=50000, nominal=100000) = -77390.7 (pre: 50000)
  262. | | | | | | [4] Real y(start=5e-06, nominal=1e-05) = 3.31182e-06 (pre: 5e-06)
  263. LOG_INIT | info | ### END INITIALIZATION ###
  264. LOG_NLS | info | ############ Solve nonlinear system 18 at time 0 ############
  265. | | | | | initial variable values:
  266. | | | | | | [ 1] x = -77390.689 nom = 100000
  267. | | | | | | [ 2] y = 3.3118158e-06 nom = 1e-05
  268. LOG_NLS_V | info | ------------------------------------------------------
  269. LOG_NLS_V | info | SOLVING NON-LINEAR SYSTEM USING MIXED SOLVER (Newton/Homotopy solver)
  270. LOG_NLS_V | info | EQUATION NUMBER: 18
  271. LOG_NLS_V | info | TIME: 0.0000000000e+00
  272. LOG_NLS_V | info | number of function calls (so far!): 0
  273. LOG_NLS_V | info | System values [2-dim]
  274. | | | | | 3.3118158e-06
  275. LOG_NLS_V | info | Nominal values [2-dim]
  276. | | | | | 1e-05
  277. LOG_NLS_V | info | Scaling values [3-dim]
  278. | | | | | 1
  279. LOG_NLS_V | info | x0 [2-dim]
  280. | | | | | 3.3118158e-06
  281. LOG_NLS_V | info | indRow: [2-dim]
  282. | | | | | 1
  283. LOG_NLS_V | info | indCol: [3-dim]
  284. | | | | | 2
  285. LOG_NLS_V | info | vector x (solution): [3-dim]
  286. | | | | | 1
  287. LOG_NLS_V | info | regular initial point!!!
  288. LOG_NLS_V | info | ******************************************************
  289. LOG_NLS_V | info | NEWTON SOLVER STARTED! equation number: 18
  290. LOG_NLS_V | info | maximum number of function evaluation: 200
  291. LOG_NLS_V | info | nls status
  292. | | | | | variables
  293. | | | | | [ 1] x = -77390.689 nom = 100000 min = -1.7976931e+308 max = 1.7976931e+308
  294. | | | | | [ 2] y = 3.3118158e-06 nom = 1e-05 min = -1.7976931e+308 max = 1.7976931e+308
  295. LOG_NLS_V | info | Iteration: 1
  296. LOG_NLS_V | info | newton step
  297. | | | | | variables
  298. | | | | | [ 1] x = -77390.689 step = -2.9880129e-12 old = -77390.689
  299. | | | | | [ 2] y = 3.3118158e-06 step = -6.2675771e-22 old = 3.3118158e-06
  300. LOG_NLS_V | info | Need to damp, grad_f = -9.8607613153e-32
  301. LOG_NLS_V | info | Need to damp, error_f = 2.2204460493e-16
  302. LOG_NLS_V | info | Need to damp this!! lambda1 = 1.0000000000e+00
  303. LOG_NLS_V | info | Need to damp, error_f1 = 2.2204460493e-16
  304. LOG_NLS_V | info | Need to damp, forced error = 3.9443045261e-32
  305. LOG_NLS_V | info | function values: [2-dim]
  306. | | | | | 0
  307. LOG_NLS_V | info | scaled function values: [2-dim]
  308. | | | | | 0
  309. LOG_NLS_V | info | error measurements:
  310. LOG_NLS_V | info | delta_x = 2.9880129153e-12
  311. LOG_NLS_V | info | delta_x_scaled = 6.9433956834e-17
  312. LOG_NLS_V | info | newtonXTol = 1.0000000000e-12
  313. LOG_NLS_V | info | error_f = 2.2204460493e-16
  314. LOG_NLS_V | info | error_f_scaled = 4.4236473073e-17
  315. LOG_NLS_V | info | newtonFTol = 1.0000000000e-12
  316. LOG_NLS_V | info | NEWTON SOLVER DID CONVERGE TO A SOLUTION!!!
  317. LOG_NLS_V | info | nls status
  318. | | | | | variables
  319. | | | | | [ 1] x = -77390.689 nom = 100000 min = -1.7976931e+308 max = 1.7976931e+308
  320. | | | | | [ 2] y = 3.3118158e-06 nom = 1e-05 min = -1.7976931e+308 max = 1.7976931e+308
  321. LOG_NLS_V | info | ******************************************************
  322. LOG_NLS_V | info | SYSTEM SOLVED
  323. LOG_NLS_V | info | homotopy method: 0
  324. LOG_NLS_V | info | number of function calls: 2
  325. LOG_NLS_V | info | nls status
  326. | | | | | variables
  327. | | | | | [ 1] x = -77390.689 nom = 100000 min = -1.7976931e+308 max = 1.7976931e+308
  328. | | | | | [ 2] y = 3.3118158e-06 nom = 1e-05 min = -1.7976931e+308 max = 1.7976931e+308
  329. LOG_NLS_V | info | ------------------------------------------------------
  330. LOG_NLS_V | info | Solution [2-dim]
  331. | | | | | 3.3118158e-06
  332. LOG_NLS | info | | Solution status: SOLVED
  333. | | | | | | number of iterations : 1
  334. | | | | | | number of function evaluations : 2
  335. | | | | | | number of jacobian evaluations : 1
  336. | | | | | | solution values:
  337. | | | | | | [ 1] x = -77390.689
  338. | | | | | | [ 2] y = 3.3118158e-06
  339. LOG_SUCCESS | info | The initialization finished successfully without homotopy method.
  340. LOG_NLS | info | ############ Solve nonlinear system 18 at time 0 ############
  341. | | | | | initial variable values:
  342. | | | | | | [ 1] x = -77390.689 nom = 100000
  343. | | | | | | [ 2] y = 3.3118158e-06 nom = 1e-05
  344. LOG_NLS_V | info | ------------------------------------------------------
  345. LOG_NLS_V | info | SOLVING NON-LINEAR SYSTEM USING MIXED SOLVER (Newton/Homotopy solver)
  346. LOG_NLS_V | info | EQUATION NUMBER: 18
  347. LOG_NLS_V | info | TIME: 0.0000000000e+00
  348. LOG_NLS_V | info | number of function calls (so far!): 2
  349. LOG_NLS_V | info | System values [2-dim]
  350. | | | | | 3.3118158e-06
  351. LOG_NLS_V | info | Nominal values [2-dim]
  352. | | | | | 1e-05
  353. LOG_NLS_V | info | Scaling values [3-dim]
  354. | | | | | 1
  355. LOG_NLS_V | info | x0 [2-dim]
  356. | | | | | 3.3118158e-06
  357. LOG_NLS_V | info | NO ITERATION NECESSARY!!!
  358. LOG_NLS_V | info | ******************************************************
  359. LOG_NLS_V | info | SYSTEM SOLVED
  360. LOG_NLS_V | info | number of function calls: 1
  361. LOG_NLS_V | info | ------------------------------------------------------
  362. LOG_NLS_V | info | Solution [2-dim]
  363. | | | | | 3.3118158e-06
  364. LOG_NLS | info | | Solution status: SOLVED
  365. | | | | | | number of iterations : 1
  366. | | | | | | number of function evaluations : 3
  367. | | | | | | number of jacobian evaluations : 1
  368. | | | | | | solution values:
  369. | | | | | | [ 1] x = -77390.689
  370. | | | | | | [ 2] y = 3.3118158e-06
  371. LOG_SUCCESS | info | The simulation finished successfully.
  372. LOG_NLS | info | free mixed system solvers
  373. LOG_NLS | info | free non-linear system solvers
  374. "
  375. end SimulationResult;
  376. ""
  377.  
  378. Equation mismatch: diff says:
  379. --- /tmp/omc-rtest-andreak/simulation/modelica/nonlinear_system/equations-expected 2019-11-28 13:21:52.308769221 +0100
  380. +++ /tmp/omc-rtest-andreak/simulation/modelica/nonlinear_system/equations-got 2019-11-28 13:21:55.462067904 +0100
  381. @@ -26,23 +26,23 @@
  382. LOG_NLS_V | info | SOLVING NON-LINEAR SYSTEM USING MIXED SOLVER (Newton/Homotopy solver)
  383. LOG_NLS_V | info | EQUATION NUMBER: 7
  384. LOG_NLS_V | info | TIME: 0.0000000000e+00
  385. LOG_NLS_V | info | number of function calls (so far!): 0
  386. LOG_NLS_V | info | System values [2-dim]
  387. -| | | | | 50000 5e-06
  388. +| | | | | 5e-06
  389. LOG_NLS_V | info | Nominal values [2-dim]
  390. -| | | | | 100000 1e-05
  391. +| | | | | 1e-05
  392. LOG_NLS_V | info | Scaling values [3-dim]
  393. -| | | | | 100000 1e-05 1
  394. +| | | | | 1
  395. LOG_NLS_V | info | x0 [2-dim]
  396. -| | | | | 50000 5e-06
  397. +| | | | | 5e-06
  398. LOG_NLS_V | info | indRow: [2-dim]
  399. -| | | | | 0 1
  400. +| | | | | 1
  401. LOG_NLS_V | info | indCol: [3-dim]
  402. -| | | | | 1 0 2
  403. +| | | | | 2
  404. LOG_NLS_V | info | vector x (solution): [3-dim]
  405. -| | | | | -2.5510381 -0.51701271 1
  406. +| | | | | 1
  407. LOG_NLS_V | info | regular initial point!!!
  408. LOG_NLS_V | info | ******************************************************
  409. LOG_NLS_V | info | NEWTON SOLVER STARTED! equation number: 7
  410. LOG_NLS_V | info | maximum number of function evaluation: 200
  411. LOG_NLS_V | info | nls status
  412. @@ -58,13 +58,13 @@
  413. LOG_NLS_V | info | Need to damp, error_f = 1.4766290827e+00
  414. LOG_NLS_V | info | Need to damp this!! lambda1 = 1.0000000000e+00
  415. LOG_NLS_V | info | Need to damp, error_f1 = 1.4962663898e+00
  416. LOG_NLS_V | info | Need to damp, forced error = 1.7443467584e+00
  417. LOG_NLS_V | info | function values: [2-dim]
  418. -| | | | | -1.1300587 0.98070403
  419. +| | | | | 0.98070403
  420. LOG_NLS_V | info | scaled function values: [2-dim]
  421. -| | | | | -0.56502936 1.2592489
  422. +| | | | | 1.2592489
  423. LOG_NLS_V | info | error measurements:
  424. LOG_NLS_V | info | delta_x = 2.5510381250e+05
  425. LOG_NLS_V | info | delta_x_scaled = 2.6029017761e+00
  426. LOG_NLS_V | info | newtonXTol = 1.0000000000e-12
  427. LOG_NLS_V | info | error_f = 1.4962663898e+00
  428. @@ -79,13 +79,13 @@
  429. LOG_NLS_V | info | Need to damp, error_f = 1.4962663898e+00
  430. LOG_NLS_V | info | Need to damp this!! lambda1 = 1.0000000000e+00
  431. LOG_NLS_V | info | Need to damp, error_f1 = 9.6161691115e-01
  432. LOG_NLS_V | info | Need to damp, forced error = 1.7910504874e+00
  433. LOG_NLS_V | info | function values: [2-dim]
  434. -| | | | | -0.81295855 -0.51361997
  435. +| | | | | -0.51361997
  436. LOG_NLS_V | info | scaled function values: [2-dim]
  437. -| | | | | -0.1063414 -0.1028369
  438. +| | | | | -0.1028369
  439. LOG_NLS_V | info | error measurements:
  440. LOG_NLS_V | info | delta_x = 1.5879325945e+05
  441. LOG_NLS_V | info | delta_x_scaled = 1.5926812124e+00
  442. LOG_NLS_V | info | newtonXTol = 1.0000000000e-12
  443. LOG_NLS_V | info | error_f = 9.6161691115e-01
  444. @@ -102,13 +102,13 @@
  445. LOG_NLS_V | info | Need to damp, error_f1 = 8.9282194723e-01
  446. LOG_NLS_V | info | Need to damp, forced error = 7.3976566705e-01
  447. LOG_NLS_V | info | Need to damp this!! lambda2 = 5.3704647184e-01
  448. LOG_NLS_V | info | Need to damp, error_f2 = 2.4573839117e-01
  449. LOG_NLS_V | info | function values: [2-dim]
  450. -| | | | | -0.17461754 -0.17290481
  451. +| | | | | -0.17290481
  452. LOG_NLS_V | info | scaled function values: [2-dim]
  453. -| | | | | -0.081575501 -0.13029728
  454. +| | | | | -0.13029728
  455. LOG_NLS_V | info | error measurements:
  456. LOG_NLS_V | info | delta_x = 3.8871288659e+04
  457. LOG_NLS_V | info | delta_x_scaled = 5.4285136346e-01
  458. LOG_NLS_V | info | newtonXTol = 1.0000000000e-12
  459. LOG_NLS_V | info | error_f = 2.4573839117e-01
  460. @@ -123,13 +123,13 @@
  461. LOG_NLS_V | info | Need to damp, error_f = 2.4573839117e-01
  462. LOG_NLS_V | info | Need to damp this!! lambda1 = 1.0000000000e+00
  463. LOG_NLS_V | info | Need to damp, error_f1 = 1.9741282299e-02
  464. LOG_NLS_V | info | Need to damp, forced error = 4.8309885515e-02
  465. LOG_NLS_V | info | function values: [2-dim]
  466. -| | | | | 0.01676503 0.010423627
  467. +| | | | | 0.010423627
  468. LOG_NLS_V | info | scaled function values: [2-dim]
  469. -| | | | | 0.0038820924 0.0051030272
  470. +| | | | | 0.0051030272
  471. LOG_NLS_V | info | error measurements:
  472. LOG_NLS_V | info | delta_x = 1.0705396718e+04
  473. LOG_NLS_V | info | delta_x_scaled = 1.0986490978e-01
  474. LOG_NLS_V | info | newtonXTol = 1.0000000000e-12
  475. LOG_NLS_V | info | error_f = 1.9741282299e-02
  476. @@ -144,13 +144,13 @@
  477. LOG_NLS_V | info | Need to damp, error_f = 1.9741282299e-02
  478. LOG_NLS_V | info | Need to damp this!! lambda1 = 1.0000000000e+00
  479. LOG_NLS_V | info | Need to damp, error_f1 = 1.1072572859e-04
  480. LOG_NLS_V | info | Need to damp, forced error = 3.1177458145e-04
  481. LOG_NLS_V | info | function values: [2-dim]
  482. -| | | | | 0.00010009472 4.7341682e-05
  483. +| | | | | 4.7341682e-05
  484. LOG_NLS_V | info | scaled function values: [2-dim]
  485. -| | | | | 1.9715336e-05 1.9548009e-05
  486. +| | | | | 1.9548009e-05
  487. LOG_NLS_V | info | error measurements:
  488. LOG_NLS_V | info | delta_x = 4.9898724582e+02
  489. LOG_NLS_V | info | delta_x_scaled = 5.7611141106e-03
  490. LOG_NLS_V | info | newtonXTol = 1.0000000000e-12
  491. LOG_NLS_V | info | error_f = 1.1072572859e-04
  492. @@ -162,58 +162,58 @@
  493. | | | | | [ 1] x = -77390.689 step = 1.9617465 old = -77392.651
  494. | | | | | [ 2] y = 3.3118158e-06 step = -2.0020165e-10 old = 3.312016e-06
  495. LOG_NLS_V | info | Need to damp, grad_f = -2.4520373942e-08
  496. LOG_NLS_V | info | Need to damp, error_f = 1.1072572859e-04
  497. LOG_NLS_V | info | Need to damp this!! lambda1 = 1.0000000000e+00
  498. -LOG_NLS_V | info | Need to damp, error_f1 = 3.3977697965e-09
  499. +LOG_NLS_V | info | Need to damp, error_f1 = 3.3977700044e-09
  500. LOG_NLS_V | info | Need to damp, forced error = 9.8081495766e-09
  501. LOG_NLS_V | info | function values: [2-dim]
  502. -| | | | | 3.1818097e-09 1.1920263e-09
  503. +| | | | | 1.1920263e-09
  504. LOG_NLS_V | info | scaled function values: [2-dim]
  505. -| | | | | 6.3385044e-10 4.9722581e-10
  506. +| | | | | 4.9722581e-10
  507. LOG_NLS_V | info | error measurements:
  508. LOG_NLS_V | info | delta_x = 1.9617464993e+00
  509. LOG_NLS_V | info | delta_x_scaled = 2.8029483704e-05
  510. LOG_NLS_V | info | newtonXTol = 1.0000000000e-12
  511. -LOG_NLS_V | info | error_f = 3.3977697965e-09
  512. -LOG_NLS_V | info | error_f_scaled = 8.0560528943e-10
  513. +LOG_NLS_V | info | error_f = 3.3977700044e-09
  514. +LOG_NLS_V | info | error_f_scaled = 8.0560532423e-10
  515. LOG_NLS_V | info | newtonFTol = 1.0000000000e-12
  516. LOG_NLS_V | info | Iteration: 7
  517. LOG_NLS_V | info | newton step
  518. | | | | | variables
  519. -| | | | | [ 1] x = -77390.689 step = 4.0495539e-05 old = -77390.689
  520. -| | | | | [ 2] y = 3.3118158e-06 step = -6.9084715e-15 old = 3.3118158e-06
  521. -LOG_NLS_V | info | Need to damp, grad_f = -2.3089679180e-17
  522. -LOG_NLS_V | info | Need to damp, error_f = 3.3977697965e-09
  523. +| | | | | [ 1] x = -77390.689 step = 4.0495536e-05 old = -77390.689
  524. +| | | | | [ 2] y = 3.3118158e-06 step = -6.9084721e-15 old = 3.3118158e-06
  525. +LOG_NLS_V | info | Need to damp, grad_f = -2.3089682006e-17
  526. +LOG_NLS_V | info | Need to damp, error_f = 3.3977700044e-09
  527. LOG_NLS_V | info | Need to damp this!! lambda1 = 1.0000000000e+00
  528. LOG_NLS_V | info | Need to damp, error_f1 = 2.2204460493e-16
  529. -LOG_NLS_V | info | Need to damp, forced error = 9.2358716720e-18
  530. +LOG_NLS_V | info | Need to damp, forced error = 9.2358728024e-18
  531. LOG_NLS_V | info | function values: [2-dim]
  532. -| | | | | 2.220446e-16 0
  533. +| | | | | 0
  534. LOG_NLS_V | info | scaled function values: [2-dim]
  535. -| | | | | 4.4236473e-17 0
  536. +| | | | | 0
  537. LOG_NLS_V | info | error measurements:
  538. -LOG_NLS_V | info | delta_x = 4.0495538608e-05
  539. -LOG_NLS_V | info | delta_x_scaled = 8.0078626897e-10
  540. +LOG_NLS_V | info | delta_x = 4.0495535620e-05
  541. +LOG_NLS_V | info | delta_x_scaled = 8.0078630793e-10
  542. LOG_NLS_V | info | newtonXTol = 1.0000000000e-12
  543. LOG_NLS_V | info | error_f = 2.2204460493e-16
  544. LOG_NLS_V | info | error_f_scaled = 4.4236472988e-17
  545. LOG_NLS_V | info | newtonFTol = 1.0000000000e-12
  546. LOG_NLS_V | info | Iteration: 8
  547. LOG_NLS_V | info | newton step
  548. | | | | | variables
  549. -| | | | | [ 1] x = -77390.689 step = -2.9880129e-12 old = -77390.689
  550. -| | | | | [ 2] y = 3.3118158e-06 step = -6.2675771e-22 old = 3.3118158e-06
  551. +| | | | | [ 1] x = -77390.689 step = 2.9880129e-12 old = -77390.689
  552. +| | | | | [ 2] y = 3.3118158e-06 step = 6.2675771e-22 old = 3.3118158e-06
  553. LOG_NLS_V | info | Need to damp, grad_f = -9.8607613153e-32
  554. LOG_NLS_V | info | Need to damp, error_f = 2.2204460493e-16
  555. LOG_NLS_V | info | Need to damp this!! lambda1 = 1.0000000000e+00
  556. LOG_NLS_V | info | Need to damp, error_f1 = 2.2204460493e-16
  557. LOG_NLS_V | info | Need to damp, forced error = 3.9443045261e-32
  558. LOG_NLS_V | info | function values: [2-dim]
  559. -| | | | | -2.220446e-16 0
  560. +| | | | | 0
  561. LOG_NLS_V | info | scaled function values: [2-dim]
  562. -| | | | | -4.4236473e-17 0
  563. +| | | | | 0
  564. LOG_NLS_V | info | error measurements:
  565. LOG_NLS_V | info | delta_x = 2.9880129153e-12
  566. LOG_NLS_V | info | delta_x_scaled = 6.9433956834e-17
  567. LOG_NLS_V | info | newtonXTol = 1.0000000000e-12
  568. LOG_NLS_V | info | error_f = 2.2204460493e-16
  569. @@ -232,11 +232,11 @@
  570. | | | | | variables
  571. | | | | | [ 1] x = -77390.689 nom = 100000 min = -1.7976931e+308 max = 1.7976931e+308
  572. | | | | | [ 2] y = 3.3118158e-06 nom = 1e-05 min = -1.7976931e+308 max = 1.7976931e+308
  573. LOG_NLS_V | info | ------------------------------------------------------
  574. LOG_NLS_V | info | Solution [2-dim]
  575. -| | | | | -77390.689 3.3118158e-06
  576. +| | | | | 3.3118158e-06
  577. LOG_NLS | info | | Solution status: SOLVED
  578. | | | | | | number of iterations : 8
  579. | | | | | | number of function evaluations : 10
  580. | | | | | | number of jacobian evaluations : 8
  581. | | | | | | solution values:
  582. @@ -261,23 +261,23 @@
  583. LOG_NLS_V | info | SOLVING NON-LINEAR SYSTEM USING MIXED SOLVER (Newton/Homotopy solver)
  584. LOG_NLS_V | info | EQUATION NUMBER: 18
  585. LOG_NLS_V | info | TIME: 0.0000000000e+00
  586. LOG_NLS_V | info | number of function calls (so far!): 0
  587. LOG_NLS_V | info | System values [2-dim]
  588. -| | | | | -77390.689 3.3118158e-06
  589. +| | | | | 3.3118158e-06
  590. LOG_NLS_V | info | Nominal values [2-dim]
  591. -| | | | | 100000 1e-05
  592. +| | | | | 1e-05
  593. LOG_NLS_V | info | Scaling values [3-dim]
  594. -| | | | | 100000 1e-05 1
  595. +| | | | | 1
  596. LOG_NLS_V | info | x0 [2-dim]
  597. -| | | | | -77390.689 3.3118158e-06
  598. +| | | | | 3.3118158e-06
  599. LOG_NLS_V | info | indRow: [2-dim]
  600. -| | | | | 0 1
  601. +| | | | | 1
  602. LOG_NLS_V | info | indCol: [3-dim]
  603. -| | | | | 1 0 2
  604. +| | | | | 2
  605. LOG_NLS_V | info | vector x (solution): [3-dim]
  606. -| | | | | 2.9880129e-17 6.2675771e-17 1
  607. +| | | | | 1
  608. LOG_NLS_V | info | regular initial point!!!
  609. LOG_NLS_V | info | ******************************************************
  610. LOG_NLS_V | info | NEWTON SOLVER STARTED! equation number: 18
  611. LOG_NLS_V | info | maximum number of function evaluation: 200
  612. LOG_NLS_V | info | nls status
  613. @@ -285,21 +285,21 @@
  614. | | | | | [ 1] x = -77390.689 nom = 100000 min = -1.7976931e+308 max = 1.7976931e+308
  615. | | | | | [ 2] y = 3.3118158e-06 nom = 1e-05 min = -1.7976931e+308 max = 1.7976931e+308
  616. LOG_NLS_V | info | Iteration: 1
  617. LOG_NLS_V | info | newton step
  618. | | | | | variables
  619. -| | | | | [ 1] x = -77390.689 step = 2.9880129e-12 old = -77390.689
  620. -| | | | | [ 2] y = 3.3118158e-06 step = 6.2675771e-22 old = 3.3118158e-06
  621. +| | | | | [ 1] x = -77390.689 step = -2.9880129e-12 old = -77390.689
  622. +| | | | | [ 2] y = 3.3118158e-06 step = -6.2675771e-22 old = 3.3118158e-06
  623. LOG_NLS_V | info | Need to damp, grad_f = -9.8607613153e-32
  624. LOG_NLS_V | info | Need to damp, error_f = 2.2204460493e-16
  625. LOG_NLS_V | info | Need to damp this!! lambda1 = 1.0000000000e+00
  626. LOG_NLS_V | info | Need to damp, error_f1 = 2.2204460493e-16
  627. LOG_NLS_V | info | Need to damp, forced error = 3.9443045261e-32
  628. LOG_NLS_V | info | function values: [2-dim]
  629. -| | | | | 2.220446e-16 0
  630. +| | | | | 0
  631. LOG_NLS_V | info | scaled function values: [2-dim]
  632. -| | | | | 4.4236473e-17 0
  633. +| | | | | 0
  634. LOG_NLS_V | info | error measurements:
  635. LOG_NLS_V | info | delta_x = 2.9880129153e-12
  636. LOG_NLS_V | info | delta_x_scaled = 6.9433956834e-17
  637. LOG_NLS_V | info | newtonXTol = 1.0000000000e-12
  638. LOG_NLS_V | info | error_f = 2.2204460493e-16
  639. @@ -318,11 +318,11 @@
  640. | | | | | variables
  641. | | | | | [ 1] x = -77390.689 nom = 100000 min = -1.7976931e+308 max = 1.7976931e+308
  642. | | | | | [ 2] y = 3.3118158e-06 nom = 1e-05 min = -1.7976931e+308 max = 1.7976931e+308
  643. LOG_NLS_V | info | ------------------------------------------------------
  644. LOG_NLS_V | info | Solution [2-dim]
  645. -| | | | | -77390.689 3.3118158e-06
  646. +| | | | | 3.3118158e-06
  647. LOG_NLS | info | | Solution status: SOLVED
  648. | | | | | | number of iterations : 1
  649. | | | | | | number of function evaluations : 2
  650. | | | | | | number of jacobian evaluations : 1
  651. | | | | | | solution values:
  652. @@ -337,24 +337,24 @@
  653. LOG_NLS_V | info | SOLVING NON-LINEAR SYSTEM USING MIXED SOLVER (Newton/Homotopy solver)
  654. LOG_NLS_V | info | EQUATION NUMBER: 18
  655. LOG_NLS_V | info | TIME: 0.0000000000e+00
  656. LOG_NLS_V | info | number of function calls (so far!): 2
  657. LOG_NLS_V | info | System values [2-dim]
  658. -| | | | | -77390.689 3.3118158e-06
  659. +| | | | | 3.3118158e-06
  660. LOG_NLS_V | info | Nominal values [2-dim]
  661. -| | | | | 100000 1e-05
  662. +| | | | | 1e-05
  663. LOG_NLS_V | info | Scaling values [3-dim]
  664. -| | | | | 100000 1e-05 1
  665. +| | | | | 1
  666. LOG_NLS_V | info | x0 [2-dim]
  667. -| | | | | -77390.689 3.3118158e-06
  668. +| | | | | 3.3118158e-06
  669. LOG_NLS_V | info | NO ITERATION NECESSARY!!!
  670. LOG_NLS_V | info | ******************************************************
  671. LOG_NLS_V | info | SYSTEM SOLVED
  672. LOG_NLS_V | info | number of function calls: 1
  673. LOG_NLS_V | info | ------------------------------------------------------
  674. LOG_NLS_V | info | Solution [2-dim]
  675. -| | | | | -77390.689 3.3118158e-06
  676. +| | | | | 3.3118158e-06
  677. LOG_NLS | info | | Solution status: SOLVED
  678. | | | | | | number of iterations : 1
  679. | | | | | | number of function evaluations : 3
  680. | | | | | | number of jacobian evaluations : 1
  681. | | | | | | solution values:
  682.  
  683. Equation mismatch: omc-diff says:
  684. ------------------------------------------------------------------------------------------------------------Line 31: Real 50000 != 5e-06
  685. eps: 0.005000, actual diff: 49999.999995
  686. + bug_3527 ... ok [time: 3]
  687. + nanTest ... ok [time: 3]
  688. + nonlinear ... ok [time: 4]
  689. + nonlinear [kinsol] ... ok [time: 3]
  690. + nonlinearDelayTest ... ok [time: 3]
  691. + nonlinearFailed ... ok [time: 3]
  692. + nonlinearFailed [kinsol] ... ok [time: 3]
  693. + nonlinearMixed ... ok [time: 3]
  694. + nonlinearMixed [kinsol] ... ok [time: 4]
  695. + problem1 ... ok [time: 3]
  696. + problem1 [kinsol] ... ok [time: 3]
  697. + problem1 [newton] ... ok [time: 3]
  698. + problem1 [symjac] ... ok [time: 3]
  699. + problem1 [symjac,tearing] ... ok [time: 4]
  700. + problem2 ... ok [time: 3]
  701. + problem2 [newton] ... ok [time: 3]
  702. + problem2 [symjac] ... ok [time: 3]
  703. + problem2 [symjac,tearing] ... ok [time: 4]
  704. + problem3 ... ok [time: 3]
  705. + problem3 [kinsol] ... ok [time: 3]
  706. + problem3 [newton] ... ok [time: 3]
  707. + problem3 [symjac] ... ok [time: 3]
  708. + problem3 [symjac,tearing] ... ok [time: 3]
  709. + problem4 ... ok [time: 4]
  710. + problem4 [symjac] ... ok [time: 3]
  711. + problem4 [symjac,tearing] ... ok [time: 3]
  712. + problem5 ... ok [time: 3]
  713. + problem5 [newton] ... ok [time: 3]
  714. + problem6 ... ok [time: 4]
  715. + problem6 [kinsol] ... ok [time: 4]
  716. + problem6 [newton] ... ok [time: 4]
  717. + problem6 [symjac] ... ok [time: 3]
  718. + problem6 [symjac,tearing] ... ok [time: 4]
  719. + problem7 ... ok [time: 3]
  720. + problem7 [kinsol] ... ok [time: 4]
  721. + problem7 [newton] ... ok [time: 3]
  722. + problem7 [symjac] ... ok [time: 3]
  723. + problem7 [symjac,tearing] ... ok [time: 3]
  724. + problem8 [newton] ... ok [time: 4]
  725. + problem9 ... ok [time: 3]
  726. + problem10 ... ok [time: 3]
  727. + problem11 ... ok [time: 10]
  728. + problem12 ... ok [time: 6]
  729. + TestInputIteration ... ok [time: 3]
  730. + TestFalseIterationNLS ... ok [time: 6]
  731. + ScalingTest1 ... ok [time: 9]
  732. + inverseTest ... ok [time: 3]
  733.  
  734. == 1 out of 48 tests failed [simulation/modelica/nonlinear_system, time: 174]
  735. make[1]: uscita dalla directory "/home/andreak/tmp/AUR/openmodelica-nocoin-git/src/openmodelica-nocoin-git/testsuite/simulation/modelica/nonlinear_system"
Add Comment
Please, Sign In to add comment