Failed
tests / 02 testsuite-gcc 2/3 / openmodelica_cruntime_optimization_basic.TFC6.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ testFinalCon_6 ... equation mismatch [time: 7] ==== Log /tmp/omc-rtest-unknown/openmodelica/cruntime/optimization/basic/TFC6.mos_temp3941/log-TFC6.mos true "" true "" true "" record SimulationResult resultFile = "testFinalCon6_res.mat", simulationOptions = "startTime = 0.0, stopTime = 5.0, numberOfIntervals = 50, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'testFinalCon6', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_LS -optimizerNP 3'", messages = "LOG_LS | info | initialize linear system solvers | | | | | 1 linear systems LOG_LS | info | Start solving Linear System 3 (size 2) at time 0 with Lapack Solver LOG_ASSERT | warning | The following assertion has been violated at time 0.000000 | | | | (($finalCon$final_con4 >= 0.0 and $finalCon$final_con4 <= 0.0)) --> \"Variable violating min/max constraint: 0.0 <= $finalCon$final_con4 <= 0.0, has value: -0.589785\" LOG_ASSERT | warning | The following assertion has been violated at time 0.000000 | | | | (($finalCon$final_con3 >= 0.0 and $finalCon$final_con3 <= 0.0)) --> \"Variable violating min/max constraint: 0.0 <= $finalCon$final_con3 <= 0.0, has value: 0.769356\" LOG_ASSERT | warning | The following assertion has been violated at time 0.000000 | | | | (($finalCon$final_con2 >= 10.0 and $finalCon$final_con2 <= 15.0)) --> \"Variable violating min/max constraint: 10.0 <= $finalCon$final_con2 <= 15.0, has value: -3\" LOG_ASSERT | warning | The following assertion has been violated at time 0.000000 | | | | (($finalCon$final_con1 >= -15.0 and $finalCon$final_con1 <= -10.0)) --> \"Variable violating min/max constraint: -15.0 <= $finalCon$final_con1 <= -10.0, has value: -2\" 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) State[2]:y1(start = -1, nominal = 2, min = -Inf, max = +Inf, init = -1) State[3]:y2(start = 1, nominal = 2, min = -Inf, max = +Inf, init = 1) Input[4]:u(start = 0, nominal = 1, min = -Inf, max = +Inf) Input[5]:u2(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_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\"). " {"Files Equal!"} "Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead. " Equation mismatch: diff says: --- /tmp/omc-rtest-unknown/openmodelica/cruntime/optimization/basic/TFC6.mos_temp3941/equations-expected2024-01-13 03:02:33.723994533 +0000 +++ /tmp/omc-rtest-unknown/openmodelica/cruntime/optimization/basic/TFC6.mos_temp3941/equations-got2024-01-13 03:02:40.196043276 +0000 @@ -4,14 +4,14 @@ "" true "" record SimulationResult resultFile = "testFinalCon6_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 5.0, numberOfIntervals = 50, tolerance = 1e-08, method = 'optimization', fileNamePrefix = 'testFinalCon6', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_LS -optimizerNP 3'", +simulationOptions = "startTime = 0.0, stopTime = 5.0, numberOfIntervals = 50, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'testFinalCon6', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_LS -optimizerNP 3'", messages = "LOG_LS | info | initialize linear system solvers | | | | | 1 linear systems -LOG_LS | info | Start solving Linear System 7 (size 1) at time 0 with Lapack Solver +LOG_LS | info | Start solving Linear System 3 (size 2) at time 0 with Lapack Solver LOG_ASSERT | warning | The following assertion has been violated at time 0.000000 | | | | (($finalCon$final_con4 >= 0.0 and $finalCon$final_con4 <= 0.0)) --> \"Variable violating min/max constraint: 0.0 <= $finalCon$final_con4 <= 0.0, has value: -0.589785\" LOG_ASSERT | warning | The following assertion has been violated at time 0.000000 | | | | (($finalCon$final_con3 >= 0.0 and $finalCon$final_con3 <= 0.0)) --> \"Variable violating min/max constraint: 0.0 <= $finalCon$final_con3 <= 0.0, has value: 0.769356\" LOG_ASSERT | warning | The following assertion has been violated at time 0.000000 Equation mismatch: omc-diff says: Line 12: Integer 7 != 3 == 1 out of 1 tests failed [openmodelica/cruntime/optimization/basic/TFC6.mos_temp3941, time: 7]