Failedopenmodelica_cruntime_optimization_basic.testAlgLoop7.mos (from (result.xml)) StacktraceOutput mismatch (see stdout for details) Standard Output+ testAlgLoop7 ... equation mismatch [time: 14] ==== Log /tmp/omc-rtest-adrpo33/openmodelica/cruntime/optimization/basic/testAlgLoop7.mos_temp921/log-testAlgLoop7.mos true "" true "" record SimulationResult resultFile = "testAlgLoop7_res.mat", simulationOptions = "startTime = 0.0, stopTime = 0.5, numberOfIntervals = 100, tolerance = 1e-012, method = 'optimization', fileNamePrefix = 'testAlgLoop7', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_IPOPT_ERROR -optimizerNP 1 -iif ReferenceFiles/testAlgLoop7_ref.mat -iim none -ipopt_init FILE'", messages = "assert | warning | The following assertion has been violated at time 0.000000 | | | | $EqCon$x2 >= 0.0 and $EqCon$x2 <= 0.0 assert | warning | Variable violating min/max constraint: 0.0 <= $EqCon$x2 <= 0.0, has value: 3 assert | warning | The following assertion has been violated at time 0.000000 | | | | $EqCon$x1 >= 0.0 and $EqCon$x1 <= 0.0 assert | warning | Variable violating min/max constraint: 0.0 <= $EqCon$x1 <= 0.0, has value: 0.864672 LOG_SUCCESS | info | The initialization finished successfully without homotopy method. Optimizer Variables ======================================================== State[0]:x1(start = 1, nominal = 2, min = -2, max = 2, init = 1) State[1]:x2(start = -1, nominal = 2, min = -2, max = 2, init = -1) Input[2]:$x1(start = 0, nominal = 1, min = -Inf, max = +Inf) Input[3]:$x2(start = 0, nominal = 1, min = -Inf, max = +Inf) Input[4]:u(start = 0.864672, nominal = 1, min = -1, max = 1) -------------------------------------------------------- number of nonlinear constraints: 3 ======================================================== 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 http://projects.coin-or.org/Ipopt ****************************************************************************** LOG_IPOPT_ERROR | info | max violation is 0.00630401 for the constraint $EqCon$x1(time = 0.17) LOG_IPOPT_ERROR | info | max violation is 2.64944e-005 for the constraint $EqCon$x2(time = 0.17) LOG_IPOPT_ERROR | info | max violation is 1.05608e-007 for the constraint $EqCon$x1(time = 0.17) LOG_IPOPT_ERROR | info | max violation is 1.86591e-005 for the constraint $EqCon$x2(time = 0.17) LOG_IPOPT_ERROR | info | max violation is 5.33147e-006 for the constraint $EqCon$x1(time = 0.435) LOG_IPOPT_ERROR | info | max violation is 4.28799e-008 for the constraint $EqCon$x1(time = 0.435) LOG_IPOPT_ERROR | info | max violation is 1.87085e-011 for the constraint $EqCon$x1(time = 0.445) LOG_IPOPT_ERROR | info | max violation is 4.44089e-016 for the constraint $EqCon$x1(time = 0.155) LOG_SUCCESS | info | The simulation finished successfully. " end SimulationResult; "" {"Files Equal!"} "Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead. " Equation mismatch: diff says: --- /tmp/omc-rtest-adrpo33/openmodelica/cruntime/optimization/basic/testAlgLoop7.mos_temp921/equations-expected2019-05-06 21:35:14.215867700 +0200 +++ /tmp/omc-rtest-adrpo33/openmodelica/cruntime/optimization/basic/testAlgLoop7.mos_temp921/equations-got2019-05-06 21:35:28.876881900 +0200 @@ -2,11 +2,11 @@ "" true "" record SimulationResult resultFile = "testAlgLoop7_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 0.5, numberOfIntervals = 100, tolerance = 1e-12, method = 'optimization', fileNamePrefix = 'testAlgLoop7', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_IPOPT_ERROR -optimizerNP 1 -iif ReferenceFiles/testAlgLoop7_ref.mat -iim none -ipopt_init FILE'", +simulationOptions = "startTime = 0.0, stopTime = 0.5, numberOfIntervals = 100, tolerance = 1e-012, method = 'optimization', fileNamePrefix = 'testAlgLoop7', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_IPOPT_ERROR -optimizerNP 1 -iif ReferenceFiles/testAlgLoop7_ref.mat -iim none -ipopt_init FILE'", messages = "assert | warning | The following assertion has been violated at time 0.000000 | | | | $EqCon$x2 >= 0.0 and $EqCon$x2 <= 0.0 assert | warning | Variable violating min/max constraint: 0.0 <= $EqCon$x2 <= 0.0, has value: 3 assert | warning | The following assertion has been violated at time 0.000000 | | | | $EqCon$x1 >= 0.0 and $EqCon$x1 <= 0.0 @@ -30,17 +30,17 @@ Ipopt is released as open source code under the Eclipse Public License (EPL). For more information visit http://projects.coin-or.org/Ipopt ****************************************************************************** LOG_IPOPT_ERROR | info | max violation is 0.00630401 for the constraint $EqCon$x1(time = 0.17) -LOG_IPOPT_ERROR | info | max violation is 2.64944e-05 for the constraint $EqCon$x2(time = 0.17) -LOG_IPOPT_ERROR | info | max violation is 1.05608e-07 for the constraint $EqCon$x1(time = 0.17) -LOG_IPOPT_ERROR | info | max violation is 1.86591e-05 for the constraint $EqCon$x2(time = 0.17) -LOG_IPOPT_ERROR | info | max violation is 5.33147e-06 for the constraint $EqCon$x1(time = 0.435) -LOG_IPOPT_ERROR | info | max violation is 4.28799e-08 for the constraint $EqCon$x1(time = 0.435) -LOG_IPOPT_ERROR | info | max violation is 1.87085e-11 for the constraint $EqCon$x1(time = 0.445) -LOG_IPOPT_ERROR | info | max violation is 4.44089e-16 for the constraint $EqCon$x1(time = 0.28) +LOG_IPOPT_ERROR | info | max violation is 2.64944e-005 for the constraint $EqCon$x2(time = 0.17) +LOG_IPOPT_ERROR | info | max violation is 1.05608e-007 for the constraint $EqCon$x1(time = 0.17) +LOG_IPOPT_ERROR | info | max violation is 1.86591e-005 for the constraint $EqCon$x2(time = 0.17) +LOG_IPOPT_ERROR | info | max violation is 5.33147e-006 for the constraint $EqCon$x1(time = 0.435) +LOG_IPOPT_ERROR | info | max violation is 4.28799e-008 for the constraint $EqCon$x1(time = 0.435) +LOG_IPOPT_ERROR | info | max violation is 1.87085e-011 for the constraint $EqCon$x1(time = 0.445) +LOG_IPOPT_ERROR | info | max violation is 4.44089e-016 for the constraint $EqCon$x1(time = 0.155) LOG_SUCCESS | info | The simulation finished successfully. " end SimulationResult; "" {"Files Equal!"} Equation mismatch: omc-diff says: ----------------------------------------------------------------------------------------------------------------Line 41: Real 0.28 != 0.155 eps: 0.005000, actual diff: 0.125000 == 1 out of 1 tests failed [openmodelica/cruntime/optimization/basic/testAlgLoop7.mos_temp921, time: 15] |