Skip to content

Regression

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

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + problem1 [kinsol]                                                                 ... equation mismatch [time: 2]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/modelica/nonlinear_system/problem1_kinsol.mos_temp6110/log-problem1_kinsol.mos
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 2.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'nonlinear_system.problem1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-nls=kinsol'",
    messages = "Failed to build model: nonlinear_system.problem1"
end SimulationResult;
"Warning: There are nonlinear iteration variables with default zero start attribute found in NLSJac0. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions(\"-d=initialization\").
Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/NONLIN~1/PRBB9E~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=nonlinear_system_problem1 -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 nonlinear_system.problem1.o nonlinear_system.problem1.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=nonlinear_system_problem1 -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 nonlinear_system.problem1_functions.o nonlinear_system.problem1_functions.c
      0 [main] sh (5129896) child_copy: cygheap read copy failed, 0x0..0x80000CFC8, done 0, windows pid 5129896, Win32 error 299
make: *** [<builtin>: nonlinear_system.problem1_functions.o] Error 127
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/NONLIN~1/PRBB9E~1.MOS'
RESULT: 2
"












'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/nonlinear_system/problem1_kinsol.mos_temp6110/equations-expected"2024-06-13 15:23:20.339996300 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/nonlinear_system/problem1_kinsol.mos_temp6110/equations-got"2024-06-13 15:23:22.458150200 +0200
@@ -1,23 +1,28 @@
 true
 ""
 record SimulationResult
-resultFile = "nonlinear_system.problem1_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 2.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'nonlinear_system.problem1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-nls=kinsol'",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 2.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'nonlinear_system.problem1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-nls=kinsol'",
+messages = "Failed to build model: nonlinear_system.problem1"
 end SimulationResult;
 "Warning: There are nonlinear iteration variables with default zero start attribute found in NLSJac0. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions(\"-d=initialization\").
+Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/NONLIN~1/PRBB9E~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=nonlinear_system_problem1 -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 nonlinear_system.problem1.o nonlinear_system.problem1.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=nonlinear_system_problem1 -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 nonlinear_system.problem1_functions.o nonlinear_system.problem1_functions.c
+0 [main] sh (5129896) child_copy: cygheap read copy failed, 0x0..0x80000CFC8, done 0, windows pid 5129896, Win32 error 299
+make: *** [<builtin>: nonlinear_system.problem1_functions.o] Error 127
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/NONLIN~1/PRBB9E~1.MOS'
+RESULT: 2
 "
-{0.4044646785222299,0.2484857135629654,0.1512091359384059}
-{0.1635916761720908,0.06174514984489611,0.02286420279123931}
-{0.02676223651279422,0.003812463529368674,0.0005227717692789153}
-{0.0007162173031667359,1.453487816276625e-05,2.732903227550075e-07}
-{5.12967225355432e-07,2.112626832064591e-10,7.468760051153615e-14}
-{2.631353742888505e-13,4.463192131559271e-20,5.578237670170814e-27}
-{6.924022520213346e-26,1.992008400321259e-39,3.111673550491271e-53}
-{4.794208786042158e-51,3.968097466950462e-78,9.682512284826955e-106}
-{2.298443788416382e-101,1.574579750721867e-155,9.375104414582491e-211}
-{5.282843848509851e-202,2.479301391383348e-310,0.0}
-{0.5955353214777701,0.3140578620266556,0.1745963837893215}
-{0.0,0.4374564244103836,0.6741944802722726}
+
+
+
+
+
+
+
+
+
+
+
+
'' 
Equation mismatch: omc-diff says: 
Failed 'n' '"'
Line 4: Text differs:
expected: resultFile = "nonlinear_system.problem
got:      resultFile = "",

== 1 out of 1 tests failed [simulation/modelica/nonlinear_system/problem1_kinsol.mos_temp6110, time: 14]