Skip to content

Regression

simulation_modelica_nonlinear_system.bug_2841.mos (from (result.xml))

Failing for the past 1 build (Since #3812 )
Took 19 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + bug_2841                                                                          ... equation mismatch [time: 4]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/modelica/nonlinear_system/bug_2841.mos_temp8813/log-bug_2841.mos
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'nonlinearSolverTests.bug_2841', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv=LOG_INIT_V,LOG_NLS_V'",
    messages = "Failed to build model: nonlinearSolverTests.bug_2841"
end SimulationResult;
"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/NONLIN~1/BUG_28~1.MOS'
clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=nonlinearSolverTests_bug_2841 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o nonlinearSolverTests.bug_2841.o nonlinearSolverTests.bug_2841.c
clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=nonlinearSolverTests_bug_2841 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o nonlinearSolverTests.bug_2841_functions.o nonlinearSolverTests.bug_2841_functions.c
clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=nonlinearSolverTests_bug_2841 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o nonlinearSolverTests.bug_2841_records.o nonlinearSolverTests.bug_2841_records.c
clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=nonlinearSolverTests_bug_2841 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o nonlinearSolverTests.bug_2841_01exo.o nonlinearSolverTests.bug_2841_01exo.c
clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=nonlinearSolverTests_bug_2841 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o nonlinearSolverTests.bug_2841_02nls.o nonlinearSolverTests.bug_2841_02nls.c
Mingw-w64 runtime failure:
  VirtualProtect failed with code 0x5afmake: *** [<builtin>: nonlinearSolverTests.bug_2841_02nls.o] Error 127
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/NONLIN~1/BUG_28~1.MOS'
RESULT: 2
"
'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/nonlinear_system/bug_2841.mos_temp8813/equations-expected"2024-06-13 15:25:47.871632300 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/nonlinear_system/bug_2841.mos_temp8813/equations-got"2024-06-13 15:25:51.611633900 +0200
@@ -1,353 +1,18 @@
 true
 ""
 record SimulationResult
-resultFile = "nonlinearSolverTests.bug_2841_res.mat",
+resultFile = "",
 simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'nonlinearSolverTests.bug_2841', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv=LOG_INIT_V,LOG_NLS_V'",
-messages = "LOG_NLS           | info    | initialize non-linear system solvers
-|                 | |       | | 2 non-linear systems
-LOG_INIT          | info    | ### START INITIALIZATION ###
-LOG_INIT          | info    | updating min-values
-LOG_INIT          | info    | updating max-values
-LOG_INIT          | info    | updating nominal-values
-LOG_INIT_V        | info    | y(nominal=1e-05)
-LOG_INIT_V        | info    | x(nominal=100000)
-LOG_INIT          | info    | updating primary start-values
-LOG_INIT_V        | info    | updated start value: y(start=5e-06)
-LOG_INIT_V        | info    | updated start value: x(start=50000)
-LOG_NLS           | info    | update static data of non-linear system solvers
-LOG_INIT          | info    | initialization method: symbolic        [solves the initialization problem symbolically - default]
-LOG_INIT_HOMOTOPY | info    | Model contains homotopy operator: Use adaptive homotopy method to solve initialization problem. To disable initialization with homotopy operator use \"-noHomotopyOnFirstTry\".
-LOG_NLS           | info    | ############ Solve nonlinear system 7 at time 0 ############
-|                 | |       | | initial variable values:
-|                 | |       | | | [ 1]                              y  =            5e-06 nom =            1e-05
-|                 | |       | | | [ 2]                              x  =            50000 nom =           100000
-LOG_NLS_V         | info    | Start solving Non-Linear System 7 (size 2) at time 0 with Mixed (Newton/Homotopy) Solver
-|                 | |       | | System values [2-dim]
-|                 | |       | | |            5e-06            50000
-|                 | |       | | Nominal values [2-dim]
-|                 | |       | | |            1e-05           100000
-|                 | |       | | Scaling values [3-dim]
-|                 | |       | | |            1e-05           100000                1
-|                 | |       | | x0 [2-dim]
-|                 | |       | | |            5e-06            50000
-|                 | |       | | indRow: [2-dim]
-|                 | |       | | | 0 1
-|                 | |       | | indCol: [3-dim]
-|                 | |       | | | 0 1 2
-|                 | |       | | vector x (solution): [3-dim]
-|                 | |       | | |      -0.51701271       -2.5510381                1
-|                 | |       | | regular initial point!!!
-|                 | |       | | ******************************************************
-|                 | |       | | NEWTON SOLVER STARTED! equation number:  7
-|                 | |       | | maximum number of function evaluation:  200
-|                 | |       | | nls status
-|                 | |       | | | variables
-|                 | |       | | | [ 1]                              y  =            5e-06 nom =            1e-05 min =  -1.7976931e+308 max =   1.7976931e+308
-|                 | |       | | | [ 2]                              x  =            50000 nom =           100000 min =  -1.7976931e+308 max =   1.7976931e+308
-|                 | |       | | Iteration: 1
-|                 | |       | | newton step
-|                 | |       | | | variables
-|                 | |       | | | [ 1]                              y  =   -1.7012708e-07 step =   -5.1701271e-06 old =            5e-06
-|                 | |       | | | [ 2]                              x  =       -205103.81 step =       -255103.81 old =            50000
-|                 | |       | | Need to damp, grad_f =   -4.3608668960e+00
-|                 | |       | | Need to damp, error_f =    1.4766290827e+00
-|                 | |       | | Need to damp this!! lambda1 =    1.0000000000e+00
-|                 | |       | | Need to damp, error_f1 =    1.4962663898e+00
-|                 | |       | | Need to damp, forced error =    1.7443467584e+00
-|                 | |       | | function values: [2-dim]
-|                 | |       | | |       -1.1300587       0.98070403
-|                 | |       | | scaled function values: [2-dim]
-|                 | |       | | |      -0.56502936        1.2592489
-|                 | |       | | error measurements:
-|                 | |       | | delta_x        =   2.5510381250e+05
-|                 | |       | | delta_x_scaled =   2.6029017761e+00
-|                 | |       | | newtonXTol          =   1.0000000000e-12
-|                 | |       | | error_f        =   1.4962663898e+00
-|                 | |       | | error_f_scaled =   1.3802050509e+00
-|                 | |       | | newtonFTol          =   1.0000000000e-12
-|                 | |       | | Iteration: 2
-|                 | |       | | newton step
-|                 | |       | | | variables
-|                 | |       | | | [ 1]                              y  =    1.0588367e-06 step =    1.2289638e-06 old =   -1.7012708e-07
-|                 | |       | | | [ 2]                              x  =       -46310.553 step =        158793.26 old =       -205103.81
-|                 | |       | | Need to damp, grad_f =   -4.4776262184e+00
-|                 | |       | | Need to damp, error_f =    1.4962663898e+00
-|                 | |       | | Need to damp this!! lambda1 =    1.0000000000e+00
-|                 | |       | | Need to damp, error_f1 =    9.6161691115e-01
-|                 | |       | | Need to damp, forced error =    1.7910504874e+00
-|                 | |       | | function values: [2-dim]
-|                 | |       | | |      -0.81295855      -0.51361997
-|                 | |       | | scaled function values: [2-dim]
-|                 | |       | | |       -0.1063414       -0.1028369
-|                 | |       | | error measurements:
-|                 | |       | | delta_x        =   1.5879325945e+05
-|                 | |       | | delta_x_scaled =   1.5926812124e+00
-|                 | |       | | newtonXTol          =   1.0000000000e-12
-|                 | |       | | error_f        =   9.6161691115e-01
-|                 | |       | | error_f_scaled =   1.4793215481e-01
-|                 | |       | | newtonFTol          =   1.0000000000e-12
-|                 | |       | | Iteration: 3
-|                 | |       | | newton step
-|                 | |       | | | variables
-|                 | |       | | | [ 1]                              y  =    4.8481624e-06 step =    3.7893257e-06 old =    1.0588367e-06
-|                 | |       | | | [ 2]                              x  =       -85181.842 step =       -38871.289 old =       -46310.553
-|                 | |       | | Need to damp, grad_f =   -1.8494141676e+00
-|                 | |       | | Need to damp, error_f =    9.6161691115e-01
-|                 | |       | | Need to damp this!! lambda1 =    1.0000000000e+00
-|                 | |       | | Need to damp, error_f1 =    8.9282194723e-01
-|                 | |       | | Need to damp, forced error =    7.3976566705e-01
-|                 | |       | | Need to damp this!! lambda2 =    5.3704647184e-01
-|                 | |       | | Need to damp, error_f2 =    2.4573839117e-01
-|                 | |       | | function values: [2-dim]
-|                 | |       | | |      -0.17461754      -0.17290481
-|                 | |       | | scaled function values: [2-dim]
-|                 | |       | | |     -0.081575501      -0.13029728
-|                 | |       | | error measurements:
-|                 | |       | | delta_x        =   3.8871288659e+04
-|                 | |       | | delta_x_scaled =   5.4285136346e-01
-|                 | |       | | newtonXTol          =   1.0000000000e-12
-|                 | |       | | error_f        =   2.4573839117e-01
-|                 | |       | | error_f_scaled =   1.5372684717e-01
-|                 | |       | | newtonFTol          =   1.0000000000e-12
-|                 | |       | | Iteration: 4
-|                 | |       | | newton step
-|                 | |       | | | variables
-|                 | |       | | | [ 1]                              y  =    3.3408112e-06 step =    2.4693046e-07 old =    3.0938807e-06
-|                 | |       | | | [ 2]                              x  =       -77891.638 step =       -10705.397 old =       -67186.241
-|                 | |       | | Need to damp, grad_f =   -1.2077471379e-01
-|                 | |       | | Need to damp, error_f =    2.4573839117e-01
-|                 | |       | | Need to damp this!! lambda1 =    1.0000000000e+00
-|                 | |       | | Need to damp, error_f1 =    1.9741282299e-02
-|                 | |       | | Need to damp, forced error =    4.8309885515e-02
-|                 | |       | | function values: [2-dim]
-|                 | |       | | |       0.01676503      0.010423627
-|                 | |       | | scaled function values: [2-dim]
-|                 | |       | | |     0.0038820924     0.0051030272
-|                 | |       | | error measurements:
-|                 | |       | | delta_x        =   1.0705396718e+04
-|                 | |       | | delta_x_scaled =   1.0986490978e-01
-|                 | |       | | newtonXTol          =   1.0000000000e-12
-|                 | |       | | error_f        =   1.9741282299e-02
-|                 | |       | | error_f_scaled =   6.4118271551e-03
-|                 | |       | | newtonFTol          =   1.0000000000e-12
-|                 | |       | | Iteration: 5
-|                 | |       | | newton step
-|                 | |       | | | variables
-|                 | |       | | | [ 1]                              y  =     3.312016e-06 step =   -2.8795153e-08 old =    3.3408112e-06
-|                 | |       | | | [ 2]                              x  =       -77392.651 step =        498.98725 old =       -77891.638
-|                 | |       | | Need to damp, grad_f =   -7.7943645363e-04
-|                 | |       | | Need to damp, error_f =    1.9741282299e-02
-|                 | |       | | Need to damp this!! lambda1 =    1.0000000000e+00
-|                 | |       | | Need to damp, error_f1 =    1.1072572859e-04
-|                 | |       | | Need to damp, forced error =    3.1177458145e-04
-|                 | |       | | function values: [2-dim]
-|                 | |       | | |    0.00010009472    4.7341682e-05
-|                 | |       | | scaled function values: [2-dim]
-|                 | |       | | |    1.9715336e-05    1.9548009e-05
-|                 | |       | | error measurements:
-|                 | |       | | delta_x        =   4.9898724582e+02
-|                 | |       | | delta_x_scaled =   5.7611141106e-03
-|                 | |       | | newtonXTol          =   1.0000000000e-12
-|                 | |       | | error_f        =   1.1072572859e-04
-|                 | |       | | error_f_scaled =   2.7763630140e-05
-|                 | |       | | newtonFTol          =   1.0000000000e-12
-|                 | |       | | Iteration: 6
-|                 | |       | | newton step
-|                 | |       | | | variables
-|                 | |       | | | [ 1]                              y  =    3.3118158e-06 step =   -2.0020165e-10 old =     3.312016e-06
-|                 | |       | | | [ 2]                              x  =       -77390.689 step =        1.9617465 old =       -77392.651
-|                 | |       | | Need to damp, grad_f =   -2.4520373942e-08
-|                 | |       | | Need to damp, error_f =    1.1072572859e-04
-|                 | |       | | Need to damp this!! lambda1 =    1.0000000000e+00
-|                 | |       | | Need to damp, error_f1 =    3.3977700044e-09
-|                 | |       | | Need to damp, forced error =    9.8081495766e-09
-|                 | |       | | function values: [2-dim]
-|                 | |       | | |    3.1818099e-09    1.1920263e-09
-|                 | |       | | scaled function values: [2-dim]
-|                 | |       | | |    6.3385048e-10    4.9722581e-10
-|                 | |       | | error measurements:
-|                 | |       | | delta_x        =   1.9617464993e+00
-|                 | |       | | delta_x_scaled =   2.8029483704e-05
-|                 | |       | | newtonXTol          =   1.0000000000e-12
-|                 | |       | | error_f        =   3.3977700044e-09
-|                 | |       | | error_f_scaled =   8.0560532423e-10
-|                 | |       | | newtonFTol          =   1.0000000000e-12
-|                 | |       | | Iteration: 7
-|                 | |       | | newton step
-|                 | |       | | | variables
-|                 | |       | | | [ 1]                              y  =    3.3118158e-06 step =   -6.9084721e-15 old =    3.3118158e-06
-|                 | |       | | | [ 2]                              x  =       -77390.689 step =    4.0495536e-05 old =       -77390.689
-|                 | |       | | Need to damp, grad_f =   -2.3089682006e-17
-|                 | |       | | Need to damp, error_f =    3.3977700044e-09
-|                 | |       | | Need to damp this!! lambda1 =    1.0000000000e+00
-|                 | |       | | Need to damp, error_f1 =    2.2204460493e-16
-|                 | |       | | Need to damp, forced error =    9.2358728024e-18
-|                 | |       | | function values: [2-dim]
-|                 | |       | | |    -2.220446e-16                0
-|                 | |       | | scaled function values: [2-dim]
-|                 | |       | | |   -4.4236473e-17                0
-|                 | |       | | error measurements:
-|                 | |       | | delta_x        =   4.0495535620e-05
-|                 | |       | | delta_x_scaled =   8.0078630793e-10
-|                 | |       | | newtonXTol          =   1.0000000000e-12
-|                 | |       | | error_f        =   2.2204460493e-16
-|                 | |       | | error_f_scaled =   4.4236472988e-17
-|                 | |       | | newtonFTol          =   1.0000000000e-12
-|                 | |       | | Iteration: 8
-|                 | |       | | newton step
-|                 | |       | | | variables
-|                 | |       | | | [ 1]                              y  =    3.3118158e-06 step =    6.2675771e-22 old =    3.3118158e-06
-|                 | |       | | | [ 2]                              x  =       -77390.689 step =    2.9880129e-12 old =       -77390.689
-|                 | |       | | Need to damp, grad_f =   -9.8607613153e-32
-|                 | |       | | Need to damp, error_f =    2.2204460493e-16
-|                 | |       | | Need to damp this!! lambda1 =    1.0000000000e+00
-|                 | |       | | Need to damp, error_f1 =    2.2204460493e-16
-|                 | |       | | Need to damp, forced error =    3.9443045261e-32
-|                 | |       | | function values: [2-dim]
-|                 | |       | | |     2.220446e-16                0
-|                 | |       | | scaled function values: [2-dim]
-|                 | |       | | |    4.4236473e-17                0
-|                 | |       | | error measurements:
-|                 | |       | | delta_x        =   2.9880129153e-12
-|                 | |       | | delta_x_scaled =   6.9433956834e-17
-|                 | |       | | newtonXTol          =   1.0000000000e-12
-|                 | |       | | error_f        =   2.2204460493e-16
-|                 | |       | | error_f_scaled =   4.4236473073e-17
-|                 | |       | | newtonFTol          =   1.0000000000e-12
-|                 | |       | | Note: newton solver rejected last x because previous was as good
-LOG_NLS           | info    | | Solution status: SOLVED
-|                 | |       | | |  number of iterations           : 8
-|                 | |       | | |  number of function evaluations : 10
-|                 | |       | | |  number of jacobian evaluations : 8
-|                 | |       | | | solution values:
-|                 | |       | | | [ 1]                              y  =    3.3118158e-06
-|                 | |       | | | [ 2]                              x  =       -77390.689
-LOG_INIT_V        | info    | parameter values
-|                 | |       | | real parameters
-|                 | |       | | | [1] parameter Real xn(start=100000, fixed=true) = 100000
-|                 | |       | | | [2] parameter Real yn(start=1e-05, fixed=true) = 1e-05
-LOG_SOTI          | info    | ### SOLUTION OF THE INITIALIZATION ###
-|                 | |       | | other real variables
-|                 | |       | | | [1] Real $cse3(start=0, nominal=1) = 0 (pre: 0)
-|                 | |       | | | [2] Real $cse4(start=0, nominal=1) = 0 (pre: 0)
-|                 | |       | | | [3] Real x(start=50000, nominal=100000) = -77390.7 (pre: 50000)
-|                 | |       | | | [4] Real y(start=5e-06, nominal=1e-05) = 3.31182e-06 (pre: 5e-06)
-LOG_INIT          | info    | ### END INITIALIZATION ###
-LOG_NLS           | info    | ############ Solve nonlinear system 18 at time 0 ############
-|                 | |       | | initial variable values:
-|                 | |       | | | [ 1]                              x  =       -77390.689 nom =           100000
-|                 | |       | | | [ 2]                              y  =    3.3118158e-06 nom =            1e-05
-LOG_NLS_V         | info    | Start solving Non-Linear System 18 (size 2) at time 0 with Mixed (Newton/Homotopy) Solver
-|                 | |       | | System values [2-dim]
-|                 | |       | | |       -77390.689    3.3118158e-06
-|                 | |       | | Nominal values [2-dim]
-|                 | |       | | |           100000            1e-05
-|                 | |       | | Scaling values [3-dim]
-|                 | |       | | |           100000            1e-05                1
-|                 | |       | | x0 [2-dim]
-|                 | |       | | |       -77390.689    3.3118158e-06
-|                 | |       | | indRow: [2-dim]
-|                 | |       | | | 0 1
-|                 | |       | | indCol: [3-dim]
-|                 | |       | | | 1 0 2
-|                 | |       | | vector x (solution): [3-dim]
-|                 | |       | | |   -2.9880129e-17   -6.2675771e-17                1
-|                 | |       | | regular initial point!!!
-|                 | |       | | ******************************************************
-|                 | |       | | NEWTON SOLVER STARTED! equation number:  18
-|                 | |       | | maximum number of function evaluation:  200
-|                 | |       | | nls status
-|                 | |       | | | variables
-|                 | |       | | | [ 1]                              x  =       -77390.689 nom =           100000 min =  -1.7976931e+308 max =   1.7976931e+308
-|                 | |       | | | [ 2]                              y  =    3.3118158e-06 nom =            1e-05 min =  -1.7976931e+308 max =   1.7976931e+308
-|                 | |       | | Iteration: 1
-|                 | |       | | newton step
-|                 | |       | | | variables
-|                 | |       | | | [ 1]                              x  =       -77390.689 step =   -2.9880129e-12 old =       -77390.689
-|                 | |       | | | [ 2]                              y  =    3.3118158e-06 step =   -6.2675771e-22 old =    3.3118158e-06
-|                 | |       | | Need to damp, grad_f =   -9.8607613153e-32
-|                 | |       | | Need to damp, error_f =    2.2204460493e-16
-|                 | |       | | Need to damp this!! lambda1 =    1.0000000000e+00
-|                 | |       | | Need to damp, error_f1 =    2.2204460493e-16
-|                 | |       | | Need to damp, forced error =    3.9443045261e-32
-|                 | |       | | function values: [2-dim]
-|                 | |       | | |    -2.220446e-16                0
-|                 | |       | | scaled function values: [2-dim]
-|                 | |       | | |   -4.4236473e-17                0
-|                 | |       | | error measurements:
-|                 | |       | | delta_x        =   2.9880129153e-12
-|                 | |       | | delta_x_scaled =   6.9433956834e-17
-|                 | |       | | newtonXTol          =   1.0000000000e-12
-|                 | |       | | error_f        =   2.2204460493e-16
-|                 | |       | | error_f_scaled =   4.4236473073e-17
-|                 | |       | | newtonFTol          =   1.0000000000e-12
-|                 | |       | | Note: newton solver rejected last x because previous was as good
-LOG_NLS           | info    | | Solution status: SOLVED
-|                 | |       | | |  number of iterations           : 1
-|                 | |       | | |  number of function evaluations : 2
-|                 | |       | | |  number of jacobian evaluations : 1
-|                 | |       | | | solution values:
-|                 | |       | | | [ 1]                              x  =       -77390.689
-|                 | |       | | | [ 2]                              y  =    3.3118158e-06
-LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_NLS           | info    | ############ Solve nonlinear system 18 at time 0 ############
-|                 | |       | | initial variable values:
-|                 | |       | | | [ 1]                              x  =       -77390.689 nom =           100000
-|                 | |       | | | [ 2]                              y  =    3.3118158e-06 nom =            1e-05
-LOG_NLS_V         | info    | Start solving Non-Linear System 18 (size 2) at time 0 with Mixed (Newton/Homotopy) Solver
-|                 | |       | | System values [2-dim]
-|                 | |       | | |       -77390.689    3.3118158e-06
-|                 | |       | | Nominal values [2-dim]
-|                 | |       | | |           100000            1e-05
-|                 | |       | | Scaling values [3-dim]
-|                 | |       | | |           100000            1e-05                1
-|                 | |       | | x0 [2-dim]
-|                 | |       | | |       -77390.689    3.3118158e-06
-|                 | |       | | indRow: [2-dim]
-|                 | |       | | | 0 1
-|                 | |       | | indCol: [3-dim]
-|                 | |       | | | 1 0 2
-|                 | |       | | vector x (solution): [3-dim]
-|                 | |       | | |    2.9880129e-17    6.2675771e-17                1
-|                 | |       | | regular initial point!!!
-|                 | |       | | ******************************************************
-|                 | |       | | NEWTON SOLVER STARTED! equation number:  18
-|                 | |       | | maximum number of function evaluation:  200
-|                 | |       | | nls status
-|                 | |       | | | variables
-|                 | |       | | | [ 1]                              x  =       -77390.689 nom =           100000 min =  -1.7976931e+308 max =   1.7976931e+308
-|                 | |       | | | [ 2]                              y  =    3.3118158e-06 nom =            1e-05 min =  -1.7976931e+308 max =   1.7976931e+308
-|                 | |       | | Iteration: 1
-|                 | |       | | newton step
-|                 | |       | | | variables
-|                 | |       | | | [ 1]                              x  =       -77390.689 step =    2.9880129e-12 old =       -77390.689
-|                 | |       | | | [ 2]                              y  =    3.3118158e-06 step =    6.2675771e-22 old =    3.3118158e-06
-|                 | |       | | Need to damp, grad_f =   -9.8607613153e-32
-|                 | |       | | Need to damp, error_f =    2.2204460493e-16
-|                 | |       | | Need to damp this!! lambda1 =    1.0000000000e+00
-|                 | |       | | Need to damp, error_f1 =    2.2204460493e-16
-|                 | |       | | Need to damp, forced error =    3.9443045261e-32
-|                 | |       | | function values: [2-dim]
-|                 | |       | | |     2.220446e-16                0
-|                 | |       | | scaled function values: [2-dim]
-|                 | |       | | |    4.4236473e-17                0
-|                 | |       | | error measurements:
-|                 | |       | | delta_x        =   2.9880129153e-12
-|                 | |       | | delta_x_scaled =   6.9433956834e-17
-|                 | |       | | newtonXTol          =   1.0000000000e-12
-|                 | |       | | error_f        =   2.2204460493e-16
-|                 | |       | | error_f_scaled =   4.4236473073e-17
-|                 | |       | | newtonFTol          =   1.0000000000e-12
-|                 | |       | | Note: newton solver rejected last x because previous was as good
-LOG_NLS           | info    | | Solution status: SOLVED
-|                 | |       | | |  number of iterations           : 2
-|                 | |       | | |  number of function evaluations : 4
-|                 | |       | | |  number of jacobian evaluations : 2
-|                 | |       | | | solution values:
-|                 | |       | | | [ 1]                              x  =       -77390.689
-|                 | |       | | | [ 2]                              y  =    3.3118158e-06
-LOG_SUCCESS       | info    | The simulation finished successfully.
-LOG_NLS           | info    | free non-linear system solvers
-"
+messages = "Failed to build model: nonlinearSolverTests.bug_2841"
 end SimulationResult;
-""
+"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/NONLIN~1/BUG_28~1.MOS'
+clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=nonlinearSolverTests_bug_2841 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o nonlinearSolverTests.bug_2841.o nonlinearSolverTests.bug_2841.c
+clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=nonlinearSolverTests_bug_2841 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o nonlinearSolverTests.bug_2841_functions.o nonlinearSolverTests.bug_2841_functions.c
+clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=nonlinearSolverTests_bug_2841 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o nonlinearSolverTests.bug_2841_records.o nonlinearSolverTests.bug_2841_records.c
+clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=nonlinearSolverTests_bug_2841 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o nonlinearSolverTests.bug_2841_01exo.o nonlinearSolverTests.bug_2841_01exo.c
+clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=nonlinearSolverTests_bug_2841 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o nonlinearSolverTests.bug_2841_02nls.o nonlinearSolverTests.bug_2841_02nls.c
+Mingw-w64 runtime failure:
+VirtualProtect failed with code 0x5afmake: *** [<builtin>: nonlinearSolverTests.bug_2841_02nls.o] Error 127
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/NONLIN~1/BUG_28~1.MOS'
+RESULT: 2
+"
'' 
Equation mismatch: omc-diff says: 
Failed 'n' '"'
Line 4: Text differs:
expected: resultFile = "nonlinearSolverTests.bug_
got:      resultFile = "",

== 1 out of 1 tests failed [simulation/modelica/nonlinear_system/bug_2841.mos_temp8813, time: 19]