Failed
tests / 01 testsuite-gcc 1/3 / openmodelica_cruntime_optimization_basic.TFC3.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ testFinalCon_3 ... equation mismatch [time: 0] ==== Log /tmp/omc-rtest-omtmpuser/openmodelica/cruntime/optimization/basic/TFC3.mos_temp9243/log-TFC3.mos true "" true "" record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 5.0, numberOfIntervals = 50, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'testFinalCon', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-stateFile ReferenceFiles/initStateTCF.csv'", messages = "Failed to run the optimize command: testFinalCon" end SimulationResult; "[BackEnd/Initialization.mo:0:0-0:0:writable] Error: Internal error DAEUtil.getStartAttr failed because type Real has no default start value. Error: No system for the symbolic initialization was generated " "Error in compareSimulationResults" "Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead. Error: Failed to open simulation result testFinalCon_res.mat: No such file or directory Error: Error opening file: testFinalCon_res.mat " Equation mismatch: diff says: --- /tmp/omc-rtest-omtmpuser/openmodelica/cruntime/optimization/basic/TFC3.mos_temp9243/equations-expected2024-04-20 01:40:23.042316137 +0000 +++ /tmp/omc-rtest-omtmpuser/openmodelica/cruntime/optimization/basic/TFC3.mos_temp9243/equations-got2024-04-20 01:40:23.406312088 +0000 @@ -1,39 +1,17 @@ true "" true "" record SimulationResult -resultFile = "testFinalCon_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 5.0, numberOfIntervals = 50, tolerance = 1e-08, method = 'optimization', fileNamePrefix = 'testFinalCon', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-stateFile ReferenceFiles/initStateTCF.csv'", -messages = "LOG_ASSERT | warning | The following assertion has been violated at time 0.000000 -| | | | (($finalCon$final_con2 >= 0.0 and $finalCon$final_con2 <= 0.0)) --> \"Variable violating min/max constraint: 0.0 <= $finalCon$final_con2 <= 0.0, has value: -3\" -LOG_ASSERT | warning | The following assertion has been violated at time 0.000000 -| | | | (($finalCon$final_con1 >= 0.0 and $finalCon$final_con1 <= 0.0)) --> \"Variable violating min/max constraint: 0.0 <= $finalCon$final_con1 <= 0.0, has value: -2\" -LOG_SUCCESS | info | The initialization finished successfully without homotopy method. - -[0]set x1.start 1 -[1]set x2.start -1 - -Optimizer Variables -======================================================== -State[0]:x1(start = 0, nominal = 1, min = -Inf, max = +Inf, init = 1) -State[1]:x2(start = 0, nominal = 1, min = -Inf, max = +Inf, init = -1) -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_SUCCESS | info | The simulation finished successfully. -" +resultFile = "", +simulationOptions = "startTime = 0.0, stopTime = 5.0, numberOfIntervals = 50, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'testFinalCon', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-stateFile ReferenceFiles/initStateTCF.csv'", +messages = "Failed to run the optimize command: testFinalCon" 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/Initialization.mo:0:0-0:0:writable] Error: Internal error DAEUtil.getStartAttr failed because type Real has no default start value. +Error: No system for the symbolic initialization was generated " -{"Files Equal!"} +"Error in compareSimulationResults" "Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead. +Error: Failed to open simulation result testFinalCon_res.mat: No such file or directory +Error: Error opening file: testFinalCon_res.mat " Equation mismatch: omc-diff says: Failed 't' '"' Line 6: Text differs: expected: resultFile = "testFinalCon_res.mat", got: resultFile = "", == 1 out of 1 tests failed [openmodelica/cruntime/optimization/basic/TFC3.mos_temp9243, time: 0]