Skip to content

Failed

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

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + testFinalCon_7                                                                    ... equation mismatch [time: 15]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/TFC7.mos_temp9416/log-TFC7.mos
true
""
true
""
record SimulationResult
    resultFile = "testFinalCon7_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 50, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'testFinalCon7', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-optimizerTimeGrid ReferenceFiles/TFC7time.csv -lv LOG_IPOPT_ERROR -optimizerNP 3'",
    messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
LOG_STDOUT        | warning | OMC can't find the file ReferenceFiles/TFC7time.csv.
LOG_STDOUT        | warning | read time grid from file fail!
LOG_STDOUT        | warning | line 0: 2.64003e-312 <= 2.64003e-312
"
end SimulationResult;
"Warning: The initial conditions are not fully specified. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions(\"-d=initialization\").
"
"Error in compareSimulationResults"
"Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
Error: Error getting time
"
'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/TFC7.mos_temp9416/equations-expected"2024-04-19 12:57:30.114662000 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/TFC7.mos_temp9416/equations-got"2024-04-19 12:57:45.436661400 +0200
@@ -2,38 +2,18 @@
 ""
 true
 ""
 record SimulationResult
 resultFile = "testFinalCon7_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 50, tolerance = 1e-08, method = 'optimization', fileNamePrefix = 'testFinalCon7', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-optimizerTimeGrid ReferenceFiles/TFC7time.csv -lv LOG_IPOPT_ERROR -optimizerNP 3'",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 50, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'testFinalCon7', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-optimizerTimeGrid ReferenceFiles/TFC7time.csv -lv LOG_IPOPT_ERROR -optimizerNP 3'",
 messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-
-Optimizer Variables
-========================================================
-State[0]:x1(start = 0, nominal = 1, min = -Inf, max = +Inf, init = 0)
-State[1]:x2(start = 0, nominal = 1, min = -Inf, max = +Inf, init = 0)
-Input[2]:u(start = 0, nominal = 1, min = -Inf, max = +Inf)
---------------------------------------------------------
-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 violation is 3.25 for the final constraint $finalCon$final_con2(time = 5)
-LOG_IPOPT_ERROR   | info    | max error is 0.136064 for the approximation of the state x1(time = 3.7)
-LOG_IPOPT_ERROR   | info    | max error is 0.00651596 for the approximation of the state x1(time = 4.5)
-LOG_IPOPT_ERROR   | info    | max error is 0.00103252 for the approximation of the state x1(time = 4.5)
-LOG_IPOPT_ERROR   | info    | max error is 2.32683e-05 for the approximation of the state x1(time = 4.5)
-LOG_IPOPT_ERROR   | info    | max violation is 1.81421e-08 for the final constraint $finalCon$final_con2(time = 5)
-LOG_IPOPT_ERROR   | info    | max violation is 4.99294e-08 for the final constraint $finalCon$final_con2(time = 5)
-LOG_SUCCESS       | info    | The simulation finished successfully.
+LOG_STDOUT | warning | OMC can't find the file ReferenceFiles/TFC7time.csv.
+LOG_STDOUT | warning | read time grid from file fail!
+LOG_STDOUT | warning | line 0: 2.64003e-312 <= 2.64003e-312
 "
 end SimulationResult;
 "Warning: The initial conditions are not fully specified. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions(\"-d=initialization\").
 "
-{"Files Equal!"}
+"Error in compareSimulationResults"
 "Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
+Error: Error getting time
 "
'' 
Equation mismatch: omc-diff says: 
Line 9: Lexical token differs:
expected: 

got:      LOG_STDOUT | warning | OMC can't find the file ReferenceFiles/TFC

== 1 out of 1 tests failed [openmodelica/cruntime/optimization/basic/TFC7.mos_temp9416, time: 15]