Skip to content

Failed

tests / 04 testsuite-clang 1/3 / simulation_modelica_spatialDistribution.test1.mos (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + test1.mos                                                                         ... equation mismatch [time: 10]

==== Log /tmp/omc-rtest-unknown/simulation/modelica/spatialDistribution/test1.mos_temp5836/log-test1.mos
true
""
true
""
record SimulationResult
    resultFile = "TestSpatialDiscretization.Test1_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 10000, tolerance = 1e-7, method = 'dassl', fileNamePrefix = 'TestSpatialDiscretization.Test1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv=LOG_EVENTS'",
    messages = "LOG_EVENTS        | info    | status of relations at time=0
|                 | |       | | [1] (pre:  true)  true = time < 0.5
|                 | |       | | [2] (pre:  true)  true = time < 0.1
|                 | |       | | [3] (pre:  true)  true = v > 0.0
|                 | |       | | [4] (pre: false) false = spatialDistributionZeroCrossing(0, 3, x, isPosVel)
|                 | |       | | [5] (pre:  true)  true = time < 0.35
|                 | |       | | [6] (pre:  true)  true = time < 0.75
LOG_EVENTS        | info    | status of zero crossings at time=0
|                 | |       | | [1] (pre:  0)  1 = time < 0.5
|                 | |       | | [2] (pre:  0)  1 = time < 0.1
|                 | |       | | [3] (pre:  0)  1 = v > 0.0
|                 | |       | | [4] (pre:  0) -1 = spatialDistributionZeroCrossing(0, 3, x, isPosVel) > 0.0
|                 | |       | | [5] (pre:  0)  1 = time < 0.35
|                 | |       | | [6] (pre:  0)  1 = time < 0.75
LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
LOG_EVENTS        | info    | state event at time=0.100000000011
|                 | |       | | [2] time < 0.1
LOG_EVENTS        | info    | state event at time=0.350000000011
|                 | |       | | [4] spatialDistributionZeroCrossing(0, 3, x, isPosVel) > 0.0
LOG_EVENTS        | info    | state event at time=0.350000000014
|                 | |       | | [5] time < 0.35
LOG_EVENTS        | info    | state event at time=0.500000000015
|                 | |       | | [1] time < 0.5
LOG_EVENTS        | info    | state event at time=0.750000000015
|                 | |       | | [4] spatialDistributionZeroCrossing(0, 3, x, isPosVel) > 0.0
LOG_EVENTS        | info    | state event at time=0.750000000018
|                 | |       | | [6] time < 0.75
LOG_SUCCESS       | info    | The simulation finished successfully.
"
end SimulationResult;
"[BackEnd/Differentiate.mo:268:5-268:157:writable] Error: Derivative of expression \"(out0, out1) = spatialDistribution(0, in0, in1, x, isPosVel, {0.0, 1.0}, {0.0, 0.0})\" w.r.t. \"dummyVarA\" is non-existent.
Error: Internal error SymbolicJacobian.deriveAll failed
[BackEnd/SymbolicJacobian.mo:0:0-0:0:writable] Error: Internal error function generateSymbolicJacobian failed
[BackEnd/SymbolicJacobian.mo:0:0-0:0:writable] Error: Internal error function createJacobian failed
"

Equation mismatch: diff says:
--- /tmp/omc-rtest-unknown/simulation/modelica/spatialDistribution/test1.mos_temp5836/equations-expected2024-01-20 04:02:21.003995678 +0000
+++ /tmp/omc-rtest-unknown/simulation/modelica/spatialDistribution/test1.mos_temp5836/equations-got2024-01-20 04:02:31.447926212 +0000
@@ -2,11 +2,11 @@
 ""
 true
 ""
 record SimulationResult
 resultFile = "TestSpatialDiscretization.Test1_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 10000, tolerance = 1e-07, method = 'dassl', fileNamePrefix = 'TestSpatialDiscretization.Test1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv=LOG_EVENTS'",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 10000, tolerance = 1e-7, method = 'dassl', fileNamePrefix = 'TestSpatialDiscretization.Test1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv=LOG_EVENTS'",
 messages = "LOG_EVENTS        | info    | status of relations at time=0
 |                 | |       | | [1] (pre:  true)  true = time < 0.5
 |                 | |       | | [2] (pre:  true)  true = time < 0.1
 |                 | |       | | [3] (pre:  true)  true = v > 0.0
 |                 | |       | | [4] (pre: false) false = spatialDistributionZeroCrossing(0, 3, x, isPosVel)
@@ -33,6 +33,10 @@
 LOG_EVENTS        | info    | state event at time=0.750000000018
 |                 | |       | | [6] time < 0.75
 LOG_SUCCESS       | info    | The simulation finished successfully.
 "
 end SimulationResult;
-""
+"[BackEnd/Differentiate.mo:268:5-268:157:writable] Error: Derivative of expression \"(out0, out1) = spatialDistribution(0, in0, in1, x, isPosVel, {0.0, 1.0}, {0.0, 0.0})\" w.r.t. \"dummyVarA\" is non-existent.
+Error: Internal error SymbolicJacobian.deriveAll failed
+[BackEnd/SymbolicJacobian.mo:0:0-0:0:writable] Error: Internal error function generateSymbolicJacobian failed
+[BackEnd/SymbolicJacobian.mo:0:0-0:0:writable] Error: Internal error function createJacobian failed
+"

Equation mismatch: omc-diff says:
Failed '"' '['
Line 38: Text differs:
expected: ""
got:      "[BackEnd/Differentiate.mo:

== 1 out of 1 tests failed [simulation/modelica/spatialDistribution/test1.mos_temp5836, time: 11]