Skip to content

Failed

tests / testsuite-clang / openmodelica_linearization.testDrumBoiler.mos (from (result.xml))

Failing for the past 1 build (Since #16 )
Took 0 ms.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + testDrumBoiler                                                                    ... equation mismatch [time: 0]

==== Log /tmp/omc-rtest-unknown/openmodelica/linearization/testDrumBoiler.mos_temp1565/log-testDrumBoiler.mos
false
"Error: Failed to load package Modelica (default) using MODELICAPATH /var/lib/jenkins/workspace/OpenModelica_maintenance_v1.13/build/lib/omlibrary.
"
true
true
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'testDrumBoilerLin', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to run the linearize command: testDrumBoilerLin"
end SimulationResult;
"[<interactive>:3:3-3:73:writable] Error: Base class Modelica.Fluid.Examples.DrumBoiler.DrumBoiler not found in scope testDrumBoilerLin.
Error: Error occurred while flattening model testDrumBoilerLin
"
false
""

Equation mismatch: diff says:
--- /tmp/omc-rtest-unknown/openmodelica/linearization/testDrumBoiler.mos_temp1565/equations-expected2019-01-18 20:38:37.650467521 +0000
+++ /tmp/omc-rtest-unknown/openmodelica/linearization/testDrumBoiler.mos_temp1565/equations-got2019-01-18 20:38:37.718466905 +0000
@@ -1,43 +1,15 @@
-true
-""
+false
+"Error: Failed to load package Modelica (default) using MODELICAPATH /var/lib/jenkins/workspace/OpenModelica_maintenance_v1.13/build/lib/omlibrary.
+"
 true
 true
 record SimulationResult
-resultFile = "testDrumBoilerLin_res.mat",
+resultFile = "",
 simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'testDrumBoilerLin', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = "stdout            | info    | Linearization will performed at point of time: 0.000000
-LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
-stdout            | info    | Linear model is created!
-"
+messages = "Failed to run the linearize command: testDrumBoilerLin"
 end SimulationResult;
-"Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
-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").
+"[<interactive>:3:3-3:73:writable] Error: Base class Modelica.Fluid.Examples.DrumBoiler.DrumBoiler not found in scope testDrumBoilerLin.
+Error: Error occurred while flattening model testDrumBoilerLin
 "
-true
-"model linear_testDrumBoilerLin
-parameter Integer n = 3 \"number of states\";
-parameter Integer p = 2 \"number of inputs\";
-parameter Integer q = 4 \"number of outputs\";
-parameter Real x0[n] = {0, 67, 100000};
-parameter Real u0[p] = {0, 0};
-parameter Real A[n, n] = [-0, -0.008333333333333333, -0; 0.01043953430921842, -0.01043953430921842, 0; 0.1178989396709045, -0.1178989396709045, 0];
-parameter Real B[n, p] = [0, 0; -0.001308242749261165, 0.0001170710024614632; -19.14622757506175, 8.475892309753029];
-parameter Real C[q, n] = [0, 0, 0.0001439468903880629; 0, 1, 0; 0, 0, 1e-05; 0, 0, 0];
-parameter Real D[q, p] = [0, 0; 0, 0; 0, 0; 1, 0];
-Real x[n](start = x0);
-input Real u[p](start = u0);
-output Real y[q];
-Real 'x_controller.x' = x[1];
-Real 'x_evaporator.V_l' = x[2];
-Real 'x_evaporator.p' = x[3];
-Real 'u_Y_Valve' = u[1];
-Real 'u_q_F' = u[2];
-Real 'y_T_S' = y[1];
-Real 'y_V_l' = y[2];
-Real 'y_p_S' = y[3];
-Real 'y_qm_S' = y[4];
-equation
-der(x) = A * x + B * u;
-y = C * x + D * u;
-end linear_testDrumBoilerLin;"
+false
+""

Equation mismatch: omc-diff says:
Failed 't' 'f'
Line 1: Text differs:
expected: true
got:      false

== 1 out of 1 tests failed [openmodelica/linearization/testDrumBoiler.mos_temp1565, time: 0]