Skip to content

Regression

openmodelica_cppruntime.arraySliceTest.mos (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + arraySliceTest                                                                    ... equation mismatch [time: 1]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/openmodelica/cppruntime/arraySliceTest.mos_temp3304/log-arraySliceTest.mos
true
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'ArraySlice.Test', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: ArraySlice.Test"
end SimulationResult;
"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/CPPRUN~1/ARRAYS~2.MOS'
clang++  -fopenmp=libomp  -Winvalid-pch -O3 -DNDEBUG  -std=c++11 -DBOOST_ALL_DYN_LINK   -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_PUGI_XML -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I\".\" -I\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/include/omc/cpp/\" -I.  -I\"C:/OMDevUCRT/tools/msys/ucrt64/include/\" -I\".\" -I\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/include/omc/cpp/sundials\"     -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER  -c -o OMCppArraySlice.TestCalcHelperMain.o OMCppArraySlice.TestCalcHelperMain.cpp
Mingw-w64 runtime failure:
  VirtualProtect failed with code 0x5afmake: *** [<builtin>: OMCppArraySlice.TestCalcHelperMain.o] Error 127
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/CPPRUN~1/ARRAYS~2.MOS'
RESULT: 2
"






'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/cppruntime/arraySliceTest.mos_temp3304/equations-expected"2024-06-13 15:32:17.076101300 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/cppruntime/arraySliceTest.mos_temp3304/equations-got"2024-06-13 15:32:18.115100800 +0200
@@ -1,15 +1,21 @@
 true
 true
 ""
 record SimulationResult
-resultFile = "ArraySlice.Test_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'ArraySlice.Test', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = ""
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'ArraySlice.Test', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: ArraySlice.Test"
 end SimulationResult;
-""
-4.0
-1.0
-20.0
-10.0
-7.0
-8.0
+"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/CPPRUN~1/ARRAYS~2.MOS'
+clang++ -fopenmp=libomp  -Winvalid-pch -O3 -DNDEBUG  -std=c++11 -DBOOST_ALL_DYN_LINK   -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_PUGI_XML -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I\".\" -I\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/include/omc/cpp/\" -I.  -I\"C:/OMDevUCRT/tools/msys/ucrt64/include/\" -I\".\" -I\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/include/omc/cpp/sundials\"     -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER  -c -o OMCppArraySlice.TestCalcHelperMain.o OMCppArraySlice.TestCalcHelperMain.cpp
+Mingw-w64 runtime failure:
+VirtualProtect failed with code 0x5afmake: *** [<builtin>: OMCppArraySlice.TestCalcHelperMain.o] Error 127
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/CPPRUN~1/ARRAYS~2.MOS'
+RESULT: 2
+"
+
+
+
+
+
+
'' 
Equation mismatch: omc-diff says: 
Failed 'A' '"'
Line 5: Text differs:
expected: resultFile = "ArraySlice.Test_res.mat",
got:      resultFile = "",

== 1 out of 1 tests failed [openmodelica/cppruntime/arraySliceTest.mos_temp3304, time: 13]