Skip to content

Regression

openmodelica_cruntime_optimization_basic.CM2.mos (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + CatalystMixing_2                                                                  ... equation mismatch [time: 2]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/CM2.mos_temp1303/log-CM2.mos
true
""
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 200, tolerance = 1e-6, method = 'optimization', fileNamePrefix = 'CatalystMixing', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-optimizerNP 1'",
    messages = "Failed to build model: CatalystMixing"
end SimulationResult;
"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/cruntime/OPTIMI~1/basic/CM2~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=CatalystMixing -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 CatalystMixing.o CatalystMixing.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=CatalystMixing -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 CatalystMixing_functions.o CatalystMixing_functions.c
make: *** [<builtin>: CatalystMixing_functions.o] Error 127
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/cruntime/OPTIMI~1/basic/CM2~1.MOS'
RESULT: 2
"
"Error in compareSimulationResults"
"Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
Error: Failed to open simulation result CatalystMixing_res.mat: No such file or directory
Error: Error opening file: CatalystMixing_res.mat
"
'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/CM2.mos_temp1303/equations-expected"2024-06-13 15:20:46.801646800 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/CM2.mos_temp1303/equations-got"2024-06-13 15:20:48.590646600 +0200
@@ -1,31 +1,21 @@
 true
 ""
 true
 ""
 record SimulationResult
-resultFile = "CatalystMixing_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 200, tolerance = 1e-06, method = 'optimization', fileNamePrefix = 'CatalystMixing', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-optimizerNP 1'",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-
-Optimizer Variables
-========================================================
-State[0]:x1(start = 1, nominal = 1, min = 0, max = 1, init = 1)
-State[1]:x2(start = 0, nominal = 1, min = 0, max = 1, init = 0)
-Input[2]:u(start = 1, nominal = 1, min = 0, max = 1)
---------------------------------------------------------
-number of nonlinear constraints: 0
-========================================================
-
-******************************************************************************
-This program contains Ipopt, a library for large-scale nonlinear optimization.
-Ipopt is released as open source code under the Eclipse Public License (EPL).
-For more information visit https://github.com/coin-or/Ipopt
-******************************************************************************
-
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 200, tolerance = 1e-6, method = 'optimization', fileNamePrefix = 'CatalystMixing', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-optimizerNP 1'",
+messages = "Failed to build model: CatalystMixing"
 end SimulationResult;
-""
-{"Files Equal!"}
+"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/cruntime/OPTIMI~1/basic/CM2~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=CatalystMixing -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 CatalystMixing.o CatalystMixing.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=CatalystMixing -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 CatalystMixing_functions.o CatalystMixing_functions.c
+make: *** [<builtin>: CatalystMixing_functions.o] Error 127
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/cruntime/OPTIMI~1/basic/CM2~1.MOS'
+RESULT: 2
+"
+"Error in compareSimulationResults"
 "Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
+Error: Failed to open simulation result CatalystMixing_res.mat: No such file or directory
+Error: Error opening file: CatalystMixing_res.mat
 "
'' 
Equation mismatch: omc-diff says: 
Failed 'C' '"'
Line 6: Text differs:
expected: resultFile = "CatalystMixing_res.mat",
got:      resultFile = "",

== 1 out of 1 tests failed [openmodelica/cruntime/optimization/basic/CM2.mos_temp1303, time: 16]