Skip to content

Regression

simulation_modelica_built_in_functions_spatialDistribution.test2.mos (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + test2.mos                                                                         ... equation mismatch [time: 6]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/modelica/built_in_functions/spatialDistribution/test2.mos_temp8171/log-test2.mos
true
""
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 10000, tolerance = 1e-7, method = 'dassl', fileNamePrefix = 'TestSpatialDiscretization.Test2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv=LOG_EVENTS'",
    messages = "Failed to build model: TestSpatialDiscretization.Test2"
end SimulationResult;
"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/BUILT_~1/SPATIA~1/TEST2~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=TestSpatialDiscretization_Test2 -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 TestSpatialDiscretization.Test2.o TestSpatialDiscretization.Test2.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=TestSpatialDiscretization_Test2 -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 TestSpatialDiscretization.Test2_functions.o TestSpatialDiscretization.Test2_functions.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=TestSpatialDiscretization_Test2 -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 TestSpatialDiscretization.Test2_records.o TestSpatialDiscretization.Test2_records.c
Mingw-w64 runtime failure:
  VirtualProtect failed with code 0x5afmake: *** [<builtin>: TestSpatialDiscretization.Test2_records.o] Error 127
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/BUILT_~1/SPATIA~1/TEST2~1.MOS'
RESULT: 2
"
'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/built_in_functions/spatialDistribution/test2.mos_temp8171/equations-expected"2024-06-13 15:33:35.196003700 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/built_in_functions/spatialDistribution/test2.mos_temp8171/equations-got"2024-06-13 15:33:41.098770600 +0200
@@ -1,38 +1,18 @@
 true
 ""
 true
 ""
 record SimulationResult
-resultFile = "TestSpatialDiscretization.Test2_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 10000, tolerance = 1e-07, method = 'dassl', fileNamePrefix = 'TestSpatialDiscretization.Test2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv=LOG_EVENTS'",
-messages = "LOG_EVENTS        | info    | status of relations at time=0
-|                 | |       | | [1] (pre:  true)  true = time < 0.5
-|                 | |       | | [2] (pre:  true)  true = time < 0.1
-|                 | |       | | [3] (pre:  true)  true = v > 0.0
-|                 | |       | | [4] (pre: false) false = spatialDistributionZeroCrossing(0, 3, x, isPosVel)
-|                 | |       | | [5] (pre:  true)  true = time < 0.35
-|                 | |       | | [6] (pre:  true)  true = time < 0.75
-LOG_EVENTS        | info    | status of zero crossings at time=0
-|                 | |       | | [1] (pre:  0)  1 = time < 0.5
-|                 | |       | | [2] (pre:  0)  1 = time < 0.1
-|                 | |       | | [3] (pre:  0)  1 = v > 0.0
-|                 | |       | | [4] (pre:  0) -1 = spatialDistributionZeroCrossing(0, 3, x, isPosVel) > 0.0
-|                 | |       | | [5] (pre:  0)  1 = time < 0.35
-|                 | |       | | [6] (pre:  0)  1 = time < 0.75
-LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_EVENTS        | info    | state event at time=0.100000000011
-|                 | |       | | [2] time < 0.1
-LOG_EVENTS        | info    | state event at time=0.350000000011
-|                 | |       | | [4] spatialDistributionZeroCrossing(0, 3, x, isPosVel) > 0.0
-LOG_EVENTS        | info    | state event at time=0.350000000014
-|                 | |       | | [5] time < 0.35
-LOG_EVENTS        | info    | state event at time=0.500000000015
-|                 | |       | | [1] time < 0.5
-LOG_EVENTS        | info    | state event at time=0.750000000015
-|                 | |       | | [4] spatialDistributionZeroCrossing(0, 3, x, isPosVel) > 0.0
-LOG_EVENTS        | info    | state event at time=0.750000000018
-|                 | |       | | [6] time < 0.75
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 10000, tolerance = 1e-7, method = 'dassl', fileNamePrefix = 'TestSpatialDiscretization.Test2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv=LOG_EVENTS'",
+messages = "Failed to build model: TestSpatialDiscretization.Test2"
 end SimulationResult;
-""
+"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/BUILT_~1/SPATIA~1/TEST2~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=TestSpatialDiscretization_Test2 -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 TestSpatialDiscretization.Test2.o TestSpatialDiscretization.Test2.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=TestSpatialDiscretization_Test2 -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 TestSpatialDiscretization.Test2_functions.o TestSpatialDiscretization.Test2_functions.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=TestSpatialDiscretization_Test2 -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 TestSpatialDiscretization.Test2_records.o TestSpatialDiscretization.Test2_records.c
+Mingw-w64 runtime failure:
+VirtualProtect failed with code 0x5afmake: *** [<builtin>: TestSpatialDiscretization.Test2_records.o] Error 127
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/BUILT_~1/SPATIA~1/TEST2~1.MOS'
+RESULT: 2
+"
'' 
Equation mismatch: omc-diff says: 
Failed 'T' '"'
Line 6: Text differs:
expected: resultFile = "TestSpatialDiscretization.Test
got:      resultFile = "",

== 1 out of 1 tests failed [simulation/modelica/built_in_functions/spatialDistribution/test2.mos_temp8171, time: 17]