Skip to content

Failed

simulation_modelica_commonSubExp.wrapFunctionCalls10.mos (from (result.xml))

Failing for the past 155 builds (Since #3553 )
Took 12 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + wrapFunctionCalls10                                                               ... equation mismatch [time: 12]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/modelica/commonSubExp/wrapFunctionCalls10.mos_temp9136/log-wrapFunctionCalls10.mos
true
""
true
""



###############################################################
Final Results
###############################################################

########### Updated Variable List (simulation) (1)
========================================
1: z2:VARIABLE()  type: Real


########### Updated Equation List (simulation) (1, 1)
========================================
1/1 (1): z2 = CSE.wrapFunctionCalls10.f1($cse1, time)   [unknown |0|0|0|0|]


########### Updated globalKnownVars (simulation) (6)
========================================
1: p1:PARAM()  = 5  type: Integer
2: p2:PARAM()  = 10  type: Integer
3: p3:PARAM()  = 1.0  type: Real
4: $cse1.d2 in $cse1:PARAM(protected = true )  = CSE.wrapFunctionCalls10.f2(p1, p2)  type: Integer unreplaceable
5: $cse1.d1 in $cse1:PARAM(protected = true )  = CSE.wrapFunctionCalls10.f2(p1, p2)  type: Integer unreplaceable
6: z1:PARAM()  = CSE.wrapFunctionCalls10.f1($cse1, p3)  type: Real


########### CSE Replacements (3/44)
========================================
1: z1 - CSE.wrapFunctionCalls10.f1($cse1, p3) - {}
2: $cse1 - CSE.wrapFunctionCalls10.f2(p1, p2) - {}
3: z2 - CSE.wrapFunctionCalls10.f1($cse1, time) - {}
record SimulationResult
    resultFile = "CSE.wrapFunctionCalls10_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'CSE.wrapFunctionCalls10', 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;
""
1

"Error: Failed to open simulation result ./ReferenceFiles/CSE.wrapFunctionCalls10_res.mat: No such file or directory
Error: Error opening reference file: ./ReferenceFiles/CSE.wrapFunctionCalls10_res.mat
"
Files not equal!

0
'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/commonSubExp/wrapFunctionCalls10.mos_temp9136/equations-expected"2024-04-19 13:02:53.082257500 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/commonSubExp/wrapFunctionCalls10.mos_temp9136/equations-got"2024-04-19 13:03:05.325258400 +0200
@@ -34,17 +34,19 @@
 1: z1 - CSE.wrapFunctionCalls10.f1($cse1, p3) - {}
 2: $cse1 - CSE.wrapFunctionCalls10.f2(p1, p2) - {}
 3: z2 - CSE.wrapFunctionCalls10.f1($cse1, time) - {}
 record SimulationResult
 resultFile = "CSE.wrapFunctionCalls10_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'CSE.wrapFunctionCalls10', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'CSE.wrapFunctionCalls10', 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;
 ""
-0
+1
 
-""
-Files equal!
+"Error: Failed to open simulation result ./ReferenceFiles/CSE.wrapFunctionCalls10_res.mat: No such file or directory
+Error: Error opening reference file: ./ReferenceFiles/CSE.wrapFunctionCalls10_res.mat
+"
+Files not equal!
 
 0
'' 
Equation mismatch: omc-diff says: 
Line 45: Integer 0 != 1

== 1 out of 1 tests failed [simulation/modelica/commonSubExp/wrapFunctionCalls10.mos_temp9136, time: 12]