Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001562/0.001562, allocations: 122 kB / 18.46 MB, free: 4.578 MB / 14.72 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.00136/0.00136, allocations: 209.6 kB / 21.42 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.443/1.443, allocations: 230.6 MB / 254.8 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.222/0.222, allocations: 46.92 MB / 357.8 MB, free: 10.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 71.89 kB / 0.4921 GB, free: 7.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1316, allocations: 65.99 MB / 0.5565 GB, free: 5.328 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001569/0.1332, allocations: 498.1 kB / 0.557 GB, free: 4.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003277/0.1364, allocations: 2.058 MB / 0.559 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.999e-06/0.1365, allocations: 0 / 0.559 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 8.887e-06/0.1365, allocations: 0 / 0.559 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 1.363e-06/0.1365, allocations: 0 / 0.559 GB, free: 2.762 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/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.001596/0.1381, allocations: 0.5058 MB / 0.5595 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 1.523e-05/0.1381, allocations: 0 / 0.5595 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.276e-05/0.1381, allocations: 4 kB / 0.5595 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.306e-06/0.1381, allocations: 0 / 0.5595 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.767e-05/0.1381, allocations: 3.984 kB / 0.5595 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.348e-06/0.1381, allocations: 0 / 0.5595 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.1395, allocations: 0.9785 MB / 0.5604 GB, free: 1.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.332e-06/0.1395, allocations: 0 / 0.5604 GB, free: 1.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.297e-06/0.1395, allocations: 0 / 0.5604 GB, free: 1.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009665/0.1405, allocations: 0.7951 MB / 0.5612 GB, free: 484 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1405, allocations: 0 / 0.5612 GB, free: 484 kB / 414.1 MB Notification: Performance of FrontEnd: time 3.607e-06/0.1405, allocations: 7.984 kB / 0.5612 GB, free: 476 kB / 414.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1405, allocations: 3.938 kB / 0.5612 GB, free: 472 kB / 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.0004354/0.141, allocations: 378.8 kB / 0.5616 GB, free: 44 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.141, allocations: 16.03 kB / 0.5616 GB, free: 28 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.245e-05/0.1411, allocations: 76.22 kB / 0.5617 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.1412, allocations: 235.7 kB / 0.5619 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.805e-05/0.1413, allocations: 150.9 kB / 0.562 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.346e-05/0.1413, allocations: 154.9 kB / 0.5622 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.004e-05/0.1414, allocations: 105.3 kB / 0.5623 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.706e-05/0.1415, allocations: 79.28 kB / 0.5624 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.168e-05/0.1415, allocations: 150.6 kB / 0.5625 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.737e-05/0.1416, allocations: 154.6 kB / 0.5627 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.686e-05/0.1417, allocations: 158.4 kB / 0.5628 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003101/0.142, allocations: 445.9 kB / 0.5632 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.1421, allocations: 173.1 kB / 0.5634 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.123e-05/0.1421, allocations: 84.14 kB / 0.5635 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.163e-05/0.1422, allocations: 75.28 kB / 0.5636 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.326e-05/0.1422, allocations: 117.7 kB / 0.5637 GB, free: 13.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.1422, allocations: 0 / 0.5637 GB, free: 13.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 7.558e-05/0.1423, allocations: 29.7 kB / 0.5637 GB, free: 13.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.1424, allocations: 152.4 kB / 0.5638 GB, free: 13.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.614e-05/0.1425, allocations: 93.86 kB / 0.5639 GB, free: 13.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.1425, allocations: 25.7 kB / 0.564 GB, free: 13.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.647e-05/0.1425, allocations: 84.14 kB / 0.564 GB, free: 13.37 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.1425, allocations: 3.938 kB / 0.564 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/0.1425, allocations: 13.7 kB / 0.5641 GB, free: 13.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1427, allocations: 310.8 kB / 0.5643 GB, free: 13.03 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.559e-06/0.1427, allocations: 4 kB / 0.5644 GB, free: 13.03 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.715e-05/0.1427, allocations: 0 / 0.5644 GB, free: 13.03 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.821e-05/0.1427, allocations: 79.28 kB / 0.5644 GB, free: 12.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-05/0.1428, allocations: 75.28 kB / 0.5645 GB, free: 12.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.428e-05/0.1428, allocations: 29.69 kB / 0.5645 GB, free: 12.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.602e-05/0.1429, allocations: 87.22 kB / 0.5646 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-05/0.1429, allocations: 79.28 kB / 0.5647 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.393e-05/0.143, allocations: 158.5 kB / 0.5648 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.72e-05/0.143, allocations: 83.27 kB / 0.5649 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.159e-05/0.1431, allocations: 154.6 kB / 0.5651 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.457e-05/0.1432, allocations: 79.22 kB / 0.5651 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/0.1432, allocations: 75.28 kB / 0.5652 GB, free: 12.13 MB / 430.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.0001358/0.1433, allocations: 262.6 kB / 0.5655 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.031e-05/0.1434, allocations: 116.9 kB / 0.5656 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.837e-05/0.1435, allocations: 115.9 kB / 0.5657 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.415e-05/0.1435, allocations: 176.3 kB / 0.5659 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.663e-05/0.1436, allocations: 184.2 kB / 0.566 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-05/0.1437, allocations: 176.3 kB / 0.5662 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.1439, allocations: 405.2 kB / 0.5666 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.906e-05/0.144, allocations: 105 kB / 0.5667 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.418e-05/0.144, allocations: 108.9 kB / 0.5668 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.097e-05/0.1441, allocations: 184.1 kB / 0.567 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.924e-05/0.1442, allocations: 176.3 kB / 0.5671 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-05/0.1443, allocations: 184.2 kB / 0.5673 GB, free: 9.852 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.249e-05/0.1443, allocations: 188.2 kB / 0.5675 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.1445, allocations: 299.8 kB / 0.5678 GB, free: 9.344 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.385e-05/0.1446, allocations: 182.1 kB / 0.5679 GB, free: 9.141 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.091e-05/0.1447, allocations: 188.1 kB / 0.5681 GB, free: 8.949 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.3e-05/0.1448, allocations: 109 kB / 0.5682 GB, free: 8.836 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.745e-05/0.1448, allocations: 184.2 kB / 0.5684 GB, free: 8.648 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.837e-05/0.1449, allocations: 101 kB / 0.5685 GB, free: 8.543 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.506e-05/0.1449, allocations: 75.28 kB / 0.5686 GB, free: 8.469 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1449, allocations: 0 / 0.5686 GB, free: 8.469 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006864/0.1456, allocations: 151.6 kB / 0.5687 GB, free: 8.32 MB / 430.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.0007835/0.1464, allocations: 347.7 kB / 0.569 GB, free: 7.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.045e-05/0.1464, allocations: 0 / 0.569 GB, free: 7.98 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1464, allocations: 0 / 0.569 GB, free: 7.98 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.246e-06/0.1464, allocations: 11.94 kB / 0.5691 GB, free: 7.969 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.1468, allocations: 451.7 kB / 0.5695 GB, free: 7.523 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000174/0.147, allocations: 178.1 kB / 0.5697 GB, free: 7.316 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.1473, allocations: 0.669 MB / 0.5703 GB, free: 6.621 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.215e-05/0.1473, allocations: 11.44 kB / 0.5703 GB, free: 6.609 MB / 430.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1473, allocations: 0 / 0.5703 GB, free: 6.609 MB / 430.1 MB Notification: Performance of Templates: time 0.005591/0.1529, allocations: 2.969 MB / 0.5732 GB, free: 3.648 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 9.225735468004132]