Regression
openmodelica_linearization.simNonlinear.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ nonlinsys linearization ... equation mismatch [time: 29] ==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/openmodelica/linearization/simNonlinear.mos_temp8266/log-simNonlinear.mos true true "" record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'p.nonlinsys', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "Failed to run the linearize command: p.nonlinsys" 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\"). Warning: Out of memory! Faking a stack overflow. [BackEnd/BackendDAEUtil.mo:0:0-0:0:writable] Error: Internal error Stack overflow in BackendDAEUtil.getSolvedSystem... [bt] [Symbols are not generated when running the test suite] " false "" record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'linearized_model', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "Simulation Failed. Model: linearized_model does not exist! Please load it first before simulation." end SimulationResult; "" "" true "Error: Error opening file: linearized_model.log: No such file or directory. " record SimulationResult resultFile = "p.nonlinsys_res.mat", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'p.nonlinsys', 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: 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 "model linearized_model \"p_nonlinsys\" parameter Integer n = 3 \"number of states\"; parameter Integer m = 1 \"number of inputs\"; parameter Integer p = 2 \"number of outputs\"; parameter Integer nz = 6 \"data recovery variables\"; parameter Real x0[3] = {1, 1, 2}; parameter Real u0[1] = {0}; parameter Real z0[6] = {0, -6, -6, 0, 0, 0}; parameter Real A[n, n] = [0, 0, 0; 0, 5.999999994797209, -2.000000002708405; 0, 3.999999998752807, -6.000000017010549]; parameter Real B[n, m] = [0; 0; 0]; parameter Real C[p, n] = [0, 0, 0; 0, 0, 0]; parameter Real D[p, m] = [0; 0]; parameter Real Cz[nz, n] = [0, 0, 0; 0, 9.999999993550016, -8.000000019718954; 0, 9.999999993550016, -8.000000019718954; 0, 0, 0; 0, 0, 0; 0, 0, 0]; parameter Real Dz[nz, m] = [0; 0; 0; 1; 0; 0]; Real x[n](start = x0); input Real u[m](start = u0); output Real y[p]; output Real z[nz]; Real 'x_b1.x' = x[1]; Real 'x_c1.x1' = x[2]; Real 'x_c1.x2' = x[3]; Real 'u_u1' = u[1]; Real 'y_y1' = y[1]; Real 'y_y2' = y[2]; Real 'z_a1.y' = z[1]; Real 'z_c1.y' = z[2]; Real 'z_c1.y1' = z[3]; Real 'z_u1' = z[4]; Real 'z_y1' = z[5]; Real 'z_y2' = z[6]; equation der(x) = A*x + B*u; y = C*x + D*u; z = Cz*x + Dz*u; end linearized_model;" record SimulationResult resultFile = "linearized_model_res.mat", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', 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\"). " "LOG_SUCCESS | info | The initialization finished successfully without homotopy method. LOG_SUCCESS | info | The simulation finished successfully. " '' Equation mismatch: diff says: --- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/linearization/simNonlinear.mos_temp8266/equations-expected"2024-06-13 15:24:59.688604400 +0200 +++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/linearization/simNonlinear.mos_temp8266/equations-got"2024-06-13 15:25:28.065632100 +0200 @@ -1,60 +1,33 @@ true true "" record SimulationResult -resultFile = "p.nonlinsys_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'p.nonlinsys', 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. -" +resultFile = "", +simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'p.nonlinsys', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", +messages = "Failed to run the linearize command: p.nonlinsys" 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\"). +Warning: Out of memory! Faking a stack overflow. +[BackEnd/BackendDAEUtil.mo:0:0-0:0:writable] Error: Internal error Stack overflow in BackendDAEUtil.getSolvedSystem... +[bt] [Symbols are not generated when running the test suite] " -true -"model linearized_model \"p_nonlinsys\" -parameter Integer n = 3 \"number of states\"; -parameter Integer m = 1 \"number of inputs\"; -parameter Integer p = 2 \"number of outputs\"; -parameter Real x0[n] = {1, 1, 2}; -parameter Real u0[m] = {0}; -parameter Real A[n, n] = [0, 0, 0; 0, 6, -2; 0, 4, -6]; -parameter Real B[n, m] = [0; 0; 0]; -parameter Real C[p, n] = [0, 0, 0; 0, 0, 0]; -parameter Real D[p, m] = [0; 0]; -Real x[n](start = x0); -input Real u[m](start = u0); -output Real y[p]; -Real 'x_b1.x' = x[1]; -Real 'x_c1.x1' = x[2]; -Real 'x_c1.x2' = x[3]; -Real 'u_u1' = u[1]; -Real 'y_y1' = y[1]; -Real 'y_y2' = y[2]; -equation -der(x) = A*x + B*u; -y = C*x + D*u; -end linearized_model;" +false +"" record SimulationResult -resultFile = "linearized_model_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', 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. -" +resultFile = "", +simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'linearized_model', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", +messages = "Simulation Failed. Model: linearized_model does not exist! Please load it first before simulation." 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\"). -" -"LOG_SUCCESS | info | The initialization finished successfully without homotopy method. -LOG_SUCCESS | info | The simulation finished successfully. -" -true "" +"" +true +"Error: Error opening file: linearized_model.log: No such file or directory. +" record SimulationResult resultFile = "p.nonlinsys_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'p.nonlinsys', 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 = 'p.nonlinsys', 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. " @@ -97,11 +70,11 @@ y = C*x + D*u; z = Cz*x + Dz*u; end linearized_model;" record SimulationResult resultFile = "linearized_model_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'linearized_model', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", +simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', 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: Failed 'p' '"' Line 5: Text differs: expected: resultFile = "p.nonlinsys_res.mat", got: resultFile = "", == 1 out of 1 tests failed [openmodelica/linearization/simNonlinear.mos_temp8266, time: 39]