Skip to content

Regression

omsimulator.whenTest.mos (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + whenTest.mos                                                                      ... equation mismatch [time: 22]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/omsimulator/whenTest.mos_temp2185/log-whenTest.mos
true
""
""
"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OMSIMU~1/WHENTE~1.MOS'
rm -f WhenTestA.fmutmp/sources/WhenTestA_init.xml
cp -a \"C:/dev/jenkins/ws/Windows/OM_Win/build/share/omc/runtime/c/fmi/buildproject/\"* WhenTestA.fmutmp/sources
      0 [main] cp (5041360) child_copy: cygheap read copy failed, 0x0..0x8000101C8, done 0, windows pid 5041360, Win32 error 299
make: *** [WhenTestA_FMU.makefile:7: fmu] Error 127
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OMSIMU~1/WHENTE~1.MOS'
RESULT: 2
"
1
"error:   [oms_extractFMIKind] failed to extract \"modelDescription.xml\" from \"WhenTestA.fmu\"
error:   [oms_RunFile] oms_extractFMIKind failed
info:    0 warnings
info:    2 errors
"
NaN
NaN
"WhenTestB.fmu"
"Error: Failed to open simulation result WhenTestA_res.mat: No such file or directory
"
0
"info:    maximum step size for 'model.root': 0.002000
info:    Result file: WhenTestB_res.mat (bufferSize=1)
info:    Final Statistics for 'model.root':
         NumSteps = 250 NumRhsEvals  = 251 NumLinSolvSetups = 14
         NumNonlinSolvIters = 250 NumNonlinSolvConvFails = 0 NumErrTestFails = 0
"
0.0
1.0
'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/omsimulator/whenTest.mos_temp2185/equations-expected"2024-06-13 15:18:52.831439400 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/omsimulator/whenTest.mos_temp2185/equations-got"2024-06-13 15:19:14.825865400 +0200
@@ -1,20 +1,27 @@
 true
 ""
-"WhenTestA.fmu"
 ""
-0
-"info:    maximum step size for 'model.root': 0.002000
-info:    Result file: WhenTestA_res.mat (bufferSize=1)
-info:    Final Statistics for 'model.root':
-NumSteps = 250 NumRhsEvals  = 251 NumLinSolvSetups = 14
-NumNonlinSolvIters = 250 NumNonlinSolvConvFails = 0 NumErrTestFails = 0
+"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OMSIMU~1/WHENTE~1.MOS'
+rm -f WhenTestA.fmutmp/sources/WhenTestA_init.xml
+cp -a \"C:/dev/jenkins/ws/Windows/OM_Win/build/share/omc/runtime/c/fmi/buildproject/\"* WhenTestA.fmutmp/sources
+0 [main] cp (5041360) child_copy: cygheap read copy failed, 0x0..0x8000101C8, done 0, windows pid 5041360, Win32 error 299
+make: *** [WhenTestA_FMU.makefile:7: fmu] Error 127
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OMSIMU~1/WHENTE~1.MOS'
+RESULT: 2
 "
-0.0
-1.0
+1
+"error: [oms_extractFMIKind] failed to extract \"modelDescription.xml\" from \"WhenTestA.fmu\"
+error: [oms_RunFile] oms_extractFMIKind failed
+info: 0 warnings
+info: 2 errors
+"
+NaN
+NaN
 "WhenTestB.fmu"
-""
+"Error: Failed to open simulation result WhenTestA_res.mat: No such file or directory
+"
 0
 "info:    maximum step size for 'model.root': 0.002000
 info:    Result file: WhenTestB_res.mat (bufferSize=1)
 info:    Final Statistics for 'model.root':
 NumSteps = 250 NumRhsEvals  = 251 NumLinSolvSetups = 14
'' 
Equation mismatch: omc-diff says: 
Failed 'W' '"'
Line 3: Text differs:
expected: "WhenTestA.fmu"
got:      ""

== 1 out of 1 tests failed [omsimulator/whenTest.mos_temp2185, time: 33]