Skip to content

Failed

tests / 01 testsuite-gcc 1/3 / simulation_modelica_commonSubExp.cseFunctionCall8.mos (from (result.xml))

Failing for the past 44 builds (Since #1 )
Took 1 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

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

==== Log /tmp/omc-rtest-unknown/simulation/modelica/commonSubExp/cseFunctionCall8.mos_temp6450/log-cseFunctionCall8.mos
true
""
true
""
true
""



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

########### Updated Variable List (simulation) (7)
========================================
1: i:VARIABLE()  type: Real
2: u2:DUMMY_STATE()  type: Real
3: u1:STATE(1)()  type: Real
4: $DER.u2:DUMMY_DER(fixed = false )  type: Real
5: $cse3:VARIABLE(protected = true )  type: Real unreplaceable
6: $cse2:VARIABLE(protected = true )  type: Real unreplaceable
7: $cse1:VARIABLE(protected = true )  type: Real unreplaceable


########### Updated Equation List (simulation) (7, 7)
========================================
1/1 (1): 0.0 = $cse1 * der(u1) + $cse3 * u1 + $DER.u2   [dynamic |0|0|0|0|]
2/2 (1): i = C * $DER.u2   [dynamic |0|0|0|0|]
3/3 (1): i = C * der(u1)   [dynamic |0|0|0|0|]
4/4 (1): 10.0 = $cse1 * u1 + u2   [dynamic |0|0|0|0|]
5/5 (1): $cse3 = CSE.FunctionCallTest8.f_der(time, $cse2, 1.0)   [unknown |0|0|0|0|]
6/6 (1): $cse2 = CSE.FunctionCallTest8.g(time ^ 2.0)   [unknown |0|0|0|0|]
7/7 (1): $cse1 = CSE.FunctionCallTest8.f(time, $cse2)   [unknown |0|0|0|0|]


########### Updated globalKnownVars (simulation) (2)
========================================
1: u:VARIABLE(fixed = true )  = 10.0  type: Real
2: C:PARAM()  = 1.0  type: Real


########### CSE Replacements (3/46)
========================================
1: $cse1 - CSE.FunctionCallTest8.f(time, $cse2) - {}
2: $cse2 - CSE.FunctionCallTest8.g(time ^ 2.0) - {}
3: $cse3 - CSE.FunctionCallTest8.f_der(time, $cse2, 1.0) - {}
record SimulationResult
    resultFile = "CSE.FunctionCallTest8_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'CSE.FunctionCallTest8', 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;
""

Equation mismatch: diff says:
--- /tmp/omc-rtest-unknown/simulation/modelica/commonSubExp/cseFunctionCall8.mos_temp6450/equations-expected2024-01-13 02:54:56.665695546 +0000
+++ /tmp/omc-rtest-unknown/simulation/modelica/commonSubExp/cseFunctionCall8.mos_temp6450/equations-got2024-01-13 02:54:57.953705941 +0000
@@ -9,84 +9,46 @@
 
 ###############################################################
 Final Results
 ###############################################################
 
-########### Updated Variable List (jacobian) (5)
-========================================
-1: i.$pDERLSJac0.dummyVarLSJac0:VARIABLE()  type: Real
-2: $DER.u2.$pDERLSJac0.dummyVarLSJac0:VARIABLE(fixed = false )  type: Real
-3: $res_LSJac0_1.$pDERLSJac0.dummyVarLSJac0:VARIABLE()  type: Real unreplaceable
-4: $cse2:VARIABLE(protected = true )  type: Real unreplaceable
-5: $cse1:VARIABLE(protected = true )  type: Real unreplaceable
-
-
-########### Updated Equation List (jacobian) (5, 5)
-========================================
-1/1 (1): $res_LSJac0_1.$pDERLSJac0.dummyVarLSJac0 = C * $DER.u1.SeedLSJac0 - i.$pDERLSJac0.dummyVarLSJac0   [dynamic |0|0|0|0|]
-2/2 (1): i.$pDERLSJac0.dummyVarLSJac0 = C * $DER.u2.$pDERLSJac0.dummyVarLSJac0   [dynamic |0|0|0|0|]
-3/3 (1): 0.0 = $cse1 * $DER.u1.SeedLSJac0 + $DER.u2.$pDERLSJac0.dummyVarLSJac0   [dynamic |0|0|0|0|]
-4/4 (1): $cse2 = CSE.FunctionCallTest8.g(time ^ 2.0)   [unknown |0|0|0|0|]
-5/5 (1): $cse1 = CSE.FunctionCallTest8.f(time, $cse2)   [unknown |0|0|0|0|]
-
-
-########### Updated globalKnownVars (jacobian) (5)
-========================================
-1: C:PARAM()  = 1.0  type: Real
-2: $res_LSJac0_1:VARIABLE()  type: Real
-3: $DER.u2:DUMMY_DER(fixed = false )  type: Real
-4: i:VARIABLE()  type: Real
-5: input $DER.u1.SeedLSJac0:STATE_DER()  type: Real unreplaceable
-
-
-########### CSE Replacements (2/45)
-========================================
-1: $cse1 - CSE.FunctionCallTest8.f(time, $cse2) - {}
-2: $cse2 - CSE.FunctionCallTest8.g(time ^ 2.0) - {}
-
-
-
-###############################################################
-Final Results
-###############################################################
-
 ########### Updated Variable List (simulation) (7)
 ========================================
 1: i:VARIABLE()  type: Real
 2: u2:DUMMY_STATE()  type: Real
 3: u1:STATE(1)()  type: Real
 4: $DER.u2:DUMMY_DER(fixed = false )  type: Real
-5: $cse5:VARIABLE(protected = true )  type: Real unreplaceable
-6: $cse4:VARIABLE(protected = true )  type: Real unreplaceable
-7: $cse3:VARIABLE(protected = true )  type: Real unreplaceable
+5: $cse3:VARIABLE(protected = true )  type: Real unreplaceable
+6: $cse2:VARIABLE(protected = true )  type: Real unreplaceable
+7: $cse1:VARIABLE(protected = true )  type: Real unreplaceable
 
 
 ########### Updated Equation List (simulation) (7, 7)
 ========================================
-1/1 (1): 0.0 = $cse3 * der(u1) + $cse5 * u1 + $DER.u2   [dynamic |0|0|0|0|]
+1/1 (1): 0.0 = $cse1 * der(u1) + $cse3 * u1 + $DER.u2   [dynamic |0|0|0|0|]
 2/2 (1): i = C * $DER.u2   [dynamic |0|0|0|0|]
 3/3 (1): i = C * der(u1)   [dynamic |0|0|0|0|]
-4/4 (1): 10.0 = $cse3 * u1 + u2   [dynamic |0|0|0|0|]
-5/5 (1): $cse5 = CSE.FunctionCallTest8.f_der(time, $cse4, 1.0)   [unknown |0|0|0|0|]
-6/6 (1): $cse4 = CSE.FunctionCallTest8.g(time ^ 2.0)   [unknown |0|0|0|0|]
-7/7 (1): $cse3 = CSE.FunctionCallTest8.f(time, $cse4)   [unknown |0|0|0|0|]
+4/4 (1): 10.0 = $cse1 * u1 + u2   [dynamic |0|0|0|0|]
+5/5 (1): $cse3 = CSE.FunctionCallTest8.f_der(time, $cse2, 1.0)   [unknown |0|0|0|0|]
+6/6 (1): $cse2 = CSE.FunctionCallTest8.g(time ^ 2.0)   [unknown |0|0|0|0|]
+7/7 (1): $cse1 = CSE.FunctionCallTest8.f(time, $cse2)   [unknown |0|0|0|0|]
 
 
 ########### Updated globalKnownVars (simulation) (2)
 ========================================
 1: u:VARIABLE(fixed = true )  = 10.0  type: Real
 2: C:PARAM()  = 1.0  type: Real
 
 
 ########### CSE Replacements (3/46)
 ========================================
-1: $cse3 - CSE.FunctionCallTest8.f(time, $cse4) - {}
-2: $cse4 - CSE.FunctionCallTest8.g(time ^ 2.0) - {}
-3: $cse5 - CSE.FunctionCallTest8.f_der(time, $cse4, 1.0) - {}
+1: $cse1 - CSE.FunctionCallTest8.f(time, $cse2) - {}
+2: $cse2 - CSE.FunctionCallTest8.g(time ^ 2.0) - {}
+3: $cse3 - CSE.FunctionCallTest8.f_der(time, $cse2, 1.0) - {}
 record SimulationResult
 resultFile = "CSE.FunctionCallTest8_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'CSE.FunctionCallTest8', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'CSE.FunctionCallTest8', 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;
 ""

Equation mismatch: omc-diff says:
Failed 'j' 's'
Line 14: Text differs:
expected: ########### Updated Variable List (jacobian) (
got:      ########### Updated Variable List (simulation) (

== 1 out of 1 tests failed [simulation/modelica/commonSubExp/cseFunctionCall8.mos_temp6450, time: 1]