Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001393/0.001393, allocations: 122.7 kB / 18.46 MB, free: 4.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001383/0.001383, allocations: 211.3 kB / 21.4 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 227.4 MB / 251.7 MB, free: 84 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2249/0.2249, allocations: 46.17 MB / 351.1 MB, free: 14.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 89.56 kB / 490.2 MB, free: 27.85 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1477, allocations: 62.45 MB / 0.5397 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.00167/0.1494, allocations: 486.7 kB / 0.5401 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003361/0.1528, allocations: 2.045 MB / 0.5421 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.07e-06/0.1528, allocations: 0 / 0.5421 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.927e-06/0.1528, allocations: 0 / 0.5421 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.222e-06/0.1529, allocations: 0 / 0.5421 GB, free: 1.727 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/package.mo:697:5-760:29:writable] Warning: Pure function 'Modelica.Math.Matrices.Examples.solveLinearEquations' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.1545, allocations: 0.5115 MB / 0.5426 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.915e-05/0.1546, allocations: 0 / 0.5426 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.172e-05/0.1546, allocations: 3.984 kB / 0.5426 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.686e-06/0.1546, allocations: 0 / 0.5426 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.046e-05/0.1546, allocations: 0 / 0.5426 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.321e-06/0.1547, allocations: 3.984 kB / 0.5426 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.1561, allocations: 0.9044 MB / 0.5435 GB, free: 312 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.885e-06/0.1561, allocations: 4 kB / 0.5435 GB, free: 308 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.358e-05/0.1561, allocations: 0 / 0.5435 GB, free: 308 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.1572, allocations: 0.8029 MB / 0.5443 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1572, allocations: 0 / 0.5443 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1572, allocations: 4 kB / 0.5443 GB, free: 15.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1572, allocations: 0 / 0.5443 GB, free: 15.49 MB / 414.1 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.0004874/0.1577, allocations: 378.8 kB / 0.5447 GB, free: 15.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.1577, allocations: 12.03 kB / 0.5447 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.765e-05/0.1578, allocations: 84.16 kB / 0.5448 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.158, allocations: 239.7 kB / 0.545 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-05/0.1581, allocations: 150.9 kB / 0.5451 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.876e-05/0.1582, allocations: 150.9 kB / 0.5453 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.683e-05/0.1582, allocations: 109.3 kB / 0.5454 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.528e-05/0.1583, allocations: 79.27 kB / 0.5455 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.13e-05/0.1584, allocations: 154.6 kB / 0.5456 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.651e-05/0.1584, allocations: 154.6 kB / 0.5458 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.633e-05/0.1585, allocations: 154.5 kB / 0.5459 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003137/0.1588, allocations: 438 kB / 0.5463 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.1589, allocations: 173.1 kB / 0.5465 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.264e-05/0.159, allocations: 84.14 kB / 0.5466 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.741e-05/0.159, allocations: 79.22 kB / 0.5466 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.219e-05/0.1591, allocations: 117.7 kB / 0.5468 GB, free: 12.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.1591, allocations: 0 / 0.5468 GB, free: 12.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.478e-05/0.1592, allocations: 29.64 kB / 0.5468 GB, free: 12.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.1593, allocations: 156.4 kB / 0.5469 GB, free: 12.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.427e-05/0.1593, allocations: 93.86 kB / 0.547 GB, free: 12.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.1594, allocations: 25.7 kB / 0.547 GB, free: 12.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.417e-05/0.1594, allocations: 88.14 kB / 0.5471 GB, free: 12.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.754e-06/0.1594, allocations: 0 / 0.5471 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/0.1595, allocations: 9.719 kB / 0.5471 GB, free: 12.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1596, allocations: 310.8 kB / 0.5474 GB, free: 12.06 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.5e-06/0.1596, allocations: 0 / 0.5474 GB, free: 12.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.035e-05/0.1597, allocations: 0 / 0.5474 GB, free: 12.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.228e-05/0.1597, allocations: 83.31 kB / 0.5475 GB, free: 11.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.315e-05/0.1597, allocations: 75.28 kB / 0.5476 GB, free: 11.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.576e-05/0.1598, allocations: 29.69 kB / 0.5476 GB, free: 11.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.095e-05/0.1599, allocations: 91.22 kB / 0.5477 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.249e-05/0.1599, allocations: 79.27 kB / 0.5478 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.701e-05/0.16, allocations: 154.5 kB / 0.5479 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.706e-05/0.16, allocations: 75.28 kB / 0.548 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.239e-05/0.1601, allocations: 162.6 kB / 0.5482 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.317e-05/0.1602, allocations: 79.22 kB / 0.5482 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/0.1602, allocations: 75.28 kB / 0.5483 GB, free: 11.16 MB / 414.1 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 0.0001337/0.1604, allocations: 260.3 kB / 0.5485 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.193e-05/0.1604, allocations: 116.8 kB / 0.5487 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.459e-05/0.1605, allocations: 115.9 kB / 0.5488 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.797e-05/0.1606, allocations: 176.3 kB / 0.5489 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.911e-05/0.1607, allocations: 180.2 kB / 0.5491 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.287e-05/0.1608, allocations: 180.3 kB / 0.5493 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/0.161, allocations: 401.2 kB / 0.5497 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.705e-05/0.1611, allocations: 101 kB / 0.5498 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.496e-05/0.1611, allocations: 113 kB / 0.5499 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.237e-05/0.1612, allocations: 188.1 kB / 0.55 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.643e-05/0.1613, allocations: 180.2 kB / 0.5502 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-05/0.1614, allocations: 184.2 kB / 0.5504 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.398e-05/0.1615, allocations: 184.3 kB / 0.5506 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.1617, allocations: 303.8 kB / 0.5509 GB, free: 8.367 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.194e-05/0.1618, allocations: 190 kB / 0.551 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.1619, allocations: 184.1 kB / 0.5512 GB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.695e-05/0.162, allocations: 101 kB / 0.5513 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.805e-05/0.1621, allocations: 192.2 kB / 0.5515 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.69e-05/0.1621, allocations: 101 kB / 0.5516 GB, free: 7.562 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.391e-05/0.1622, allocations: 83.2 kB / 0.5517 GB, free: 7.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1622, allocations: 0 / 0.5517 GB, free: 7.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000605/0.1628, allocations: 147.6 kB / 0.5518 GB, free: 7.336 MB / 414.1 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.0008137/0.1636, allocations: 343.6 kB / 0.5521 GB, free: 6.996 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.533e-05/0.1637, allocations: 0 / 0.5521 GB, free: 6.996 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1637, allocations: 0 / 0.5521 GB, free: 6.996 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.379e-06/0.1637, allocations: 3.938 kB / 0.5521 GB, free: 6.992 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004747/0.1642, allocations: 459.7 kB / 0.5526 GB, free: 6.539 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002279/0.1644, allocations: 156.4 kB / 0.5527 GB, free: 6.359 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.1647, allocations: 0.669 MB / 0.5534 GB, free: 5.664 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.157e-05/0.1648, allocations: 4 kB / 0.5534 GB, free: 5.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.392e-05/0.1648, allocations: 7.438 kB / 0.5534 GB, free: 5.652 MB / 414.1 MB Notification: Performance of SimCode: time 2e-07/0.1648, allocations: 0 / 0.5534 GB, free: 5.652 MB / 414.1 MB Notification: Performance of Templates: time 0.007257/0.172, allocations: 3.45 MB / 0.5568 GB, free: 2.199 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.18483329936862]