Skip to content

Failed

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

Failing for the past 150 builds (Since #3553 )
Took 13 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

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

==== Log C:\WINDOWS\TEMP/omc-rtest-OpenModelica/simulation/modelica/commonSubExp/wrapFunctionCalls8.mos_temp7056/log-wrapFunctionCalls8.mos
true
""
true
""



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

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


########### Updated Equation List (simulation) (1, 1)
========================================
1/1 (1): c = 5.0 + $cse1   [dynamic |0|0|0|0|]


########### Updated globalKnownVars (simulation) (9)
========================================
1: x:VARIABLE(fixed = true )  = sin(cos(p1))  type: Real
2: p1:PARAM()  = 5.0  type: Real
3: a:PARAM()  = sin(x)  type: Real
4: d in (d, b, _):PARAM()  = CSE.wrapFunctionCalls8.f1(x, x)  type: Real
5: b in (d, b, _):PARAM()  = CSE.wrapFunctionCalls8.f1(x, x)  type: Real
6: $cse4:PARAM(protected = true )  = cos(p1)  type: Real unreplaceable
7: $cse3:PARAM(protected = true )  = sin($cse4)  type: Real unreplaceable
8: $cse2 in ($cse2, _, _):PARAM(protected = true )  = CSE.wrapFunctionCalls8.f1(x, $cse3)  type: Real unreplaceable
9: $cse1:PARAM(protected = true )  = sin($cse2)  type: Real unreplaceable


########### CSE Replacements (6/46)
========================================
1: $cse1 - sin($cse2) - {}
2: ($cse2, _, _) - CSE.wrapFunctionCalls8.f1(x, $cse3) - {}
3: $cse3 - sin($cse4) - {}
4: $cse4 - cos(p1) - {}
5: (d, b, _) - CSE.wrapFunctionCalls8.f1(x, x) - {}
6: a - sin(x) - {}
record SimulationResult
    resultFile = "CSE.wrapFunctionCalls8_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'CSE.wrapFunctionCalls8', 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.wrapFunctionCalls8_res.mat: No such file or directory
Error: Error opening reference file: ./ReferenceFiles/CSE.wrapFunctionCalls8_res.mat
"
Files not equal!

0
'' 
Equation mismatch: diff says: 
--- "C:\\WINDOWS\\TEMP/omc-rtest-OpenModelica/simulation/modelica/commonSubExp/wrapFunctionCalls8.mos_temp7056/equations-expected"2024-04-18 14:44:31.444199000 +0200
+++ "C:\\WINDOWS\\TEMP/omc-rtest-OpenModelica/simulation/modelica/commonSubExp/wrapFunctionCalls8.mos_temp7056/equations-got"2024-04-18 14:44:43.736200200 +0200
@@ -40,17 +40,19 @@
 4: $cse4 - cos(p1) - {}
 5: (d, b, _) - CSE.wrapFunctionCalls8.f1(x, x) - {}
 6: a - sin(x) - {}
 record SimulationResult
 resultFile = "CSE.wrapFunctionCalls8_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'CSE.wrapFunctionCalls8', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'CSE.wrapFunctionCalls8', 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.wrapFunctionCalls8_res.mat: No such file or directory
+Error: Error opening reference file: ./ReferenceFiles/CSE.wrapFunctionCalls8_res.mat
+"
+Files not equal!
 
 0
'' 
Equation mismatch: omc-diff says: 
Line 51: Integer 0 != 1

== 1 out of 1 tests failed [simulation/modelica/commonSubExp/wrapFunctionCalls8.mos_temp7056, time: 13]