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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009264/0.0009264, allocations: 79.92 kB / 20.72 MB, free: 3.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009537/0.0009537, allocations: 169 kB / 24.14 MB, free: 360 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9325/0.9325, allocations: 158.6 MB / 186 MB, free: 2.773 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1412/0.1412, allocations: 32.38 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 299.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.734e-05/1.913e-05, allocations: 2.312 kB / 299.1 MB, free: 2.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001002/0.001021, allocations: 0.5361 MB / 299.6 MB, free: 1.648 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1546/0.1556, allocations: 1.999 MB / 301.6 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.604e-06/0.1556, allocations: 1.219 kB / 301.6 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.225e-05/0.1556, allocations: 0 / 301.6 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.734e-06/0.1556, allocations: 0 / 301.6 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001756/0.1574, allocations: 0.5586 MB / 302.2 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 2.218e-05/0.1574, allocations: 1.688 kB / 302.2 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.269e-05/0.1574, allocations: 1.766 kB / 302.2 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.695e-05/0.1575, allocations: 0.5312 kB / 302.2 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.038e-05/0.1575, allocations: 5.5 kB / 302.2 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.316e-06/0.1575, allocations: 0 / 302.2 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.159, allocations: 0.851 MB / 303 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.02e-05/0.159, allocations: 2.344 kB / 303 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.447e-05/0.1591, allocations: 1.25 kB / 303 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.1604, allocations: 0.8089 MB / 303.9 MB, free: 19.11 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1604, allocations: 0 / 303.9 MB, free: 19.11 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1604, allocations: 1.844 kB / 303.9 MB, free: 19.11 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.1604, allocations: 0 / 303.9 MB, free: 19.11 MB / 282.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.0004372/0.1609, allocations: 280.4 kB / 304.1 MB, free: 18.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.1609, allocations: 9.75 kB / 304.1 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.1609, allocations: 78.72 kB / 304.2 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.137e-05/0.161, allocations: 181 kB / 304.4 MB, free: 18.56 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.161, allocations: 152 kB / 304.5 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.161, allocations: 155.9 kB / 304.7 MB, free: 18.27 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.015e-05/0.1611, allocations: 107.9 kB / 304.8 MB, free: 18.16 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1611, allocations: 75.47 kB / 304.9 MB, free: 18.08 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.1611, allocations: 156.2 kB / 305 MB, free: 17.93 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.1611, allocations: 157.9 kB / 305.2 MB, free: 17.78 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.814e-05/0.1611, allocations: 153.6 kB / 305.3 MB, free: 17.63 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001062/0.1613, allocations: 353 kB / 305.7 MB, free: 17.27 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.762e-05/0.1613, allocations: 171.4 kB / 305.8 MB, free: 17.1 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.282e-05/0.1613, allocations: 87.45 kB / 305.9 MB, free: 17.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.1613, allocations: 77.38 kB / 306 MB, free: 16.94 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.1613, allocations: 109.3 kB / 306.1 MB, free: 16.83 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 6.41e-07/0.1613, allocations: 0 / 306.1 MB, free: 16.83 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 5.088e-05/0.1614, allocations: 27.75 kB / 306.1 MB, free: 16.8 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.1614, allocations: 154 kB / 306.3 MB, free: 16.63 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.382e-05/0.1614, allocations: 90.97 kB / 306.4 MB, free: 16.53 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.871e-06/0.1615, allocations: 30.42 kB / 306.4 MB, free: 16.5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.133e-05/0.1615, allocations: 80.14 kB / 306.5 MB, free: 16.42 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.71e-07/0.1615, allocations: 0 / 306.5 MB, free: 16.42 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.677e-05/0.1615, allocations: 13.3 kB / 306.5 MB, free: 16.4 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.506e-05/0.1615, allocations: 316.4 kB / 306.8 MB, free: 16.09 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.156e-06/0.1615, allocations: 3.938 kB / 306.8 MB, free: 16.08 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.035e-05/0.1615, allocations: 31.64 kB / 306.8 MB, free: 16.05 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.431e-05/0.1616, allocations: 75.28 kB / 306.9 MB, free: 15.97 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/0.1616, allocations: 80.03 kB / 307 MB, free: 15.9 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.658e-05/0.1616, allocations: 31.53 kB / 307 MB, free: 15.87 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.1616, allocations: 81.78 kB / 307.1 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.1616, allocations: 77.47 kB / 307.2 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.1617, allocations: 156.5 kB / 307.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.447e-06/0.1617, allocations: 76.98 kB / 307.4 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/0.1617, allocations: 156.3 kB / 307.6 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.644e-05/0.1617, allocations: 78.14 kB / 307.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1617, allocations: 75.28 kB / 307.7 MB, free: 15.19 MB / 282.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.116e-05/0.1618, allocations: 277.1 kB / 308 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.1618, allocations: 102.4 kB / 308.1 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.245e-05/0.1618, allocations: 106.6 kB / 308.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.228e-05/0.1618, allocations: 188.9 kB / 308.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.016e-05/0.1619, allocations: 178.4 kB / 308.5 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.479e-05/0.1619, allocations: 184 kB / 308.7 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.84e-05/0.162, allocations: 320.9 kB / 309 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/0.162, allocations: 103.4 kB / 309.1 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.376e-05/0.162, allocations: 106.9 kB / 309.2 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.392e-05/0.162, allocations: 179.3 kB / 309.4 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/0.1621, allocations: 184.7 kB / 309.6 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.589e-05/0.1621, allocations: 185.7 kB / 309.8 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-05/0.1621, allocations: 180.4 kB / 310 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.429e-05/0.1622, allocations: 311.3 kB / 310.3 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.991e-05/0.1622, allocations: 108.9 kB / 310.4 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.1622, allocations: 179.9 kB / 310.5 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.012e-05/0.1623, allocations: 104.6 kB / 310.6 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.1623, allocations: 183.1 kB / 310.8 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.1623, allocations: 102.8 kB / 310.9 MB, free: 11.88 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.208e-05/0.1623, allocations: 4.859 kB / 310.9 MB, free: 11.87 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1623, allocations: 1.531 kB / 310.9 MB, free: 11.87 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006047/0.1629, allocations: 152.4 kB / 311.1 MB, free: 11.84 MB / 282.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005844/0.1635, allocations: 334.6 kB / 311.4 MB, free: 11.67 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 4.057e-05/0.1636, allocations: 9.625 kB / 311.4 MB, free: 11.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1636, allocations: 5.125 kB / 311.4 MB, free: 11.66 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.01e-07/0.1636, allocations: 0 / 311.4 MB, free: 11.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001121/0.1637, allocations: 462.5 kB / 311.9 MB, free: 11.21 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 9.524e-05/0.1638, allocations: 155.4 kB / 312 MB, free: 11.04 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.421e-05/0.1638, allocations: 53.06 kB / 312.1 MB, free: 10.97 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.297e-06/0.1638, allocations: 0.7969 kB / 312.1 MB, free: 10.97 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.019e-05/0.1638, allocations: 51.42 kB / 312.1 MB, free: 10.92 MB / 282.7 MB Notification: Performance of SimCode: time 4.51e-07/0.1638, allocations: 0 / 312.1 MB, free: 10.92 MB / 282.7 MB Notification: Performance of Templates: time 0.006447/0.1703, allocations: 3.894 MB / 316 MB, free: 9.891 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.052898050285876]