Skip to content

Failed

tests / testsuite-clang / simulation_modelica_inlineFunction.testBug4808.mos (from (result.xml))

Failing for the past 2 builds (Since #7 )
Took 0 ms.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + ticket4808                                                                        ... equation mismatch [time: 0]

==== Log /tmp/omc-rtest-unknown/simulation/modelica/inlineFunction/testBug4808.mos_temp9543/log-testBug4808.mos
false
"Error: Failed to load package Modelica (3.2.2) using MODELICAPATH /var/lib/jenkins/workspace/OpenModelica_maintenance_v1.13/build/lib/omlibrary.
"
true
""
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'foobar', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: foobar"
end SimulationResult;
"[<interactive>:3:3-3:14:writable] Error: Class Complex not found in scope foobar.
Error: Error occurred while flattening model foobar
"


""

Equation mismatch: diff says:
--- /tmp/omc-rtest-unknown/simulation/modelica/inlineFunction/testBug4808.mos_temp9543/equations-expected2018-12-16 19:50:02.411423909 +0000
+++ /tmp/omc-rtest-unknown/simulation/modelica/inlineFunction/testBug4808.mos_temp9543/equations-got2018-12-16 19:50:02.531422715 +0000
@@ -1,114 +1,18 @@
+false
+"Error: Failed to load package Modelica (3.2.2) using MODELICAPATH /var/lib/jenkins/workspace/OpenModelica_maintenance_v1.13/build/lib/omlibrary.
+"
 true
 ""
 true
 ""
-true
-""
-
-########################################
-dumpdaelow
-########################################
-
-
-unknown partition
-========================================
-
-Variables (6)
-========================================
-1: k.im:VARIABLE()  "Imaginary part of complex number" type: Real 
-2: k.re:VARIABLE()  "Real part of complex number" type: Real 
-3: vA.im:VARIABLE()  "Imaginary part of complex number" type: Real 
-4: vA.re:VARIABLE()  "Real part of complex number" type: Real 
-5: vAt.im:VARIABLE()  "Imaginary part of complex number" type: Real 
-6: vAt.re:VARIABLE()  "Real part of complex number" type: Real 
-
-
-Equations (6, 6)
-========================================
-1/1 (1): k.im = 0.0   [dynamic |0|0|0|0|]
-2/2 (1): k.re = r   [dynamic |0|0|0|0|]
-3/3 (1): vAt.im = k.re * vA.im + k.im * vA.re   [dynamic |0|0|0|0|]
-4/4 (1): vAt.re = k.re * vA.re - k.im * vA.im   [dynamic |0|0|0|0|]
-5/5 (1): vAt.re = time   [dynamic |0|0|0|0|]
-6/6 (1): vAt.im = 2.0 * time   [dynamic |0|0|0|0|]
-
-
-Simple Equations (0, 0)
-========================================
-
-
-State Sets
-========================================
-
-
-no matching
-
-
-
-BackendDAEType: simulation
-
-
-Known variables only depending on parameters and constants - globalKnownVars (1)
-========================================
-1: r:PARAM()  = 10.0  type: Real 
-
-
-Known variables only depending on states and inputs - localKnownVars (0)
-========================================
-
-
-External Objects (0)
-========================================
-
-
-Classes of External Objects (0)
-========================================
-
-
-Alias Variables (0)
-========================================
-
-
-Simple Shared Equations (0, 0)
-========================================
-
-
-Initial Equations (0, 0)
-========================================
-
-
-Zero Crossings (0)
-========================================
-
-
-Relations (0)
-========================================
-
-
-Time Events (0)
-========================================
-
-
-Constraints (0)
-========================================
-
-
-Base partitions (0)
-========================================
-
-
-Sub partitions (0)
-========================================
-
-
 record SimulationResult
-resultFile = "foobar_res.mat",
+resultFile = "",
 simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'foobar', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
+messages = "Failed to build model: foobar"
 end SimulationResult;
-""
-{0.0,0.2}
-{0.0,0.1}
+"[<interactive>:3:3-3:14:writable] Error: Class Complex not found in scope foobar.
+Error: Error occurred while flattening model foobar
+"
+
+
 ""

Equation mismatch: omc-diff says:
Failed 't' 'f'
Line 1: Text differs:
expected: true
got:      false

== 1 out of 1 tests failed [simulation/modelica/inlineFunction/testBug4808.mos_temp9543, time: 0]