Failed
openmodelica_cruntime_optimization_basic.testAlgLoop5.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ testAlgLoop5 ... equation mismatch [time: 15] ==== Log C:\WINDOWS\TEMP/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/testAlgLoop5.mos_temp2876/log-testAlgLoop5.mos true "" true "" record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 50, tolerance = 1e-12, method = 'optimization', fileNamePrefix = 'testAlgLoop5', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_IPOPT_ERROR -optimizerNP 1 -ipopt_init CONST -iit 0.2 -iim=none -iif=ReferenceFiles/testAlgLoop5_ref.mat'", messages = "Simulation execution failed for model: testAlgLoop5 LOG_ASSERT | debug | Initialization file \"ReferenceFiles/testAlgLoop5_ref.mat\" doesn't exist. " end SimulationResult; "Notification: Following iteration variables are selected by the user for strong component 1 (DAE kind: initialization): t2:VARIABLE(min = -2.0 max = 0.5 start = 1.0 ) type: Real t1:VARIABLE(min = -0.4 start = 1.0 ) type: Real Notification: Following iteration variables are selected by the user for strong component 2 (DAE kind: simulation): t2:VARIABLE(min = -2.0 max = 0.5 start = 1.0 ) type: Real t1:VARIABLE(min = -0.4 start = 1.0 ) type: Real " "Error in compareSimulationResults" "Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead. Error: Failed to open simulation result testAlgLoop5_res.mat: No such file or directory Error: Error opening file: testAlgLoop5_res.mat " '' Equation mismatch: diff says: --- "C:\\WINDOWS\\TEMP/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/testAlgLoop5.mos_temp2876/equations-expected"2024-06-12 20:11:46.357718900 +0200 +++ "C:\\WINDOWS\\TEMP/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/testAlgLoop5.mos_temp2876/equations-got"2024-06-12 20:12:01.724546800 +0200 @@ -1,100 +1,23 @@ true "" true "" record SimulationResult -resultFile = "testAlgLoop5_res.mat", +resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 50, tolerance = 1e-12, method = 'optimization', fileNamePrefix = 'testAlgLoop5', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_IPOPT_ERROR -optimizerNP 1 -ipopt_init CONST -iit 0.2 -iim=none -iif=ReferenceFiles/testAlgLoop5_ref.mat'", -messages = "LOG_ASSERT | warning | The following assertion has been violated at time 0.000000 -| | | | (($EqCon$t1 >= 0.0 and $EqCon$t1 <= 0.0)) --> \"Variable violating min/max constraint: 0.0 <= $EqCon$t1 <= 0.0, has value: -1.66533e-16\" -LOG_ASSERT | warning | The following assertion has been violated at time 0.000000 -| | | | (($EqCon$t2 >= 0.0 and $EqCon$t2 <= 0.0)) --> \"Variable violating min/max constraint: 0.0 <= $EqCon$t2 <= 0.0, has value: -0.20139\" -LOG_ASSERT | warning | The following assertion has been violated at time 0.000000 -| | | | (($EqCon$$con$con >= 0.0 and $EqCon$$con$con <= 0.0)) --> \"Variable violating min/max constraint: 0.0 <= $EqCon$$con$con <= 0.0, has value: 1.11022e-16\" -LOG_ASSERT | warning | The following assertion has been violated at time 0.000000 -| | | | (($finalCon$fcon3 >= 10.0 and $finalCon$fcon3 <= 10.0)) --> \"Variable violating min/max constraint: 10.0 <= $finalCon$fcon3 <= 10.0, has value: -13.0063\" -LOG_ASSERT | warning | The following assertion has been violated at time 0.000000 -| | | | (($finalCon$fcon >= 0.0 and $finalCon$fcon <= 0.0)) --> \"Variable violating min/max constraint: 0.0 <= $finalCon$fcon <= 0.0, has value: 16\" -LOG_SUCCESS | info | The initialization finished successfully without homotopy method. - -Optimizer Variables -======================================================== -State[0]:x(start = 1, nominal = 3, min = -3, max = 3, init = 1) -State[1]:y(start = 1, nominal = 2, min = -Inf, max = +Inf, init = 1) -State[2]:z(start = -1, nominal = 1, min = -1, max = 0.5, init = -1) -Input[3]:$$con$con(start = 1.32716, nominal = 2.5, min = 1, max = 2.5) -Input[4]:$t1(start = 0.415232, nominal = 0.415232, min = -0.4, max = +Inf) -Input[5]:$t2(start = -1.51319, nominal = 2, min = -2, max = 0.5) -Input[6]:u(start = 1.54056, nominal = 5, min = -5, max = 5) -Input[7]:u1(start = 0.566079, nominal = 2, min = -1, max = 2) -Input[8]:u2(start = -0.239925, nominal = 2, min = -1, max = 2) -Input[9]:u3(start = -1, nominal = 1, min = -1, max = 1) --------------------------------------------------------- -number of nonlinear constraints: 5 -======================================================== - -****************************************************************************** -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 22.9063 for the final constraint $finalCon$fcon3(time = 50) -LOG_IPOPT_ERROR | info | max violation is 17.0169 for the final constraint $finalCon$fcon3(time = 50) -LOG_IPOPT_ERROR | info | max violation is 13.6157 for the final constraint $finalCon$fcon3(time = 50) -LOG_IPOPT_ERROR | info | max violation is 7.14346 for the final constraint $finalCon$fcon3(time = 50) -LOG_IPOPT_ERROR | info | max error is 0.115439 for the approximation of the state y(time = 49.8) -LOG_IPOPT_ERROR | info | max error is 0.0123656 for the approximation of the state y(time = 49.8) -LOG_IPOPT_ERROR | info | max violation is 0.00368578 for the constraint $EqCon$t2(time = 50) -LOG_IPOPT_ERROR | info | max violation is 0.137619 for the final constraint $finalCon$fcon(time = 50) -LOG_IPOPT_ERROR | info | max violation is 2.09731 for the final constraint $finalCon$fcon(time = 50) -LOG_IPOPT_ERROR | info | max violation is 0.029318 for the final constraint $finalCon$fcon(time = 50) -LOG_IPOPT_ERROR | info | max violation is 0.0296068 for the final constraint $finalCon$fcon(time = 50) -LOG_IPOPT_ERROR | info | max violation is 0.011465 for the final constraint $finalCon$fcon(time = 50) -LOG_IPOPT_ERROR | info | max violation is 0.00917223 for the final constraint $finalCon$fcon(time = 50) -LOG_IPOPT_ERROR | info | max violation is 0.00807912 for the final constraint $finalCon$fcon(time = 50) -LOG_IPOPT_ERROR | info | max violation is 0.00283375 for the final constraint $finalCon$fcon(time = 50) -LOG_IPOPT_ERROR | info | max violation is 0.00326364 for the constraint $con$conDer(time = 48.4) -LOG_IPOPT_ERROR | info | max violation is 0.00643953 for the constraint $con$conDer(time = 48.4) -LOG_IPOPT_ERROR | info | max violation is 0.0415836 for the constraint $con$conDer(time = 48.4) -LOG_IPOPT_ERROR | info | max violation is 0.0393545 for the constraint $con$conDer(time = 48.4) -LOG_IPOPT_ERROR | info | max violation is 0.0416497 for the constraint $con$conDer(time = 48.4) -LOG_IPOPT_ERROR | info | max violation is 0.0379543 for the constraint $con$conDer(time = 48.4) -LOG_IPOPT_ERROR | info | max violation is 0.0256325 for the constraint $EqCon$t2(time = 49.4) -LOG_IPOPT_ERROR | info | max violation is 0.0305397 for the constraint $EqCon$t2(time = 49.4) -LOG_IPOPT_ERROR | info | max violation is 0.030023 for the constraint $EqCon$t2(time = 49.4) -LOG_IPOPT_ERROR | info | max violation is 0.0244896 for the constraint $EqCon$t2(time = 49.4) -LOG_IPOPT_ERROR | info | max violation is 0.0245385 for the constraint $EqCon$t2(time = 49.4) -LOG_IPOPT_ERROR | info | max violation is 0.0225171 for the constraint $EqCon$t2(time = 49.4) -LOG_IPOPT_ERROR | info | max violation is 0.0329894 for the constraint $EqCon$t2(time = 48.8) -LOG_IPOPT_ERROR | info | max violation is 0.028161 for the constraint $EqCon$t2(time = 48.8) -LOG_IPOPT_ERROR | info | max violation is 0.0248854 for the constraint $EqCon$t2(time = 49) -LOG_IPOPT_ERROR | info | max violation is 0.00740752 for the constraint $EqCon$t2(time = 49) -LOG_IPOPT_ERROR | info | max violation is 0.00774233 for the constraint $EqCon$t2(time = 49) -LOG_IPOPT_ERROR | info | max violation is 0.000692652 for the constraint $EqCon$t2(time = 48.8) -LOG_IPOPT_ERROR | info | max violation is 0.00138003 for the constraint $EqCon$t2(time = 0.8) -LOG_IPOPT_ERROR | info | max violation is 0.000985862 for the constraint $EqCon$t2(time = 48.4) -LOG_IPOPT_ERROR | info | max violation is 0.000518182 for the constraint $EqCon$t2(time = 48.4) -LOG_IPOPT_ERROR | info | max violation is 0.000299797 for the constraint $EqCon$t2(time = 48.4) -LOG_IPOPT_ERROR | info | max violation is 0.000134319 for the constraint $EqCon$t2(time = 48.4) -LOG_IPOPT_ERROR | info | max violation is 3.19872e-05 for the constraint $EqCon$t2(time = 48.4) -LOG_IPOPT_ERROR | info | max violation is 1.85551e-06 for the constraint $EqCon$t2(time = 4.4) -LOG_IPOPT_ERROR | info | max violation is 2.91877e-07 for the constraint $EqCon$t2(time = 4.4) -LOG_IPOPT_ERROR | info | max violation is 5.44505e-08 for the constraint $EqCon$t2(time = 4.4) -LOG_IPOPT_ERROR | info | max violation is 1.99956e-08 for the constraint $con$conDer(time = 47.4) -LOG_IPOPT_ERROR | info | max violation is 1.99956e-08 for the constraint $con$conDer(time = 47.4) -LOG_IPOPT_ERROR | info | max violation is 1.99956e-08 for the constraint $con$conDer(time = 47.4) -LOG_IPOPT_ERROR | info | max violation is 1.99956e-08 for the constraint $con$conDer(time = 47.4) -LOG_SUCCESS | info | The simulation finished successfully. +messages = "Simulation execution failed for model: testAlgLoop5 +LOG_ASSERT | debug | Initialization file \"ReferenceFiles/testAlgLoop5_ref.mat\" doesn't exist. " end SimulationResult; "Notification: Following iteration variables are selected by the user for strong component 1 (DAE kind: initialization): t2:VARIABLE(min = -2.0 max = 0.5 start = 1.0 ) type: Real t1:VARIABLE(min = -0.4 start = 1.0 ) type: Real Notification: Following iteration variables are selected by the user for strong component 2 (DAE kind: simulation): t2:VARIABLE(min = -2.0 max = 0.5 start = 1.0 ) type: Real t1:VARIABLE(min = -0.4 start = 1.0 ) type: Real " -{"Files Equal!"} +"Error in compareSimulationResults" "Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead. +Error: Failed to open simulation result testAlgLoop5_res.mat: No such file or directory +Error: Error opening file: testAlgLoop5_res.mat " '' Equation mismatch: omc-diff says: Failed 't' '"' Line 6: Text differs: expected: resultFile = "testAlgLoop got: resultFile = "", == 1 out of 1 tests failed [openmodelica/cruntime/optimization/basic/testAlgLoop5.mos_temp2876, time: 16]