Skip to content

Regression

simulation_libraries_3rdParty_PlanarMechanics.PlanarMechanicsForTesting.Examples.DoublePendulum.mos (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + PlanarMechanicsForTesting.Examples.DoublePendulum.mos [simulation checking]       ... equation mismatch [time: 5]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/libraries/3rdParty/PlanarMechanics/PlanarMechanicsForTesting.Examples.DoublePendulum.mos_temp5488/log-PlanarMechanicsForTesting.Examples.DoublePendulum.mos
true
""
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 9.5, numberOfIntervals = 500, tolerance = 1e-4, method = 'dassl', fileNamePrefix = 'PlanarMechanicsForTesting.Examples.DoublePendulum', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: PlanarMechanicsForTesting.Examples.DoublePendulum"
end SimulationResult;
"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/LIBRAR~1/3rdParty/PLANAR~1/PLC86B~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=PlanarMechanicsForTesting_Examples_DoublePendulum -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o PlanarMechanicsForTesting.Examples.DoublePendulum.o PlanarMechanicsForTesting.Examples.DoublePendulum.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=PlanarMechanicsForTesting_Examples_DoublePendulum -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o PlanarMechanicsForTesting.Examples.DoublePendulum_functions.o PlanarMechanicsForTesting.Examples.DoublePendulum_functions.c
make: *** [<builtin>: PlanarMechanicsForTesting.Examples.DoublePendulum_functions.o] Error 127
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/LIBRAR~1/3rdParty/PLANAR~1/PLC86B~1.MOS'
RESULT: 2
"
"Error in compareSimulationResults"
"Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
Error: Failed to open simulation result PlanarMechanicsForTesting.Examples.DoublePendulum_res.mat: No such file or directory
Error: Error opening file: PlanarMechanicsForTesting.Examples.DoublePendulum_res.mat
"
'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/libraries/3rdParty/PlanarMechanics/PlanarMechanicsForTesting.Examples.DoublePendulum.mos_temp5488/equations-expected"2024-06-13 15:24:52.116020500 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/libraries/3rdParty/PlanarMechanics/PlanarMechanicsForTesting.Examples.DoublePendulum.mos_temp5488/equations-got"2024-06-13 15:24:57.480604200 +0200
@@ -1,18 +1,21 @@
 true
 ""
 true
 ""
 record SimulationResult
-resultFile = "PlanarMechanicsForTesting.Examples.DoublePendulum_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 9.5, numberOfIntervals = 500, tolerance = 0.0001, method = 'dassl', fileNamePrefix = 'PlanarMechanicsForTesting.Examples.DoublePendulum', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 9.5, numberOfIntervals = 500, tolerance = 1e-4, method = 'dassl', fileNamePrefix = 'PlanarMechanicsForTesting.Examples.DoublePendulum', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: PlanarMechanicsForTesting.Examples.DoublePendulum"
 end SimulationResult;
-""
-{"Files Equal!"}
+"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/LIBRAR~1/3rdParty/PLANAR~1/PLC86B~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=PlanarMechanicsForTesting_Examples_DoublePendulum -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o PlanarMechanicsForTesting.Examples.DoublePendulum.o PlanarMechanicsForTesting.Examples.DoublePendulum.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=PlanarMechanicsForTesting_Examples_DoublePendulum -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o PlanarMechanicsForTesting.Examples.DoublePendulum_functions.o PlanarMechanicsForTesting.Examples.DoublePendulum_functions.c
+make: *** [<builtin>: PlanarMechanicsForTesting.Examples.DoublePendulum_functions.o] Error 127
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/LIBRAR~1/3rdParty/PLANAR~1/PLC86B~1.MOS'
+RESULT: 2
+"
+"Error in compareSimulationResults"
 "Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
-Warning: Resultfile and Reference have different end time points!
-Reffile[502]=10.000000
-File[502]=9.500000
+Error: Failed to open simulation result PlanarMechanicsForTesting.Examples.DoublePendulum_res.mat: No such file or directory
+Error: Error opening file: PlanarMechanicsForTesting.Examples.DoublePendulum_res.mat
 "
'' 
Equation mismatch: omc-diff says: 
Failed 'P' '"'
Line 6: Text differs:
expected: resultFile = "PlanarMechanicsForTesting.Examples.DoublePendulum_res.mat",
got:      resultFile = "",

== 1 out of 1 tests failed [simulation/libraries/3rdParty/PlanarMechanics/PlanarMechanicsForTesting.Examples.DoublePendulum.mos_temp5488, time: 22]