Skip to content

Failed

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

Failing for the past 155 builds (Since #3553 )
Took 13 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + diesel_model_warm_start                                                           ... equation mismatch [time: 13]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/DMwarm.mos_temp1147/log-DMwarm.mos
true
""
true
""
Error reading stream: unexpected end of file.
Expected to read 1. Read only 0
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 0.5, numberOfIntervals = 450, tolerance = 1e-10, method = 'optimization', fileNamePrefix = 'diesel_model', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_IPOPT_ERROR -optimizerNP 1 -csvInput ./ReferenceFiles/initDM.csv -ipopt_warm_start 12 -emit_protected'",
    messages = "Simulation execution failed for model: diesel_model
Failed to read CSV-file ./ReferenceFiles/initDM.csv"
end SimulationResult;
""
"Error in compareSimulationResults"
"Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
Error: Failed to open simulation result diesel_model_res.mat: Corrupt header (1)
Error: Error opening file: diesel_model_res.mat
"
'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/DMwarm.mos_temp1147/equations-expected"2024-04-19 13:02:12.111246900 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/DMwarm.mos_temp1147/equations-got"2024-04-19 13:02:25.392245800 +0200
@@ -1,48 +1,18 @@
 true
 ""
 true
 ""
+Error reading stream: unexpected end of file.
+Expected to read 1. Read only 0
 record SimulationResult
-resultFile = "diesel_model_res.mat",
+resultFile = "",
 simulationOptions = "startTime = 0.0, stopTime = 0.5, numberOfIntervals = 450, tolerance = 1e-10, method = 'optimization', fileNamePrefix = 'diesel_model', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_IPOPT_ERROR -optimizerNP 1 -csvInput ./ReferenceFiles/initDM.csv -ipopt_warm_start 12 -emit_protected'",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-
-Optimizer Variables
-========================================================
-State[0]:p_em(start = 0.339267, nominal = 1.01111, min = 0.337038, max = 1.01111, init = 0.339267)
-State[1]:p_im(start = 0.50615, nominal = 1.01111, min = 0.404445, max = 1.01111, init = 0.50615)
-State[2]:w_ice(start = 0.249899, nominal = 1, min = 0.0181818, max = 1, init = 0.249899)
-State[3]:w_tc(start = 0.0681, nominal = 1, min = 0.03, max = 1, init = 0.0681)
-Input[4]:u_f(start = 9e-06, nominal = 1, min = 0, max = 1)
-Input[5]:u_wg(start = 0.000485, 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_IPOPT_ERROR   | info    | max error is 0.0015511 for the approximation of the state p_em(time = 0.486667)
-LOG_IPOPT_ERROR   | info    | max error is 0.00153097 for the approximation of the state p_em(time = 0.486667)
-LOG_IPOPT_ERROR   | info    | max error is 0.00149595 for the approximation of the state p_em(time = 0.486667)
-LOG_IPOPT_ERROR   | info    | max error is 0.00112748 for the approximation of the state p_em(time = 0.486667)
-LOG_IPOPT_ERROR   | info    | max error is 0.000313137 for the approximation of the state p_em(time = 0.486667)
-LOG_IPOPT_ERROR   | info    | max error is 0.000122445 for the approximation of the state p_em(time = 0.486667)
-LOG_IPOPT_ERROR   | info    | max error is 8.56457e-05 for the approximation of the state p_em(time = 0.486667)
-LOG_IPOPT_ERROR   | info    | max error is 2.37178e-06 for the approximation of the state p_em(time = 0.485556)
-LOG_IPOPT_ERROR   | info    | max error is 4.55501e-07 for the approximation of the state p_em(time = 0.485556)
-LOG_IPOPT_ERROR   | info    | max error is 1.16221e-07 for the approximation of the state p_em(time = 0.485556)
-LOG_IPOPT_ERROR   | info    | max error is 2.52825e-08 for the approximation of the state p_em(time = 0.485556)
-LOG_IPOPT_ERROR   | info    | max error is 3.66997e-09 for the approximation of the state p_em(time = 0.485556)
-LOG_IPOPT_ERROR   | info    | max error is 1.48205e-10 for the approximation of the state p_em(time = 0.485556)
-LOG_IPOPT_ERROR   | info    | max error is 2.86256e-13 for the approximation of the state p_em(time = 0.485556)
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
+messages = "Simulation execution failed for model: diesel_model
+Failed to read CSV-file ./ReferenceFiles/initDM.csv"
 end SimulationResult;
 ""
-{"Files Equal!"}
+"Error in compareSimulationResults"
 "Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
+Error: Failed to open simulation result diesel_model_res.mat: Corrupt header (1)
+Error: Error opening file: diesel_model_res.mat
 "
'' 
Equation mismatch: omc-diff says: 
Failed 'r' 'E'
Line 5: Text differs:
expected: record SimulationResult
got:      Error reading stream: unexpected end of file.

== 1 out of 1 tests failed [openmodelica/cruntime/optimization/basic/DMwarm.mos_temp1147, time: 13]