Skip to content

Regression

simulation_modelica_synchronous_c.sampleVar.mos (from (result.xml))

Failing for the past 1 build (Since #3747 )
Took 8 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + sampleVar.mos                                                                     ... equation mismatch [time: 0]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/modelica/synchronous_c/sampleVar.mos_temp9643/log-sampleVar.mos
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Synchronous.Conversion.sampleVar', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv=LOG_SYNCHRONOUS'",
    messages = "Failed to build model: Synchronous.Conversion.sampleVar"
end SimulationResult;
"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/SYNCHR~2/SAMPLE~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=Synchronous_Conversion_sampleVar -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 Synchronous.Conversion.sampleVar.o Synchronous.Conversion.sampleVar.c
      0 [main] sh (3746740) child_copy: cygheap read copy failed, 0x0..0x80000CD28, done 0, windows pid 3746740, Win32 error 299
make: *** [<builtin>: Synchronous.Conversion.sampleVar.o] Error 127
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/SYNCHR~2/SAMPLE~2.MOS'
RESULT: 2
"
xc after initialization

'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/synchronous_c/sampleVar.mos_temp9643/equations-expected"2024-05-08 15:08:12.477214700 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/synchronous_c/sampleVar.mos_temp9643/equations-got"2024-05-08 15:08:12.993212900 +0200
@@ -1,26 +1,16 @@
 true
 ""
 record SimulationResult
-resultFile = "Synchronous.Conversion.sampleVar_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Synchronous.Conversion.sampleVar', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv=LOG_SYNCHRONOUS'",
-messages = "LOG_SYNCHRONOUS   | info    | Initialized synchronous timers.
-|                 | |       | | Number of base clocks: 1
-|                 | |       | | Base clock 1
-|                 | |       | | | interval: 3.000000e-01
-|                 | |       | | | Number of sub-clocks: 1
-|                 | |       | | | Sub-clock 1 of base clock 1
-|                 | |       | | | | shift: 0/1
-|                 | |       | | | | factor: 1/1
-|                 | |       | | | | solverMethod: none
-|                 | |       | | | | holdEvents: false
-LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SYNCHRONOUS   | info    | Activated base-clock 0 at time 0.000000
-LOG_SYNCHRONOUS   | info    | Activated base-clock 0 at time 0.300000
-LOG_SYNCHRONOUS   | info    | Activated base-clock 0 at time 0.600000
-LOG_SYNCHRONOUS   | info    | Activated base-clock 0 at time 0.900000
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Synchronous.Conversion.sampleVar', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv=LOG_SYNCHRONOUS'",
+messages = "Failed to build model: Synchronous.Conversion.sampleVar"
 end SimulationResult;
-""
+"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/SYNCHR~2/SAMPLE~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=Synchronous_Conversion_sampleVar -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 Synchronous.Conversion.sampleVar.o Synchronous.Conversion.sampleVar.c
+0 [main] sh (3746740) child_copy: cygheap read copy failed, 0x0..0x80000CD28, done 0, windows pid 3746740, Win32 error 299
+make: *** [<builtin>: Synchronous.Conversion.sampleVar.o] Error 127
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/SYNCHR~2/SAMPLE~2.MOS'
+RESULT: 2
+"
 xc after initialization
-2.0
+
'' 
Equation mismatch: omc-diff says: 
Failed 'S' '"'
Line 4: Text differs:
expected: resultFile = "Synchronous.Conversion.sampleVar_res.mat",
got:      resultFile = "",

== 1 out of 1 tests failed [simulation/modelica/synchronous_c/sampleVar.mos_temp9643, time: 8]