Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/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_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009972/0.0009972, allocations: 183.1 kB / 7.8 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.037/1.037, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007875/0.0007875, allocations: 83.42 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1532/0.1532, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.109e-06/5.129e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.225, allocations: 58.84 MB / 476.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1053/0.3304, allocations: 88.21 MB / 0.5515 GB, free: 10.72 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001694/0.3306, allocations: 63.97 kB / 0.5516 GB, free: 10.66 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02777/0.3584, allocations: 8.718 MB / 0.5601 GB, free: 1.934 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.3584, allocations: 3.938 kB / 0.5601 GB, free: 1.93 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.0003339/0.3588, allocations: 398.2 kB / 0.5605 GB, free: 1.496 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.3588, allocations: 12.02 kB / 0.5605 GB, free: 1.484 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/0.3589, allocations: 79.28 kB / 0.5606 GB, free: 1.406 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.852e-05/0.359, allocations: 234.4 kB / 0.5608 GB, free: 1.137 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.788e-05/0.359, allocations: 150.6 kB / 0.5609 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.597e-05/0.3591, allocations: 150.6 kB / 0.5611 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.186e-05/0.3591, allocations: 162.5 kB / 0.5612 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.196e-05/0.3592, allocations: 108.9 kB / 0.5613 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.3592, allocations: 75.28 kB / 0.5614 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.345e-05/0.3593, allocations: 150.6 kB / 0.5616 GB, free: 352 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.474e-05/0.3593, allocations: 154.6 kB / 0.5617 GB, free: 196 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002537/0.3596, allocations: 422.5 kB / 0.5621 GB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.811e-05/0.3597, allocations: 181.1 kB / 0.5623 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.323e-05/0.3597, allocations: 80.78 kB / 0.5624 GB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/0.3598, allocations: 75.28 kB / 0.5624 GB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.3598, allocations: 105.8 kB / 0.5625 GB, free: 15.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.3598, allocations: 0 / 0.5625 GB, free: 15.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 6.682e-05/0.3599, allocations: 25.7 kB / 0.5625 GB, free: 15.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.3599, allocations: 81.11 kB / 0.5626 GB, free: 15.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.695e-05/0.36, allocations: 89 kB / 0.5627 GB, free: 15.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.36, allocations: 25.7 kB / 0.5627 GB, free: 15.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.704e-05/0.36, allocations: 80.14 kB / 0.5628 GB, free: 14.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.182e-06/0.36, allocations: 0 / 0.5628 GB, free: 14.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-07/0.36, allocations: 0 / 0.5628 GB, free: 14.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.547e-05/0.3601, allocations: 314.8 kB / 0.5631 GB, free: 14.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.498e-06/0.3601, allocations: 3.938 kB / 0.5631 GB, free: 14.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.585e-05/0.3602, allocations: 0 / 0.5631 GB, free: 14.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.255e-05/0.3602, allocations: 87.3 kB / 0.5632 GB, free: 14.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.668e-05/0.3602, allocations: 83.28 kB / 0.5633 GB, free: 14.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.111e-05/0.3603, allocations: 25.7 kB / 0.5633 GB, free: 14.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.3603, allocations: 4 kB / 0.5633 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-05/0.3603, allocations: 83.22 kB / 0.5634 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.558e-05/0.3604, allocations: 154.5 kB / 0.5635 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.271e-05/0.3604, allocations: 75.28 kB / 0.5636 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.976e-05/0.3605, allocations: 154.6 kB / 0.5638 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.027e-05/0.3606, allocations: 79.22 kB / 0.5638 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.3606, allocations: 83.27 kB / 0.5639 GB, free: 13.8 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 9.775e-05/0.3607, allocations: 260.1 kB / 0.5642 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.64e-05/0.3608, allocations: 102.9 kB / 0.5643 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.175e-05/0.3608, allocations: 111.9 kB / 0.5644 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-05/0.3609, allocations: 188.2 kB / 0.5645 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.358e-05/0.3609, allocations: 180.2 kB / 0.5647 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.509e-05/0.361, allocations: 184.2 kB / 0.5649 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.3612, allocations: 373.8 kB / 0.5652 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.718e-05/0.3612, allocations: 105 kB / 0.5653 GB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.941e-05/0.3613, allocations: 108.9 kB / 0.5654 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.05e-05/0.3613, allocations: 184.2 kB / 0.5656 GB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.703e-05/0.3614, allocations: 176.3 kB / 0.5658 GB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.251e-05/0.3614, allocations: 188.2 kB / 0.566 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.198e-05/0.3615, allocations: 180.3 kB / 0.5661 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001195/0.3616, allocations: 312.1 kB / 0.5664 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.783e-05/0.3617, allocations: 182.1 kB / 0.5666 GB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.916e-05/0.3618, allocations: 176.3 kB / 0.5668 GB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.315e-05/0.3618, allocations: 112.8 kB / 0.5669 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/0.3619, allocations: 188.2 kB / 0.5671 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.825e-05/0.362, allocations: 101 kB / 0.5672 GB, free: 10.26 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.455e-05/0.362, allocations: 75.28 kB / 0.5672 GB, free: 10.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005402/0.3625, allocations: 175.7 kB / 0.5674 GB, free: 10.01 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.0006462/0.3632, allocations: 386 kB / 0.5678 GB, free: 9.621 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 3.278e-05/0.3632, allocations: 0 / 0.5678 GB, free: 9.621 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3632, allocations: 3.938 kB / 0.5678 GB, free: 9.617 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.585e-06/0.3632, allocations: 4 kB / 0.5678 GB, free: 9.613 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.3635, allocations: 0.5185 MB / 0.5683 GB, free: 9.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001169/0.3636, allocations: 119.3 kB / 0.5684 GB, free: 8.949 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002341/0.3638, allocations: 0.6841 MB / 0.5691 GB, free: 8.238 MB / 410.7 MB Notification: Performance of SimCode: time 2e-07/0.3638, allocations: 0 / 0.5691 GB, free: 8.238 MB / 410.7 MB Notification: Performance of Templates: time 0.005957/0.3698, allocations: 3.681 MB / 0.5727 GB, free: 4.555 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches