Skip to content

Regression

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

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + pulseInput.mos                                                                    ... equation mismatch [time: 9]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/modelica/built_in_functions/spatialDistribution/pulseInput.mos_temp9752/log-pulseInput.mos
true
""
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'pulseInputSpatialDistribution', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv=LOG_EVENTS'",
    messages = "Failed to build model: pulseInputSpatialDistribution"
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/PULSEI~2.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=pulseInputSpatialDistribution -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 pulseInputSpatialDistribution.o pulseInputSpatialDistribution.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=pulseInputSpatialDistribution -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 pulseInputSpatialDistribution_functions.o pulseInputSpatialDistribution_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=pulseInputSpatialDistribution -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 pulseInputSpatialDistribution_records.o pulseInputSpatialDistribution_records.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=pulseInputSpatialDistribution -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 pulseInputSpatialDistribution_01exo.o pulseInputSpatialDistribution_01exo.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=pulseInputSpatialDistribution -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 pulseInputSpatialDistribution_02nls.o pulseInputSpatialDistribution_02nls.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=pulseInputSpatialDistribution -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 pulseInputSpatialDistribution_03lsy.o pulseInputSpatialDistribution_03lsy.c
Mingw-w64 runtime failure:
  VirtualProtect failed with code 0x5afmake: *** [<builtin>: pulseInputSpatialDistribution_03lsy.o] Error 127
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/BUILT_~1/SPATIA~1/PULSEI~2.MOS'
RESULT: 2
"
'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/built_in_functions/spatialDistribution/pulseInput.mos_temp9752/equations-expected"2024-06-13 15:26:11.470734700 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/built_in_functions/spatialDistribution/pulseInput.mos_temp9752/equations-got"2024-06-13 15:26:20.342245300 +0200
@@ -1,52 +1,21 @@
 true
 ""
 true
 ""
 record SimulationResult
-resultFile = "pulseInputSpatialDistribution_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'pulseInputSpatialDistribution', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv=LOG_EVENTS'",
-messages = "LOG_EVENTS        | info    | status of relations at time=0
-|                 | |       | | [1] (pre: false) false = time < pulseIn.startTime
-|                 | |       | | [2] (pre:  true)  true = time < pulseIn.T_start + pulseIn.T_width
-|                 | |       | | [3] (pre: false) false = spatialDistributionZeroCrossing(0, 2, x, true)
-|                 | |       | | [4] (pre: false) false = integer((time - pulseIn.startTime) / pulseIn.period) > pre(pulseIn.count)
-LOG_EVENTS        | info    | status of zero crossings at time=0
-|                 | |       | | [1] (pre:  0) -1 = time < pulseIn.startTime or pulseIn.nperiod == 0 or pulseIn.nperiod > 0 and pulseIn.count >= pulseIn.nperiod
-|                 | |       | | [2] (pre:  0)  1 = time < pulseIn.T_start + pulseIn.T_width
-|                 | |       | | [3] (pre:  0) -1 = spatialDistributionZeroCrossing(0, 2, x, true) > 0.0
-|                 | |       | | [4] (pre:  0) -1 = integer((time - pulseIn.startTime) / pulseIn.period) > pre(pulseIn.count)
-|                 | |       | | [5] (pre:  0) -1 = integer((time - pulseIn.startTime) / pulseIn.period, 0)
-LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_EVENTS        | info    | state event at time=0.1
-|                 | |       | | [3] spatialDistributionZeroCrossing(0, 2, x, true) > 0.0
-LOG_EVENTS        | info    | state event at time=0.15
-|                 | |       | | [2] time < pulseIn.T_start + pulseIn.T_width
-LOG_EVENTS        | info    | state event at time=0.25
-|                 | |       | | [3] spatialDistributionZeroCrossing(0, 2, x, true) > 0.0
-LOG_EVENTS        | info    | state event at time=0.3
-|                 | |       | | [5] integer((time - pulseIn.startTime) / pulseIn.period, 0)
-|                 | |       | | [4] integer((time - pulseIn.startTime) / pulseIn.period) > pre(pulseIn.count)
-LOG_EVENTS        | info    | state event at time=0.4
-|                 | |       | | [3] spatialDistributionZeroCrossing(0, 2, x, true) > 0.0
-LOG_EVENTS        | info    | state event at time=0.45
-|                 | |       | | [2] time < pulseIn.T_start + pulseIn.T_width
-LOG_EVENTS        | info    | state event at time=0.55
-|                 | |       | | [3] spatialDistributionZeroCrossing(0, 2, x, true) > 0.0
-LOG_EVENTS        | info    | state event at time=0.6
-|                 | |       | | [5] integer((time - pulseIn.startTime) / pulseIn.period, 0)
-|                 | |       | | [4] integer((time - pulseIn.startTime) / pulseIn.period) > pre(pulseIn.count)
-LOG_EVENTS        | info    | state event at time=0.7
-|                 | |       | | [3] spatialDistributionZeroCrossing(0, 2, x, true) > 0.0
-LOG_EVENTS        | info    | state event at time=0.75
-|                 | |       | | [2] time < pulseIn.T_start + pulseIn.T_width
-LOG_EVENTS        | info    | state event at time=0.85
-|                 | |       | | [3] spatialDistributionZeroCrossing(0, 2, x, true) > 0.0
-LOG_EVENTS        | info    | state event at time=0.9
-|                 | |       | | [5] integer((time - pulseIn.startTime) / pulseIn.period, 0)
-|                 | |       | | [4] integer((time - pulseIn.startTime) / pulseIn.period) > pre(pulseIn.count)
-LOG_EVENTS        | info    | state event at time=1
-|                 | |       | | [3] spatialDistributionZeroCrossing(0, 2, x, true) > 0.0
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'pulseInputSpatialDistribution', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv=LOG_EVENTS'",
+messages = "Failed to build model: pulseInputSpatialDistribution"
 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/PULSEI~2.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=pulseInputSpatialDistribution -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 pulseInputSpatialDistribution.o pulseInputSpatialDistribution.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=pulseInputSpatialDistribution -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 pulseInputSpatialDistribution_functions.o pulseInputSpatialDistribution_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=pulseInputSpatialDistribution -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 pulseInputSpatialDistribution_records.o pulseInputSpatialDistribution_records.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=pulseInputSpatialDistribution -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 pulseInputSpatialDistribution_01exo.o pulseInputSpatialDistribution_01exo.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=pulseInputSpatialDistribution -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 pulseInputSpatialDistribution_02nls.o pulseInputSpatialDistribution_02nls.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=pulseInputSpatialDistribution -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 pulseInputSpatialDistribution_03lsy.o pulseInputSpatialDistribution_03lsy.c
+Mingw-w64 runtime failure:
+VirtualProtect failed with code 0x5afmake: *** [<builtin>: pulseInputSpatialDistribution_03lsy.o] Error 127
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/BUILT_~1/SPATIA~1/PULSEI~2.MOS'
+RESULT: 2
+"
'' 
Equation mismatch: omc-diff says: 
Failed 'p' '"'
Line 6: Text differs:
expected: resultFile = "pulseInputSpatialDistribution_res.mat",
got:      resultFile = "",

== 1 out of 1 tests failed [simulation/modelica/built_in_functions/spatialDistribution/pulseInput.mos_temp9752, time: 24]