## Failedopenmodelica_cruntime_optimization_basic.TFC8.mos (from (result.xml)) ## StacktraceOutput mismatch (see stdout for details) ## Standard Output+ testFinalCon_8 ... equation mismatch [time: 3] ==== Log /tmp/omc-rtest-hudson/openmodelica/cruntime/optimization/basic/TFC8.mos_temp4129/log-TFC8.mos true "" true "" record SimulationResult resultFile = "testFinalCon8_res.mat", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 50, tolerance = 1e-08, method = 'optimization', fileNamePrefix = 'testFinalCon8', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_IPOPT_ERROR -optimizerNP 3'", messages = "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 http://projects.coin-or.org/Ipopt ****************************************************************************** LOG_IPOPT_ERROR | info | max violation is 3.25 for the final constraint $finalCon$final_con2(time = 5) LOG_IPOPT_ERROR | info | max error is 2.63392 for the approximation of the state x1(time = 5) LOG_IPOPT_ERROR | info | max error is 0.0144855 for the approximation of the state x1(time = 1.46184) LOG_IPOPT_ERROR | info | max error is 0.884221 for the approximation of the state x1(time = 1.46184) LOG_IPOPT_ERROR | info | max error is 0.0749885 for the approximation of the state x1(time = 1.46184) LOG_IPOPT_ERROR | info | max error is 50.4872 for the approximation of the state x1(time = 0.990311) LOG_IPOPT_ERROR | info | max error is 7.92963 for the approximation of the state x1(time = 0.990311) LOG_IPOPT_ERROR | info | max error is 1.14239 for the approximation of the state x1(time = 0.990311) LOG_IPOPT_ERROR | info | max error is 10.8951 for the approximation of the state x1(time = 0.990311) LOG_IPOPT_ERROR | info | max error is 0.953146 for the approximation of the state x1(time = 0.532092) LOG_IPOPT_ERROR | info | max error is 31.9539 for the approximation of the state x1(time = 0.532092) LOG_IPOPT_ERROR | info | max error is 19.8977 for the approximation of the state x2(time = 0.532092) LOG_IPOPT_ERROR | info | max error is 19.8976 for the approximation of the state x2(time = 0.532092) LOG_IPOPT_ERROR | info | max error is 19.768 for the approximation of the state x2(time = 0.532092) LOG_IPOPT_ERROR | info | max error is 4.19047 for the approximation of the state x2(time = 0.532092) LOG_IPOPT_ERROR | info | max error is 0.24892 for the approximation of the state x2(time = 0.532092) LOG_IPOPT_ERROR | info | max error is 0.0475247 for the approximation of the state x2(time = 0.532092) LOG_IPOPT_ERROR | info | max error is 0.0391516 for the approximation of the state x2(time = 0.532092) LOG_IPOPT_ERROR | info | max error is 0.0383455 for the approximation of the state x2(time = 0.532092) LOG_IPOPT_ERROR | info | max error is 0.036909 for the approximation of the state x2(time = 0.532092) LOG_IPOPT_ERROR | info | max error is 0.0326283 for the approximation of the state x2(time = 0.532092) LOG_IPOPT_ERROR | info | max error is 0.0198222 for the approximation of the state x2(time = 0.532092) LOG_IPOPT_ERROR | info | max error is 0.0188024 for the approximation of the state x2(time = 0.532092) LOG_IPOPT_ERROR | info | max error is 0.135606 for the approximation of the state x2(time = 0.532092) LOG_IPOPT_ERROR | info | max error is 0.490164 for the approximation of the state x2(time = 0.532092) LOG_IPOPT_ERROR | info | max error is 1.60222 for the approximation of the state x2(time = 0.532092) LOG_IPOPT_ERROR | info | max error is 5.45059 for the approximation of the state x2(time = 0.532092) LOG_IPOPT_ERROR | info | max error is 24.5923 for the approximation of the state x2(time = 0.532092) LOG_IPOPT_ERROR | info | max error is 33.5538 for the approximation of the state x2(time = 0.532092) assert | debug | Solving non-linear system 59 failed at time=0.990310588177096. | | | | For more information please use -lv LOG_NLS. LOG_IPOPT_ERROR | info | max error is 83.6706 for the approximation of the state x2(time = 0.532092) assert | debug | Solving non-linear system 59 failed at time=0.990310588177096. | | | | For more information please use -lv LOG_NLS. LOG_IPOPT_ERROR | info | max error is 52.013 for the approximation of the state x2(time = 0.532092) assert | debug | Solving non-linear system 59 failed at time=0.990310588177096. | | | | For more information please use -lv LOG_NLS. LOG_IPOPT_ERROR | info | max error is 72.3484 for the approximation of the state x1(time = 0.990311) assert | debug | Solving non-linear system 59 failed at time=0.990310588177096. | | | | For more information please use -lv LOG_NLS. LOG_IPOPT_ERROR | info | max error is 29.6075 for the approximation of the state x2(time = 0.532092) assert | debug | Solving non-linear system 59 failed at time=0.990310588177096. | | | | For more information please use -lv LOG_NLS. LOG_IPOPT_ERROR | info | max error is 31.906 for the approximation of the state x2(time = 0.532092) assert | debug | Solving non-linear system 59 failed at time=0.990310588177096. | | | | For more information please use -lv LOG_NLS. LOG_IPOPT_ERROR | info | max error is 32.4034 for the approximation of the state x2(time = 0.532092) assert | debug | Solving non-linear system 59 failed at time=0.990310588177096. | | | | For more information please use -lv LOG_NLS. LOG_IPOPT_ERROR | info | max error is 32.4034 for the approximation of the state x2(time = 0.532092) assert | debug | Solving non-linear system 59 failed at time=0.990310588177096. | | | | For more information please use -lv LOG_NLS. LOG_IPOPT_ERROR | info | max error is 32.4038 for the approximation of the state x2(time = 0.532092) assert | debug | Solving non-linear system 59 failed at time=0.990310588177096. | | | | For more information please use -lv LOG_NLS. LOG_IPOPT_ERROR | info | max error is 32.4042 for the approximation of the state x2(time = 0.532092) assert | debug | Solving non-linear system 59 failed at time=0.990310588177096. | | | | For more information please use -lv LOG_NLS. LOG_IPOPT_ERROR | info | max error is 32.4042 for the approximation of the state x2(time = 0.532092) assert | debug | Solving non-linear system 59 failed at time=0.990310588177096. | | | | For more information please use -lv LOG_NLS. LOG_IPOPT_ERROR | info | max error is 32.4042 for the approximation of the state x2(time = 0.532092) Restoration phase is called at point that is almost feasible, with constraint violation 0.000000e+00. Abort. stdout | warning | No optimal solution found! | | | | Use -lv=LOG_IPOPT for more information. assert | debug | Solving non-linear system 59 failed at time=0.990310588177096. | | | | For more information please use -lv LOG_NLS. 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->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization"). Warning: There are iteration variables with default zero start attribute. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization"). " {"Files not Equal!","y3","y2","y1","x2","x1","u","final_con2","final_con1","der(x2)","der(x1)","cost"} "Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead. Warning: Files not Equal " Equation mismatch: diff says: --- /tmp/omc-rtest-hudson/openmodelica/cruntime/optimization/basic/TFC8.mos_temp4129/equations-expected2019-05-16 21:59:25.000000000 +0200 +++ /tmp/omc-rtest-hudson/openmodelica/cruntime/optimization/basic/TFC8.mos_temp4129/equations-got2019-05-16 21:59:28.000000000 +0200 @@ -21,21 +21,82 @@ 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 3.25 for the final constraint $finalCon$final_con2(time = 5) -LOG_IPOPT_ERROR | info | max error is 2.09989 for the approximation of the state x1(time = 5) -LOG_IPOPT_ERROR | info | max error is 0.309263 for the approximation of the state x1(time = 5) -LOG_IPOPT_ERROR | info | max error is 0.0557617 for the approximation of the state x1(time = 4.32669) -LOG_IPOPT_ERROR | info | max error is 0.009855 for the approximation of the state x1(time = 5) -LOG_IPOPT_ERROR | info | max error is 0.000186212 for the approximation of the state x1(time = 4.32669) -LOG_IPOPT_ERROR | info | max error is 1.28519e-07 for the approximation of the state x1(time = 4.32669) -LOG_IPOPT_ERROR | info | max violation is 4.99295e-08 for the final constraint $finalCon$final_con2(time = 5) +LOG_IPOPT_ERROR | info | max error is 2.63392 for the approximation of the state x1(time = 5) +LOG_IPOPT_ERROR | info | max error is 0.0144855 for the approximation of the state x1(time = 1.46184) +LOG_IPOPT_ERROR | info | max error is 0.884221 for the approximation of the state x1(time = 1.46184) +LOG_IPOPT_ERROR | info | max error is 0.0749885 for the approximation of the state x1(time = 1.46184) +LOG_IPOPT_ERROR | info | max error is 50.4872 for the approximation of the state x1(time = 0.990311) +LOG_IPOPT_ERROR | info | max error is 7.92963 for the approximation of the state x1(time = 0.990311) +LOG_IPOPT_ERROR | info | max error is 1.14239 for the approximation of the state x1(time = 0.990311) +LOG_IPOPT_ERROR | info | max error is 10.8951 for the approximation of the state x1(time = 0.990311) +LOG_IPOPT_ERROR | info | max error is 0.953146 for the approximation of the state x1(time = 0.532092) +LOG_IPOPT_ERROR | info | max error is 31.9539 for the approximation of the state x1(time = 0.532092) +LOG_IPOPT_ERROR | info | max error is 19.8977 for the approximation of the state x2(time = 0.532092) +LOG_IPOPT_ERROR | info | max error is 19.8976 for the approximation of the state x2(time = 0.532092) +LOG_IPOPT_ERROR | info | max error is 19.768 for the approximation of the state x2(time = 0.532092) +LOG_IPOPT_ERROR | info | max error is 4.19047 for the approximation of the state x2(time = 0.532092) +LOG_IPOPT_ERROR | info | max error is 0.24892 for the approximation of the state x2(time = 0.532092) +LOG_IPOPT_ERROR | info | max error is 0.0475247 for the approximation of the state x2(time = 0.532092) +LOG_IPOPT_ERROR | info | max error is 0.0391516 for the approximation of the state x2(time = 0.532092) +LOG_IPOPT_ERROR | info | max error is 0.0383455 for the approximation of the state x2(time = 0.532092) +LOG_IPOPT_ERROR | info | max error is 0.036909 for the approximation of the state x2(time = 0.532092) +LOG_IPOPT_ERROR | info | max error is 0.0326283 for the approximation of the state x2(time = 0.532092) +LOG_IPOPT_ERROR | info | max error is 0.0198222 for the approximation of the state x2(time = 0.532092) +LOG_IPOPT_ERROR | info | max error is 0.0188024 for the approximation of the state x2(time = 0.532092) +LOG_IPOPT_ERROR | info | max error is 0.135606 for the approximation of the state x2(time = 0.532092) +LOG_IPOPT_ERROR | info | max error is 0.490164 for the approximation of the state x2(time = 0.532092) +LOG_IPOPT_ERROR | info | max error is 1.60222 for the approximation of the state x2(time = 0.532092) +LOG_IPOPT_ERROR | info | max error is 5.45059 for the approximation of the state x2(time = 0.532092) +LOG_IPOPT_ERROR | info | max error is 24.5923 for the approximation of the state x2(time = 0.532092) +LOG_IPOPT_ERROR | info | max error is 33.5538 for the approximation of the state x2(time = 0.532092) +assert | debug | Solving non-linear system 59 failed at time=0.990310588177096. +| | | | For more information please use -lv LOG_NLS. +LOG_IPOPT_ERROR | info | max error is 83.6706 for the approximation of the state x2(time = 0.532092) +assert | debug | Solving non-linear system 59 failed at time=0.990310588177096. +| | | | For more information please use -lv LOG_NLS. +LOG_IPOPT_ERROR | info | max error is 52.013 for the approximation of the state x2(time = 0.532092) +assert | debug | Solving non-linear system 59 failed at time=0.990310588177096. +| | | | For more information please use -lv LOG_NLS. +LOG_IPOPT_ERROR | info | max error is 72.3484 for the approximation of the state x1(time = 0.990311) +assert | debug | Solving non-linear system 59 failed at time=0.990310588177096. +| | | | For more information please use -lv LOG_NLS. +LOG_IPOPT_ERROR | info | max error is 29.6075 for the approximation of the state x2(time = 0.532092) +assert | debug | Solving non-linear system 59 failed at time=0.990310588177096. +| | | | For more information please use -lv LOG_NLS. +LOG_IPOPT_ERROR | info | max error is 31.906 for the approximation of the state x2(time = 0.532092) +assert | debug | Solving non-linear system 59 failed at time=0.990310588177096. +| | | | For more information please use -lv LOG_NLS. +LOG_IPOPT_ERROR | info | max error is 32.4034 for the approximation of the state x2(time = 0.532092) +assert | debug | Solving non-linear system 59 failed at time=0.990310588177096. +| | | | For more information please use -lv LOG_NLS. +LOG_IPOPT_ERROR | info | max error is 32.4034 for the approximation of the state x2(time = 0.532092) +assert | debug | Solving non-linear system 59 failed at time=0.990310588177096. +| | | | For more information please use -lv LOG_NLS. +LOG_IPOPT_ERROR | info | max error is 32.4038 for the approximation of the state x2(time = 0.532092) +assert | debug | Solving non-linear system 59 failed at time=0.990310588177096. +| | | | For more information please use -lv LOG_NLS. +LOG_IPOPT_ERROR | info | max error is 32.4042 for the approximation of the state x2(time = 0.532092) +assert | debug | Solving non-linear system 59 failed at time=0.990310588177096. +| | | | For more information please use -lv LOG_NLS. +LOG_IPOPT_ERROR | info | max error is 32.4042 for the approximation of the state x2(time = 0.532092) +assert | debug | Solving non-linear system 59 failed at time=0.990310588177096. +| | | | For more information please use -lv LOG_NLS. +LOG_IPOPT_ERROR | info | max error is 32.4042 for the approximation of the state x2(time = 0.532092) +Restoration phase is called at point that is almost feasible, +with constraint violation 0.000000e+00. Abort. +stdout | warning | No optimal solution found! +| | | | Use -lv=LOG_IPOPT for more information. +assert | debug | Solving non-linear system 59 failed at time=0.990310588177096. +| | | | For more information please use -lv LOG_NLS. 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->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization"). Warning: There are iteration variables with default zero start attribute. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization"). " -{"Files Equal!"} +{"Files not Equal!","y3","y2","y1","x2","x1","u","final_con2","final_con1","der(x2)","der(x1)","cost"} "Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead. +Warning: Files not Equal " Equation mismatch: omc-diff says: ----------------------------------------------------------------------------------------------------------------Line 26: Real 2.09989 != 2.63392 eps: 0.005000, actual diff: 0.534030 == 1 out of 1 tests failed [openmodelica/cruntime/optimization/basic/TFC8.mos_temp4129, time: 3] |