Skip to content

Failed

tests / 02 testsuite-gcc 2/3 / simulation_libraries_3rdParty_PNlib.Test11.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.Test11                                                                      ... equation mismatch [time: 5]

==== Log /tmp/omc-rtest-unknown/simulation/libraries/3rdParty/PNlib/Test11.mos_temp8398/log-Test11.mos
true
""
record SimulationResult
    resultFile = "PNlib.Examples.Test11_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 2.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'PNlib.Examples.Test11', 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 := 'T2'.maximumSpeed;
  '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/Test11.mos_temp8398/equations-expected2024-01-20 04:07:38.351540034 +0000
+++ /tmp/omc-rtest-unknown/simulation/libraries/3rdParty/PNlib/Test11.mos_temp8398/equations-got2024-01-20 04:07:43.459540010 +0000
@@ -1,13 +1,33 @@
 true
 ""
 record SimulationResult
 resultFile = "PNlib.Examples.Test11_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 2.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'PNlib.Examples.Test11', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+simulationOptions = "startTime = 0.0, stopTime = 2.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'PNlib.Examples.Test11', 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 := 'T2'.maximumSpeed;
+'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/Test11.mos_temp8398, time: 5]