Skip to content

Regression

simulation_modelica_initialization.redundantInitialEquations.mos (from (result.xml))

Failing for the past 1 build (Since #3850 )
Took 14 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

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

==== Log C:\Users\OPENMO~1\AppData\Local\Temp/omc-rtest-OpenModelica/simulation/modelica/initialization/redundantInitialEquations.mos_temp2062/log-redundantInitialEquations.mos
true
""
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'redundantInitialEquations', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: redundantInitialEquations"
end SimulationResult;
"Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: der(p1) = 0.0 -> 0.0 = 0.0
Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: 0.0 = der(p1) -> 0.0 = 0.0
Warning: The following initial equation is inconsistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: der(p1) = 1.0 -> 0.0 = 1.0
Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: p1 = p1
Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: p1 * p2 = p2 * p1
Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system:
         $DER.p3 = 0.0.
Error: Error building simulator. Build log: RESULT: -1073741502
"
'' 
Equation mismatch: diff says: 
--- "C:\\Users\\OPENMO~1\\AppData\\Local\\Temp/omc-rtest-OpenModelica/simulation/modelica/initialization/redundantInitialEquations.mos_temp2062/equations-expected"2024-07-01 14:50:15.399713000 +0200
+++ "C:\\Users\\OPENMO~1\\AppData\\Local\\Temp/omc-rtest-OpenModelica/simulation/modelica/initialization/redundantInitialEquations.mos_temp2062/equations-got"2024-07-01 14:50:16.279712300 +0200
@@ -1,19 +1,18 @@
 true
 ""
 true
 ""
 record SimulationResult
-resultFile = "redundantInitialEquations_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'redundantInitialEquations', 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 = 0.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'redundantInitialEquations', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: redundantInitialEquations"
 end SimulationResult;
 "Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: der(p1) = 0.0 -> 0.0 = 0.0
 Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: 0.0 = der(p1) -> 0.0 = 0.0
 Warning: The following initial equation is inconsistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: der(p1) = 1.0 -> 0.0 = 1.0
 Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: p1 = p1
 Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: p1 * p2 = p2 * p1
 Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system:
 $DER.p3 = 0.0.
+Error: Error building simulator. Build log: RESULT: -1073741502
 "
'' 
Equation mismatch: omc-diff says: 
Failed 'r' '"'
Line 6: Text differs:
expected: resultFile = "redundantInitialEquations_res.mat",
got:      resultFile = "",

== 1 out of 1 tests failed [simulation/modelica/initialization/redundantInitialEquations.mos_temp2062, time: 14]