Skip to content

Failed

tests / 06 testsuite-clang 3/3 / openmodelica_cruntime_optimization_basic.testAlgLoop4.mos (from (result.xml))

Failing for the past 11 builds (Since #10 )
Took 1 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + testAlgLoop4                                                                      ... equation mismatch [time: 1]

==== Log /tmp/omc-rtest-omtmpuser/openmodelica/cruntime/optimization/basic/testAlgLoop4.mos_temp6821/log-testAlgLoop4.mos
true
""
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 50, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'testAlgLoop4', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_IPOPT_ERROR -optimizerNP 3'",
    messages = "Failed to run the optimize command: testAlgLoop4"
end SimulationResult;
"[BackEnd/BackendDAEUtil.mo:0:0-0:0:writable] Error: Internal error DAEUtil.getStartAttr failed because type Real has no default start value.
"
"Error in compareSimulationResults"
"Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
Error: Failed to open simulation result testAlgLoop4_res.mat: No such file or directory
Error: Error opening file: testAlgLoop4_res.mat
"

Equation mismatch: diff says:
--- /tmp/omc-rtest-omtmpuser/openmodelica/cruntime/optimization/basic/testAlgLoop4.mos_temp6821/equations-expected2024-04-20 01:46:30.724252004 +0000
+++ /tmp/omc-rtest-omtmpuser/openmodelica/cruntime/optimization/basic/testAlgLoop4.mos_temp6821/equations-got2024-04-20 01:46:31.420234936 +0000
@@ -1,42 +1,16 @@
 true
 ""
 true
 ""
 record SimulationResult
-resultFile = "testAlgLoop4_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 50, tolerance = 1e-08, method = 'optimization', fileNamePrefix = 'testAlgLoop4', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_IPOPT_ERROR -optimizerNP 3'",
-messages = "LOG_ASSERT        | warning | [<interactive>:5:3-5:18:writable]
-|                 | |       | The following assertion has been violated at time 0.000000
-|                 | |       | ((y >= 5.0)) --> \"Variable violating min constraint: 5.0 <= y, has value: 0\"
-LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-
-Optimizer Variables
-========================================================
-Input[0]:$y(start = 5, nominal = 5, min = 5, max = +Inf)
-Input[1]:$y1(start = 0, nominal = 1, min = -Inf, max = +Inf)
-Input[2]:$y2(start = 0, nominal = 1, min = -Inf, max = +Inf)
---------------------------------------------------------
-number of nonlinear constraints: 3
-========================================================
-
-******************************************************************************
-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 1 for the constraint $EqCon$y1(time = 1)
-LOG_IPOPT_ERROR   | info    | max violation is 0.999806 for the constraint $EqCon$y(time = 0.00310102)
-LOG_IPOPT_ERROR   | info    | max violation is 0.946572 for the constraint $EqCon$y(time = 0.012899)
-LOG_IPOPT_ERROR   | info    | max violation is 0.992574 for the constraint $EqCon$y(time = 0.012899)
-LOG_IPOPT_ERROR   | info    | max violation is 0.414963 for the constraint $EqCon$y(time = 0.012899)
-LOG_IPOPT_ERROR   | info    | max violation is 0.0281784 for the constraint $EqCon$y(time = 0.012899)
-LOG_IPOPT_ERROR   | info    | max violation is 7.46345e-06 for the constraint $EqCon$y(time = 0.012899)
-LOG_IPOPT_ERROR   | info    | max violation is 1.16403e-15 for the constraint $EqCon$y(time = 0.012899)
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 50, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'testAlgLoop4', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_IPOPT_ERROR -optimizerNP 3'",
+messages = "Failed to run the optimize command: testAlgLoop4"
 end SimulationResult;
-""
-{"Files Equal!"}
+"[BackEnd/BackendDAEUtil.mo:0:0-0:0:writable] Error: Internal error DAEUtil.getStartAttr failed because type Real has no default start value.
+"
+"Error in compareSimulationResults"
 "Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
+Error: Failed to open simulation result testAlgLoop4_res.mat: No such file or directory
+Error: Error opening file: testAlgLoop4_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/testAlgLoop4.mos_temp6821, time: 1]