Skip to content

Regression

simulation_modelica_algorithms_functions.InverseAlgorithm2.mos (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + InverseAlgorithm2                                                                 ... equation mismatch [time: 3]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/modelica/algorithms_functions/InverseAlgorithm2.mos_temp7837/log-InverseAlgorithm2.mos
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'InverseAlgorithm2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv=LOG_SOTI'",
    messages = "Failed to build model: InverseAlgorithm2"
end SimulationResult;
"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/ALGORI~1/INCD46~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=InverseAlgorithm2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o InverseAlgorithm2.o InverseAlgorithm2.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=InverseAlgorithm2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o InverseAlgorithm2_functions.o InverseAlgorithm2_functions.c
      0 [main] make (5296644) child_copy: cygheap read copy failed, 0x0..0x800009748, done 0, windows pid 5296644, Win32 error 299
      1 [main] make 17977 dofork: child -1 - forked process 5296644 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
make: *** [<builtin>: InverseAlgorithm2_functions.o] Error 127
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/ALGORI~1/INCD46~1.MOS'
RESULT: 2
"
'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/algorithms_functions/InverseAlgorithm2.mos_temp7837/equations-expected"2024-06-13 15:27:27.701792200 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/algorithms_functions/InverseAlgorithm2.mos_temp7837/equations-got"2024-06-13 15:27:30.091749400 +0200
@@ -1,23 +1,16 @@
 true
 ""
 record SimulationResult
-resultFile = "InverseAlgorithm2_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'InverseAlgorithm2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv=LOG_SOTI'",
-messages = "LOG_SOTI          | info    | ### SOLUTION OF THE INITIALIZATION ###
-|                 | |       | | states variables
-|                 | |       | | | [1] Real x(start=0, nominal=1) = 1 (pre: 0)
-|                 | |       | | | [2] Real y(start=0, nominal=1) = 1.5 (pre: 0)
-|                 | |       | | | [3] Real z(start=0, nominal=1) = 0.5 (pre: 0)
-|                 | |       | | derivatives variables
-|                 | |       | | | [4] Real der(x) = 0 (pre: 0)
-|                 | |       | | | [5] Real der(y) = 0.5 (pre: 0)
-|                 | |       | | | [6] Real der(z) = 0 (pre: 0)
-|                 | |       | | other real variables
-|                 | |       | | | [7] Real der_x(start=0, nominal=1) = 1 (pre: 0)
-|                 | |       | | | [8] Real der_y(start=0, nominal=1) = 2.5 (pre: 0)
-|                 | |       | | | [9] Real der_z(start=0, nominal=1) = 3 (pre: 0)
-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 = 'InverseAlgorithm2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv=LOG_SOTI'",
+messages = "Failed to build model: InverseAlgorithm2"
 end SimulationResult;
-""
+"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/ALGORI~1/INCD46~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=InverseAlgorithm2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o InverseAlgorithm2.o InverseAlgorithm2.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=InverseAlgorithm2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o InverseAlgorithm2_functions.o InverseAlgorithm2_functions.c
+0 [main] make (5296644) child_copy: cygheap read copy failed, 0x0..0x800009748, done 0, windows pid 5296644, Win32 error 299
+1 [main] make 17977 dofork: child -1 - forked process 5296644 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
+make: *** [<builtin>: InverseAlgorithm2_functions.o] Error 127
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/ALGORI~1/INCD46~1.MOS'
+RESULT: 2
+"
'' 
Equation mismatch: omc-diff says: 
Failed 'I' '"'
Line 4: Text differs:
expected: resultFile = "InverseAlgorithm
got:      resultFile = "",

== 1 out of 1 tests failed [simulation/modelica/algorithms_functions/InverseAlgorithm2.mos_temp7837, time: 19]