Skip to content

Regression

simulation_libraries_3rdParty_PNlib.Test3.mos (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + PNlib.Test3                                                                       ... equation mismatch [time: 1]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/libraries/3rdParty/PNlib/Test3.mos_temp4823/log-Test3.mos
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 2.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'PNlib.Examples.Test3', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: PNlib.Examples.Test3"
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/PNlib/TEST3~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=PNlib_Examples_Test3 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o PNlib.Examples.Test3.o PNlib.Examples.Test3.c
Mingw-w64 runtime failure:
  VirtualProtect failed with code 0x5afmake: *** [<builtin>: PNlib.Examples.Test3.o] Error 127
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/LIBRAR~1/3rdParty/PNlib/TEST3~1.MOS'
RESULT: 2
"
"Error in compareSimulationResults"
"Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
Error: Failed to open simulation result PNlib.Examples.Test3_res.mat: No such file or directory
Error: Error opening file: PNlib.Examples.Test3_res.mat
"
'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/libraries/3rdParty/PNlib/Test3.mos_temp4823/equations-expected"2024-06-13 15:30:54.309170100 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/libraries/3rdParty/PNlib/Test3.mos_temp4823/equations-got"2024-06-13 15:30:55.545169900 +0200
@@ -1,13 +1,19 @@
 true
 ""
 record SimulationResult
-resultFile = "PNlib.Examples.Test3_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 2.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'PNlib.Examples.Test3', 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 = 2.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'PNlib.Examples.Test3', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: PNlib.Examples.Test3"
 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/PNlib/TEST3~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=PNlib_Examples_Test3 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o PNlib.Examples.Test3.o PNlib.Examples.Test3.c
+Mingw-w64 runtime failure:
+VirtualProtect failed with code 0x5afmake: *** [<builtin>: PNlib.Examples.Test3.o] Error 127
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/LIBRAR~1/3rdParty/PNlib/TEST3~1.MOS'
+RESULT: 2
+"
+"Error in compareSimulationResults"
 "Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
+Error: Failed to open simulation result PNlib.Examples.Test3_res.mat: No such file or directory
+Error: Error opening file: PNlib.Examples.Test3_res.mat
 "
'' 
Equation mismatch: omc-diff says: 
Failed 'P' '"'
Line 4: Text differs:
expected: resultFile = "PNlib.Examples.Test
got:      resultFile = "",

== 1 out of 1 tests failed [simulation/libraries/3rdParty/PNlib/Test3.mos_temp4823, time: 26]