Failed
simulation_modelica_commonSubExp.wrapFunctionCalls13.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ wrapFunctionCalls13 ... equation mismatch [time: 13] ==== Log C:\Users\OPENMO~1\AppData\Local\Temp/omc-rtest-OpenModelica/simulation/modelica/commonSubExp/wrapFunctionCalls13.mos_temp3617/log-wrapFunctionCalls13.mos true "" true "" ############################################################### Final Results ############################################################### ########### Updated Variable List (simulation) (5) ======================================== 1: z:VARIABLE() type: Real 2: x:DISCRETE() type: Integer 3: $cse3:VARIABLE(protected = true ) type: Real unreplaceable 4: $cse2:VARIABLE(protected = true ) type: Real unreplaceable 5: $cse1:VARIABLE(protected = true ) type: Real unreplaceable ########### Updated Equation List (simulation) (5, 5) ======================================== 1/1 (1): $cse1 = $cse2 [dynamic |0|0|0|0|] 2/2 (1): 1.0 + z = $cse3 [dynamic |0|0|0|0|] 3/3 (1): $cse3 = sin($cse1) [unknown |0|0|0|0|] 4/4 (1): $cse2 = CSE.wrapFunctionCalls13.f1(dat.d1, p1, 2 * p1) [unknown |0|0|0|0|] 5/5 (1): $cse1 = CSE.wrapFunctionCalls13.f1(x, p1, 2 * p1) [unknown |0|0|0|0|] ########### Updated globalKnownVars (simulation) (3) ======================================== 1: p1:PARAM() = 5 type: Integer 2: dat.d2 in dat:PARAM() = CSE.wrapFunctionCalls13.f2(p1, 2 * p1) type: Integer 3: dat.d1 in dat:PARAM() = CSE.wrapFunctionCalls13.f2(p1, 2 * p1) type: Integer ########### CSE Replacements (4/46) ======================================== 1: dat - CSE.wrapFunctionCalls13.f2(p1, 2 * p1) - {} 2: $cse1 - CSE.wrapFunctionCalls13.f1(x, p1, 2 * p1) - {} 3: $cse2 - CSE.wrapFunctionCalls13.f1(dat.d1, p1, 2 * p1) - {} 4: $cse3 - sin($cse1) - {} ######################################## dumpindxdae ######################################## unspecified partition ======================================== Variables (1) ======================================== 1: $cse2:VARIABLE(protected = true ) type: Real unreplaceable Equations (1, 1) ======================================== 1/1 (1): $cse2 = CSE.wrapFunctionCalls13.f1(dat.d1, p1, 2 * p1) [binding |0|0|0|0|] Matching ======================================== 1 variables and equations var 1 is solved in eqn 1 StrongComponents ======================================== {1:1} unknown partition ======================================== Variables (4) ======================================== 1: z:VARIABLE() type: Real 2: x:DISCRETE() type: Integer 3: $cse3:VARIABLE(protected = true ) type: Real unreplaceable 4: $cse1:VARIABLE(protected = true ) type: Real unreplaceable Equations (4, 4) ======================================== 1/1 (1): $cse1 = $cse2 [dynamic |0|0|0|0|] 2/2 (1): $cse3 = sin($cse1) [unknown |0|0|0|0|] 3/3 (1): z = $cse3 - 1.0 [dynamic |0|0|0|0|] 4/4 (1): x = $cse1 - CSE.wrapFunctionCalls13.f1(0.0, p1, 2 * p1) [unknown |0|0|0|0|] Matching ======================================== 4 variables and equations var 1 is solved in eqn 3 var 2 is solved in eqn 4 var 3 is solved in eqn 2 var 4 is solved in eqn 1 StrongComponents ======================================== {1:4} {2:3} {3:1} {4:2} BackendDAEType: simulation Known variables only depending on parameters and constants - globalKnownVars (3) ======================================== 1: p1:PARAM() = 5 type: Integer 2: dat.d1 in dat:PARAM() = CSE.wrapFunctionCalls13.f2(p1, 2 * p1) type: Integer 3: dat.d2 in dat:PARAM() = CSE.wrapFunctionCalls13.f2(p1, 2 * p1) type: Integer parameters in order (1) ======================================== 9: dat := CSE.wrapFunctionCalls13.f2(p1, 2 * p1); record SimulationResult resultFile = "CSE.wrapFunctionCalls13_res.mat", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'CSE.wrapFunctionCalls13', 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.wrapFunctionCalls13_res.mat: No such file or directory Error: Error opening reference file: ./ReferenceFiles/CSE.wrapFunctionCalls13_res.mat " Files not equal! 0 '' Equation mismatch: diff says: --- "C:\\Users\\OPENMO~1\\AppData\\Local\\Temp/omc-rtest-OpenModelica/simulation/modelica/commonSubExp/wrapFunctionCalls13.mos_temp3617/equations-expected"2024-09-25 14:04:50.094687400 +0200 +++ "C:\\Users\\OPENMO~1\\AppData\\Local\\Temp/omc-rtest-OpenModelica/simulation/modelica/commonSubExp/wrapFunctionCalls13.mos_temp3617/equations-got"2024-09-25 14:05:03.304687500 +0200 @@ -123,17 +123,19 @@ 9: dat := CSE.wrapFunctionCalls13.f2(p1, 2 * p1); record SimulationResult resultFile = "CSE.wrapFunctionCalls13_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'CSE.wrapFunctionCalls13', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", +simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'CSE.wrapFunctionCalls13', 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.wrapFunctionCalls13_res.mat: No such file or directory +Error: Error opening reference file: ./ReferenceFiles/CSE.wrapFunctionCalls13_res.mat +" +Files not equal! 0 '' Equation mismatch: omc-diff says: Line 134: Integer 0 != 1 == 1 out of 1 tests failed [simulation/modelica/commonSubExp/wrapFunctionCalls13.mos_temp3617, time: 13]