Skip to content

Failed

tests / 02 testsuite-gcc 2/3 / openmodelica_linearization.test_06.mos (from (result.xml))

Failing for the past 86 builds (Since #1 )
Took 17 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + test_06.mos                                                                       ... equation mismatch [time: 17]

==== Log /tmp/omc-rtest-unknown/openmodelica/linearization/test_06.mos_temp3764/log-test_06.mos
true
true
""
record SimulationResult
    resultFile = "simple_test_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'simple_test', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "LOG_STDOUT        | info    | Linearization will be performed at point of time: 0.000000
LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
LOG_SUCCESS       | info    | The simulation finished successfully.
LOG_STDOUT        | info    | Linear model is created.
"
end SimulationResult;
"Warning: There are nonlinear iteration variables with default zero start attribute found in NLSJac0. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions(\"-d=initialization\").
Warning: The initial conditions are not fully specified. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions(\"-d=initialization\").
"
true
""
true
""
record SimulationResult
    resultFile = "linearized_model_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'euler', fileNamePrefix = 'linearized_model', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
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->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions(\"-d=initialization\").
"
"model linearized_model \"simple_test\"
  parameter Integer n = 1 \"number of states\";
  parameter Integer m = 0 \"number of inputs\";
  parameter Integer p = 0 \"number of outputs\";
  parameter Real x0[n] = {0};
  parameter Real u0[m] = zeros(0);
  parameter Real A[n, n] = [0];
  parameter Real B[n, m] = zeros(n, m);
  parameter Real C[p, n] = zeros(p, n);
  parameter Real D[p, m] = zeros(p, m);
  Real x[n](start = x0);
  input Real u[m];
  output Real y[p];
  Real 'x_i1' = x[1];
equation
  der(x) = A*x + B*u;
  y = C*x + D*u;
end linearized_model;"
""
"LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
LOG_SUCCESS       | info    | The simulation finished successfully.
"
""
record SimulationResult
    resultFile = "simple_test_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'simple_test', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-l=0 -l_datarec'",
    messages = "LOG_STDOUT        | info    | Linearization will be performed at point of time: 0.000000
LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
LOG_SUCCESS       | info    | The simulation finished successfully.
LOG_STDOUT        | info    | Linear model is created.
"
end SimulationResult;
"Warning: There are nonlinear iteration variables with default zero start attribute found in NLSJac4. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions(\"-d=initialization\").
Warning: The initial conditions are not fully specified. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions(\"-d=initialization\").
"
true
""
record SimulationResult
    resultFile = "linearized_model_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'euler', fileNamePrefix = 'linearized_model', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
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->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions(\"-d=initialization\").
"
"model linearized_model \"simple_test\"
  parameter Integer n = 1 \"number of states\";
  parameter Integer m = 0 \"number of inputs\";
  parameter Integer p = 0 \"number of outputs\";
  parameter Integer nz = 3 \"data recovery variables\";
  parameter Real x0[1] = {0};
  parameter Real u0[0] = zeros(0);
  parameter Real z0[3] = {0, 0, 0};
  parameter Real A[n, n] = [0];
  parameter Real B[n, m] = zeros(n, m);
  parameter Real C[p, n] = zeros(p, n);
  parameter Real D[p, m] = zeros(p, m);
  parameter Real Cz[nz, n] = [0; 0; 0];
  parameter Real Dz[nz, m] = zeros(nz, m);
  Real x[n](start = x0);
  input Real u[m];
  output Real y[p];
  output Real z[nz];
  Real 'x_i1' = x[1];
  Real 'z_u' = z[1];
  Real 'z_u1' = z[2];
  Real 'z_u2' = z[3];
equation
  der(x) = A*x + B*u;
  y = C*x + D*u;
  z = Cz*x + Dz*u;
end linearized_model;"
""
"LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
LOG_SUCCESS       | info    | The simulation finished successfully.
"
""

Equation mismatch: diff says:
--- /tmp/omc-rtest-unknown/openmodelica/linearization/test_06.mos_temp3764/equations-expected2024-01-20 04:04:57.891540629 +0000
+++ /tmp/omc-rtest-unknown/openmodelica/linearization/test_06.mos_temp3764/equations-got2024-01-20 04:05:14.623540583 +0000
@@ -1,11 +1,11 @@
 true
 true
 ""
 record SimulationResult
 resultFile = "simple_test_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'simple_test', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'simple_test', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
 messages = "LOG_STDOUT        | info    | Linearization will be performed at point of time: 0.000000
 LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
 LOG_SUCCESS       | info    | The simulation finished successfully.
 LOG_STDOUT        | info    | Linear model is created.
 "
@@ -17,11 +17,11 @@
 ""
 true
 ""
 record SimulationResult
 resultFile = "linearized_model_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'euler', fileNamePrefix = 'linearized_model', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'euler', fileNamePrefix = 'linearized_model', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
 messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
 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->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions(\"-d=initialization\").
@@ -49,25 +49,25 @@
 LOG_SUCCESS       | info    | The simulation finished successfully.
 "
 ""
 record SimulationResult
 resultFile = "simple_test_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'simple_test', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-l=0 -l_datarec'",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'simple_test', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-l=0 -l_datarec'",
 messages = "LOG_STDOUT        | info    | Linearization will be performed at point of time: 0.000000
 LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
 LOG_SUCCESS       | info    | The simulation finished successfully.
 LOG_STDOUT        | info    | Linear model is created.
 "
 end SimulationResult;
-"Warning: There are nonlinear iteration variables with default zero start attribute found in NLSJac3. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions(\"-d=initialization\").
+"Warning: There are nonlinear iteration variables with default zero start attribute found in NLSJac4. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions(\"-d=initialization\").
 Warning: The initial conditions are not fully specified. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions(\"-d=initialization\").
 "
 true
 ""
 record SimulationResult
 resultFile = "linearized_model_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'euler', fileNamePrefix = 'linearized_model', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'euler', fileNamePrefix = 'linearized_model', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
 messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
 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->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions(\"-d=initialization\").

Equation mismatch: omc-diff says:
Line 61: Integer 3 != 4

== 1 out of 1 tests failed [openmodelica/linearization/test_06.mos_temp3764, time: 17]