Failed
tests / testsuite-gcc / openmodelica_linearization.testSteamPipe.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ testSteamPipe ... equation mismatch [time: 0] ==== Log /tmp/omc-rtest-unknown/openmodelica/linearization/testSteamPipe.mos_temp3524/log-testSteamPipe.mos false "Error: Failed to load package Modelica (default) using MODELICAPATH /var/lib/jenkins/workspace/OpenModelica_maintenance_v1.13/build/lib/omlibrary. " true true true record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'testSteamPipeLin', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "Failed to run the linearize command: testSteamPipeLin" end SimulationResult; "[openmodelica/linearization/SteamPipe.mo:7:3-7:46:writable] Error: Class SI.Volume not found in scope SteamPipe. Error: Error occurred while flattening model testSteamPipeLin " false "" Equation mismatch: diff says: --- /tmp/omc-rtest-unknown/openmodelica/linearization/testSteamPipe.mos_temp3524/equations-expected2019-01-09 22:35:10.469350092 +0000 +++ /tmp/omc-rtest-unknown/openmodelica/linearization/testSteamPipe.mos_temp3524/equations-got2019-01-09 22:35:10.605349696 +0000 @@ -1,37 +1,16 @@ -true -"" +false +"Error: Failed to load package Modelica (default) using MODELICAPATH /var/lib/jenkins/workspace/OpenModelica_maintenance_v1.13/build/lib/omlibrary. +" true true true record SimulationResult -resultFile = "testSteamPipeLin_res.mat", +resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'testSteamPipeLin', 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: testSteamPipeLin" end SimulationResult; +"[openmodelica/linearization/SteamPipe.mo:7:3-7:46:writable] Error: Class SI.Volume not found in scope SteamPipe. +Error: Error occurred while flattening model testSteamPipeLin +" +false "" -true -"model linear_testSteamPipeLin -parameter Integer n = 4 \"number of states\"; -parameter Integer p = 0 \"number of inputs\"; -parameter Integer q = 0 \"number of outputs\"; -parameter Real x0[n] = {3100000, 3100000, 1000000, 1000000}; -parameter Real u0[p] = zeros(0); -parameter Real A[n, n] = [0, 0, -7.506579624472663, 7.506579624472661; 0, 0, 7.506579624472663, -15.01315924894532; 0, 0, -27.8910278969507, 27.8910278969507; 0, 0, 27.8910278969507, -55.78205579390141]; -parameter Real B[n, p] = zeros(n, p); -parameter Real C[q, n] = zeros(q, n); -parameter Real D[q, p] = zeros(q, p); -Real x[n](start = x0); -input Real u[p]; -output Real y[q]; -Real 'x_h[1]' = x[1]; -Real 'x_h[2]' = x[2]; -Real 'x_p[1]' = x[3]; -Real 'x_p[2]' = x[4]; -equation -der(x) = A * x + B * u; -y = C * x + D * u; -end linear_testSteamPipeLin;" Equation mismatch: omc-diff says: Failed 't' 'f' Line 1: Text differs: expected: true got: false == 1 out of 1 tests failed [openmodelica/linearization/testSteamPipe.mos_temp3524, time: 0]