Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002406/0.002406, allocations: 171.8 kB / 8.147 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.739/1.739, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001307/0.001307, allocations: 94.84 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2709/0.2709, allocations: 43.5 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.618e-06/9.768e-06, allocations: 4 kB / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2787, allocations: 58.84 MB / 476.5 MB, free: 5.078 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.159/0.4378, allocations: 88.22 MB / 0.5515 GB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.4381, allocations: 55.97 kB / 0.5516 GB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.06766/0.5058, allocations: 8.732 MB / 0.5601 GB, free: 2.059 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.5059, allocations: 0 / 0.5601 GB, free: 2.059 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007437/0.5066, allocations: 402.2 kB / 0.5605 GB, free: 1.621 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.5067, allocations: 8.031 kB / 0.5605 GB, free: 1.613 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.81e-05/0.5068, allocations: 75.28 kB / 0.5606 GB, free: 1.539 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.507, allocations: 234.4 kB / 0.5608 GB, free: 1.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.692e-05/0.5071, allocations: 150.6 kB / 0.5609 GB, free: 1.121 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.425e-05/0.5071, allocations: 154.6 kB / 0.5611 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.323e-05/0.5073, allocations: 158.5 kB / 0.5612 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.164e-05/0.5073, allocations: 104.9 kB / 0.5613 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.554e-05/0.5074, allocations: 75.28 kB / 0.5614 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-05/0.5075, allocations: 150.6 kB / 0.5615 GB, free: 492 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.766e-05/0.5076, allocations: 150.6 kB / 0.5617 GB, free: 340 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.5081, allocations: 434.5 kB / 0.5621 GB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.5082, allocations: 169.1 kB / 0.5623 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.183e-05/0.5083, allocations: 84.78 kB / 0.5623 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.842e-05/0.5083, allocations: 75.28 kB / 0.5624 GB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.954e-05/0.5084, allocations: 113.8 kB / 0.5625 GB, free: 15.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 2.134e-06/0.5084, allocations: 0 / 0.5625 GB, free: 15.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001166/0.5086, allocations: 25.7 kB / 0.5625 GB, free: 15.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/0.5086, allocations: 77.11 kB / 0.5626 GB, free: 15.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.03e-05/0.5087, allocations: 85 kB / 0.5627 GB, free: 15.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.5087, allocations: 29.7 kB / 0.5627 GB, free: 15.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.063e-05/0.5088, allocations: 150.6 kB / 0.5629 GB, free: 15.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.5088, allocations: 0 / 0.5629 GB, free: 15.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.32e-07/0.5089, allocations: 4 kB / 0.5629 GB, free: 15.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.509, allocations: 318.7 kB / 0.5632 GB, free: 14.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.601e-06/0.5091, allocations: 3.938 kB / 0.5632 GB, free: 14.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.781e-05/0.5091, allocations: 3.938 kB / 0.5632 GB, free: 14.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.302e-05/0.5092, allocations: 79.28 kB / 0.5633 GB, free: 14.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-05/0.5092, allocations: 75.28 kB / 0.5633 GB, free: 14.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001147/0.5093, allocations: 29.7 kB / 0.5634 GB, free: 14.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.5094, allocations: 4 kB / 0.5634 GB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.433e-05/0.5094, allocations: 83.25 kB / 0.5634 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.452e-05/0.5095, allocations: 158.5 kB / 0.5636 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.173e-05/0.5096, allocations: 75.28 kB / 0.5637 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.889e-05/0.5097, allocations: 154.6 kB / 0.5638 GB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.5099, allocations: 83.2 kB / 0.5639 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.084e-05/0.5099, allocations: 79.28 kB / 0.564 GB, free: 13.87 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001403/0.5101, allocations: 185.6 kB / 0.5641 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.5102, allocations: 102.9 kB / 0.5642 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.705e-05/0.5103, allocations: 107.9 kB / 0.5643 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001262/0.5104, allocations: 180.3 kB / 0.5645 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.81e-05/0.5106, allocations: 180.2 kB / 0.5647 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-05/0.5107, allocations: 184.2 kB / 0.5649 GB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003528/0.511, allocations: 377.8 kB / 0.5652 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-05/0.5111, allocations: 105 kB / 0.5653 GB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.187e-05/0.5112, allocations: 108.9 kB / 0.5654 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-05/0.5113, allocations: 176.3 kB / 0.5656 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.967e-05/0.5114, allocations: 180.2 kB / 0.5658 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.103e-05/0.5115, allocations: 184.2 kB / 0.5659 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001003/0.5116, allocations: 184.3 kB / 0.5661 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002232/0.5119, allocations: 304.1 kB / 0.5664 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.512, allocations: 186.1 kB / 0.5666 GB, free: 11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.5121, allocations: 180.3 kB / 0.5668 GB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.5123, allocations: 104.9 kB / 0.5669 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.5124, allocations: 192.1 kB / 0.567 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-05/0.5125, allocations: 101 kB / 0.5671 GB, free: 10.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.497e-05/0.5126, allocations: 75.28 kB / 0.5672 GB, free: 10.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001278/0.5138, allocations: 175.7 kB / 0.5674 GB, free: 10.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001185/0.5151, allocations: 389.2 kB / 0.5678 GB, free: 9.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.108e-05/0.5151, allocations: 0 / 0.5678 GB, free: 9.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5151, allocations: 0 / 0.5678 GB, free: 9.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.012e-06/0.5152, allocations: 4 kB / 0.5678 GB, free: 9.766 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.5156, allocations: 0.5258 MB / 0.5683 GB, free: 9.238 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002107/0.5158, allocations: 145 kB / 0.5684 GB, free: 9.066 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003219/0.5161, allocations: 0.6841 MB / 0.5691 GB, free: 8.352 MB / 410.7 MB Notification: Performance of SimCode: time 8.31e-07/0.5161, allocations: 0 / 0.5691 GB, free: 8.352 MB / 410.7 MB Notification: Performance of Templates: time 0.009235/0.5254, allocations: 3.288 MB / 0.5723 GB, free: 5.062 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches