Skip to content

Failed

tests / testsuite-clang / openmodelica_cppruntime.mathFunctionsTest.mos (from (result.xml))

Failing for the past 1 build (Since #16 )
Took 1 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

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

==== Log /tmp/omc-rtest-unknown/openmodelica/cppruntime/mathFunctionsTest.mos_temp9877/log-mathFunctionsTest.mos
true
false
true
"Error: Failed to load package Modelica (default) using MODELICAPATH /var/lib/jenkins/workspace/OpenModelica_maintenance_v1.13/build/lib/omlibrary.
"
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'MathFunctions.Test', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: MathFunctions.Test"
end SimulationResult;









"[<interactive>:5:5-5:45:writable] Error: Class Modelica.Math.acos not found in scope MathFunctions.f (looking for a function or record).
[<interactive>:28:5-28:63:writable] Error: Class f not found in scope MathFunctions.Test (looking for a function or record).
Error: Error occurred while flattening model MathFunctions.Test
"

Equation mismatch: diff says:
--- /tmp/omc-rtest-unknown/openmodelica/cppruntime/mathFunctionsTest.mos_temp9877/equations-expected2019-01-18 20:39:05.918211943 +0000
+++ /tmp/omc-rtest-unknown/openmodelica/cppruntime/mathFunctionsTest.mos_temp9877/equations-got2019-01-18 20:39:06.006211147 +0000
@@ -1,19 +1,23 @@
 true
+false
 true
-true
-""
+"Error: Failed to load package Modelica (default) using MODELICAPATH /var/lib/jenkins/workspace/OpenModelica_maintenance_v1.13/build/lib/omlibrary.
+"
 record SimulationResult
-resultFile = "MathFunctions.Test_res.mat",
+resultFile = "",
 simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'MathFunctions.Test', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = ""
+messages = "Failed to build model: MathFunctions.Test"
 end SimulationResult;
-1.0
-1.0
-1.0
-1.0
-1.0
-0.0
-2.0
-2.0
-0.0
-""
+
+
+
+
+
+
+
+
+
+"[<interactive>:5:5-5:45:writable] Error: Class Modelica.Math.acos not found in scope MathFunctions.f (looking for a function or record).
+[<interactive>:28:5-28:63:writable] Error: Class f not found in scope MathFunctions.Test (looking for a function or record).
+Error: Error occurred while flattening model MathFunctions.Test
+"

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

== 1 out of 1 tests failed [openmodelica/cppruntime/mathFunctionsTest.mos_temp9877, time: 1]