Skip to content

Failed

tests / 05 testsuite-clang 2/3 / openmodelica_cruntime_optimization_basic.testAlgLoop3.mos (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

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

==== Log /tmp/omc-rtest-omtmpuser/openmodelica/cruntime/optimization/basic/testAlgLoop3.mos_temp8535/log-testAlgLoop3.mos
true
""
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 50, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'testAlgLoop3', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_IPOPT_ERROR -optimizerNP 3'",
    messages = "Failed to run the optimize command: testAlgLoop3"
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 testAlgLoop3_res.mat: No such file or directory
Error: Error opening file: testAlgLoop3_res.mat
"

Equation mismatch: diff says:
--- /tmp/omc-rtest-omtmpuser/openmodelica/cruntime/optimization/basic/testAlgLoop3.mos_temp8535/equations-expected2024-04-20 01:46:55.751999276 +0000
+++ /tmp/omc-rtest-omtmpuser/openmodelica/cruntime/optimization/basic/testAlgLoop3.mos_temp8535/equations-got2024-04-20 01:46:56.743995439 +0000
@@ -1,35 +1,16 @@
 true
 ""
 true
 ""
 record SimulationResult
-resultFile = "testAlgLoop3_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 50, tolerance = 1e-08, method = 'optimization', fileNamePrefix = 'testAlgLoop3', 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
-========================================================
-Input[0]:$y1(start = 0, nominal = 1, min = -Inf, max = +Inf)
-Input[1]:$y2(start = 0, nominal = 1, min = -Inf, max = +Inf)
---------------------------------------------------------
-number of nonlinear constraints: 2
-========================================================
-
-******************************************************************************
-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.491941 for the constraint $EqCon$y2(time = 1)
-LOG_IPOPT_ERROR   | info    | max violation is 0.0251223 for the constraint $EqCon$y1(time = 1)
-LOG_IPOPT_ERROR   | info    | max violation is 9.99863e-05 for the constraint $EqCon$y1(time = 1)
-LOG_IPOPT_ERROR   | info    | max violation is 1.53473e-09 for the constraint $EqCon$y1(time = 1)
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 50, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'testAlgLoop3', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_IPOPT_ERROR -optimizerNP 3'",
+messages = "Failed to run the optimize command: testAlgLoop3"
 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 testAlgLoop3_res.mat: No such file or directory
+Error: Error opening file: testAlgLoop3_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/testAlgLoop3.mos_temp8535, time: 1]