Failed
tests / 03 testsuite-gcc 3/3 / openmodelica_cruntime_optimization_basic.TFC8.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ testFinalCon_8 ... equation mismatch [time: 8] ==== Log /tmp/omc-rtest-omtmpuser/openmodelica/cruntime/optimization/basic/TFC8.mos_temp8816/log-TFC8.mos true "" true "" record SimulationResult resultFile = "testFinalCon8_res.mat", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 50, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'testFinalCon8', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-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 2.09989 for the approximation of the state x1(time = 5) LOG_IPOPT_ERROR | info | max error is 0.309263 for the approximation of the state x1(time = 5) LOG_IPOPT_ERROR | info | max error is 0.0557617 for the approximation of the state x1(time = 4.32669) LOG_IPOPT_ERROR | info | max error is 0.009855 for the approximation of the state x1(time = 5) LOG_IPOPT_ERROR | info | max error is 0.000186212 for the approximation of the state x1(time = 4.32669) LOG_IPOPT_ERROR | info | max error is 1.28519e-07 for the approximation of the state x1(time = 4.32669) LOG_IPOPT_ERROR | info | max violation is 4.99295e-08 for the final constraint $finalCon$final_con2(time = 5) LOG_SUCCESS | info | The simulation finished successfully. " end SimulationResult; "[BackEnd/SymbolicJacobian.mo:0:0-0:0:writable] Error: Internal error function generateSparsePattern failed 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\"). [BackEnd/SymbolicJacobian.mo:0:0-0:0:writable] Error: Internal error function generateSparsePattern failed " {"Files Equal!"} "Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead. " Equation mismatch: diff says: --- /tmp/omc-rtest-omtmpuser/openmodelica/cruntime/optimization/basic/TFC8.mos_temp8816/equations-expected2024-05-04 02:08:52.396028955 +0000 +++ /tmp/omc-rtest-omtmpuser/openmodelica/cruntime/optimization/basic/TFC8.mos_temp8816/equations-got2024-05-04 02:09:00.344002258 +0000 @@ -2,11 +2,11 @@ "" true "" record SimulationResult resultFile = "testFinalCon8_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 50, tolerance = 1e-08, method = 'optimization', fileNamePrefix = 'testFinalCon8', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_IPOPT_ERROR -optimizerNP 3'", +simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 50, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'testFinalCon8', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-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) @@ -31,10 +31,12 @@ LOG_IPOPT_ERROR | info | max error is 1.28519e-07 for the approximation of the state x1(time = 4.32669) LOG_IPOPT_ERROR | info | max violation is 4.99295e-08 for the final constraint $finalCon$final_con2(time = 5) LOG_SUCCESS | info | The simulation finished successfully. " 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\"). +"[BackEnd/SymbolicJacobian.mo:0:0-0:0:writable] Error: Internal error function generateSparsePattern failed +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\"). +[BackEnd/SymbolicJacobian.mo:0:0-0:0:writable] Error: Internal error function generateSparsePattern failed " {"Files Equal!"} "Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead. " Equation mismatch: omc-diff says: ----------------------------------------------------------------------------------------------------------------Failed 'W' '[' Line 36: Text differs: expected: "Warning: The initial conditions are not fully specified. For more information set got: "[BackEnd/SymbolicJacobian.mo: == 1 out of 1 tests failed [openmodelica/cruntime/optimization/basic/TFC8.mos_temp8816, time: 8]