Skip to content

Failed

tests / 06 testsuite-clang 3/3 / simulation_libraries_3rdParty_PNlib.Test12.mos (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + PNlib.Test12                                                                      ... equation mismatch [time: 5]

==== Log /tmp/omc-rtest-unknown/simulation/libraries/3rdParty/PNlib/Test12.mos_temp2177/log-Test12.mos
true
""
record SimulationResult
    resultFile = "PNlib.Examples.Test12_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'PNlib.Examples.Test12', 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;
"Error: Internal error BackendDAE.adjacencyRowEnhanced failed for eqn:
algorithm
  T2.preliminarySpeed.prelimSpeed := $START.T2.preliminarySpeed.prelimSpeed;
  T2.preliminarySpeed.prelimSpeed.$pDERA.dummyVarA := 0.0;
  T2.preliminarySpeed.prelimSpeed := 1.0;
  T2.preliminarySpeed.prelimSpeed.$pDERA.dummyVarA := 0.0;
  for i in 1:1 loop
    if T2.preliminarySpeed.weaklyInputActiveVec[i] and T2.preliminarySpeed.speedSumIn[i] / T2.preliminarySpeed.arcWeightIn[i] < T2.preliminarySpeed.prelimSpeed then
      T2.preliminarySpeed.prelimSpeed := T2.preliminarySpeed.speedSumIn[i] / T2.preliminarySpeed.arcWeightIn[i];
      T2.preliminarySpeed.prelimSpeed.$pDERA.dummyVarA := T2.preliminarySpeed.speedSumIn.$pDERA.dummyVarA[i] / T2.preliminarySpeed.arcWeightIn[i];
    end if;
  end for;
  for i in 1:1 loop
    if T2.preliminarySpeed.weaklyOutputActiveVec[i] and T2.preliminarySpeed.speedSumOut[i] / T2.preliminarySpeed.arcWeightOut[i] < T2.preliminarySpeed.prelimSpeed then
      T2.preliminarySpeed.prelimSpeed := T2.preliminarySpeed.speedSumOut[i] / T2.preliminarySpeed.arcWeightOut[i];
      T2.preliminarySpeed.prelimSpeed.$pDERA.dummyVarA := 0.0;
    end if;
  end for;
Error: Internal error BackendDAEUtil.getAdjacencyMatrixEnhancedScalar failed
Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors.
"
{"Files Equal!"}
"Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
"

Equation mismatch: diff says:
--- /tmp/omc-rtest-unknown/simulation/libraries/3rdParty/PNlib/Test12.mos_temp2177/equations-expected2024-01-20 04:01:34.552304627 +0000
+++ /tmp/omc-rtest-unknown/simulation/libraries/3rdParty/PNlib/Test12.mos_temp2177/equations-got2024-01-20 04:01:39.920268926 +0000
@@ -1,13 +1,33 @@
 true
 ""
 record SimulationResult
 resultFile = "PNlib.Examples.Test12_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'PNlib.Examples.Test12', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'PNlib.Examples.Test12', 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;
-""
+"Error: Internal error BackendDAE.adjacencyRowEnhanced failed for eqn:
+algorithm
+T2.preliminarySpeed.prelimSpeed := $START.T2.preliminarySpeed.prelimSpeed;
+T2.preliminarySpeed.prelimSpeed.$pDERA.dummyVarA := 0.0;
+T2.preliminarySpeed.prelimSpeed := 1.0;
+T2.preliminarySpeed.prelimSpeed.$pDERA.dummyVarA := 0.0;
+for i in 1:1 loop
+if T2.preliminarySpeed.weaklyInputActiveVec[i] and T2.preliminarySpeed.speedSumIn[i] / T2.preliminarySpeed.arcWeightIn[i] < T2.preliminarySpeed.prelimSpeed then
+T2.preliminarySpeed.prelimSpeed := T2.preliminarySpeed.speedSumIn[i] / T2.preliminarySpeed.arcWeightIn[i];
+T2.preliminarySpeed.prelimSpeed.$pDERA.dummyVarA := T2.preliminarySpeed.speedSumIn.$pDERA.dummyVarA[i] / T2.preliminarySpeed.arcWeightIn[i];
+end if;
+end for;
+for i in 1:1 loop
+if T2.preliminarySpeed.weaklyOutputActiveVec[i] and T2.preliminarySpeed.speedSumOut[i] / T2.preliminarySpeed.arcWeightOut[i] < T2.preliminarySpeed.prelimSpeed then
+T2.preliminarySpeed.prelimSpeed := T2.preliminarySpeed.speedSumOut[i] / T2.preliminarySpeed.arcWeightOut[i];
+T2.preliminarySpeed.prelimSpeed.$pDERA.dummyVarA := 0.0;
+end if;
+end for;
+Error: Internal error BackendDAEUtil.getAdjacencyMatrixEnhancedScalar failed
+Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors.
+"
 {"Files Equal!"}
 "Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
 "

Equation mismatch: omc-diff says:
Failed '"' 'E'
Line 10: Text differs:
expected: ""
got:      "Error: Internal error BackendDAE.adjacencyRowEnhanced failed for eqn:

== 1 out of 1 tests failed [simulation/libraries/3rdParty/PNlib/Test12.mos_temp2177, time: 5]