Skip to content

Regression

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

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + problem1 [newton]                                                                 ... equation mismatch [time: 1]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/modelica/nonlinear_system/problem1_newton.mos_temp8509/log-problem1_newton.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=newton'",
    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/PR8E74~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
make: *** [<builtin>: nonlinear_system.problem1.o] Error 127
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/NONLIN~1/PR8E74~1.MOS'
RESULT: 2
"












'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/nonlinear_system/problem1_newton.mos_temp8509/equations-expected"2024-06-13 15:29:29.162381800 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/nonlinear_system/problem1_newton.mos_temp8509/equations-got"2024-06-13 15:29:30.237380500 +0200
@@ -1,23 +1,26 @@
 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=newton'",
-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=newton'",
+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/PR8E74~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
+make: *** [<builtin>: nonlinear_system.problem1.o] Error 127
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/NONLIN~1/PR8E74~1.MOS'
+RESULT: 2
 "
-{0.4044646785224312,0.2484861112604449,0.1512091618206921}
-{0.1635916761722536,0.06174534748933821,0.02286421061851626}
-{0.02676223651284748,0.003812487936579125,0.0005227721272078716}
-{0.0007162173031695871,1.453506426656135e-05,2.732906969854431e-07}
-{5.129672253595163e-07,2.112680932330687e-10,7.468780505878929e-14}
-{2.631353742930408e-13,4.463420721833661e-20,5.578268224499711e-27}
-{6.924022520433866e-26,1.992212454009412e-39,3.111707638446316e-53}
-{4.794208786347535e-51,3.968910461910202e-78,9.682724427165148e-106}
-{2.29844378870919e-101,1.575225025466025e-155,9.375515233242064e-211}
-{5.282843849855856e-202,2.481333880854428e-310,0.0}
-{0.5955353214781903,0.314058481961897,0.1745964178571879}
-{0.0,0.4374554067788693,0.6741944203239696}
+
+
+
+
+
+
+
+
+
+
+
+
'' 
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_newton.mos_temp8509, time: 20]