Failed
openmodelica_cruntime_optimization_basic.TFC5.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ testFinalCon_5 ... equation mismatch [time: 28] ==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/TFC5.mos_temp8625/log-TFC5.mos true "" true "" true Trying with maxSizeSolveLinearSystem=0 "" record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 5.0, numberOfIntervals = 20, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'testFinalCon5_', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-optimizerNP=1 -iif=ReferenceFiles/testFinalCon5_ref.mat -ipopt_init=FILE'", messages = "Simulation execution failed for model: testFinalCon5_ LOG_ASSERT | debug | Initialization file \"ReferenceFiles/testFinalCon5_ref.mat\" doesn't exist. " 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: Failed to open simulation result testFinalCon5__res.mat: No such file or directory Error: Error opening file: testFinalCon5__res.mat " Trying with maxSizeSolveLinearSystem=20 true "" record SimulationResult resultFile = "testFinalCon5_res.mat", simulationOptions = "startTime = 0.0, stopTime = 5.0, numberOfIntervals = 20, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'testFinalCon5', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-optimizerNP=1'", 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. 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_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\"). " "Error in compareSimulationResults" "Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead. Error: Failed to open simulation result testFinalCon5__res.mat: No such file or directory Error: Error opening file: testFinalCon5__res.mat " '' Equation mismatch: diff says: --- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/TFC5.mos_temp8625/equations-expected"2024-04-28 16:35:02.533475900 +0200 +++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/TFC5.mos_temp8625/equations-got"2024-04-28 16:35:30.548475300 +0200 @@ -4,48 +4,29 @@ "" true Trying with maxSizeSolveLinearSystem=0 "" record SimulationResult -resultFile = "testFinalCon5__res.mat", -simulationOptions = "startTime = 0.0, stopTime = 5.0, numberOfIntervals = 20, tolerance = 1e-08, method = 'optimization', fileNamePrefix = 'testFinalCon5_', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-optimizerNP=1 -iif=ReferenceFiles/testFinalCon5_ref.mat -ipopt_init=FILE'", -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. - -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 = 5.47918, nominal = 6.47918, min = -Inf, max = +Inf) --------------------------------------------------------- -number of nonlinear constraints: 0 -======================================================== -LOG_STDOUT | info | Using values from file as initial guess. - -****************************************************************************** -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 = 20, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'testFinalCon5_', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-optimizerNP=1 -iif=ReferenceFiles/testFinalCon5_ref.mat -ipopt_init=FILE'", +messages = "Simulation execution failed for model: testFinalCon5_ +LOG_ASSERT | debug | Initialization file \"ReferenceFiles/testFinalCon5_ref.mat\" doesn't exist. " 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: Failed to open simulation result testFinalCon5__res.mat: No such file or directory +Error: Error opening file: testFinalCon5__res.mat " Trying with maxSizeSolveLinearSystem=20 true "" record SimulationResult resultFile = "testFinalCon5_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 5.0, numberOfIntervals = 20, tolerance = 1e-08, method = 'optimization', fileNamePrefix = 'testFinalCon5', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-optimizerNP=1'", +simulationOptions = "startTime = 0.0, stopTime = 5.0, numberOfIntervals = 20, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'testFinalCon5', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-optimizerNP=1'", 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. @@ -68,8 +49,10 @@ 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!"} +"Error in compareSimulationResults" "Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead. +Error: Failed to open simulation result testFinalCon5__res.mat: No such file or directory +Error: Error opening file: testFinalCon5__res.mat " '' Equation mismatch: omc-diff says: Failed 't' '"' Line 9: Text differs: expected: resultFile = "testFinalCon got: resultFile = "", == 1 out of 1 tests failed [openmodelica/cruntime/optimization/basic/TFC5.mos_temp8625, time: 28]