Skip to content

Regression

simulation_modelica_external_functions.extObj_ticket3446.mos (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

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

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/modelica/external_functions/extObj_ticket3446.mos_temp1599/log-extObj_ticket3446.mos
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'TestMyExternalObj.Test', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: TestMyExternalObj.Test"
end SimulationResult;
"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/EXTERN~1/EXTOBJ~4.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=TestMyExternalObj_Test -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 TestMyExternalObj.Test.o TestMyExternalObj.Test.c
Mingw-w64 runtime failure:
  VirtualProtect failed with code 0x5afmake: *** [<builtin>: TestMyExternalObj.Test.o] Error 127
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/EXTERN~1/EXTOBJ~4.MOS'
RESULT: 2
"

""

""

""

""

""
'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/external_functions/extObj_ticket3446.mos_temp1599/equations-expected"2024-06-13 15:26:36.491150100 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/external_functions/extObj_ticket3446.mos_temp1599/equations-got"2024-06-13 15:26:37.499151200 +0200
@@ -1,20 +1,24 @@
 true
 ""
 record SimulationResult
-resultFile = "TestMyExternalObj.Test_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'TestMyExternalObj.Test', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'TestMyExternalObj.Test', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: TestMyExternalObj.Test"
 end SimulationResult;
+"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/EXTERN~1/EXTOBJ~4.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=TestMyExternalObj_Test -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 TestMyExternalObj.Test.o TestMyExternalObj.Test.c
+Mingw-w64 runtime failure:
+VirtualProtect failed with code 0x5afmake: *** [<builtin>: TestMyExternalObj.Test.o] Error 127
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/EXTERN~1/EXTOBJ~4.MOS'
+RESULT: 2
+"
+
 ""
-1.0
-""
-1.0
+
 ""
-2.0
+
 ""
-3.0
+
 ""
-5.0
+
 ""
'' 
Equation mismatch: omc-diff says: 
Failed 'T' '"'
Line 4: Text differs:
expected: resultFile = "TestMyExternalObj.Test_res.mat",
got:      resultFile = "",

== 1 out of 1 tests failed [simulation/modelica/external_functions/extObj_ticket3446.mos_temp1599, time: 8]