Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.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.000808/0.000808, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003291/0.003291, allocations: 160.5 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8854/0.8854, allocations: 177.2 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2665/0.2665, allocations: 32.79 MB / 294.2 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 440.8 MB, free: 3.773 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.568e-05, allocations: 11.77 kB / 440.8 MB, free: 3.762 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.0009169/0.0009426, allocations: 0.4892 MB / 441.3 MB, free: 3.273 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.002702, allocations: 1.553 MB / 442.9 MB, free: 1.699 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.438e-05/0.002716, allocations: 0 / 442.9 MB, free: 1.699 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.508e-05/0.002732, allocations: 0 / 442.9 MB, free: 1.699 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.961e-06/0.002738, allocations: 4 kB / 442.9 MB, free: 1.695 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:171:3-212:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0007386/0.003476, allocations: 297.4 kB / 443.2 MB, free: 1.406 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.636e-05/0.003533, allocations: 0 / 443.2 MB, free: 1.406 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.98e-05/0.003572, allocations: 3.984 kB / 443.2 MB, free: 1.402 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.76e-05/0.0036, allocations: 8 kB / 443.2 MB, free: 1.395 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.906e-05/0.003619, allocations: 0 / 443.2 MB, free: 1.395 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.241e-06/0.003625, allocations: 0 / 443.2 MB, free: 1.395 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000447/0.004072, allocations: 429.1 kB / 443.6 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.424e-06/0.00408, allocations: 0 / 443.6 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.856e-05/0.004098, allocations: 4 kB / 443.6 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003151/0.004413, allocations: 315.2 kB / 443.9 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.004415, allocations: 3.938 kB / 443.9 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004416, allocations: 8 kB / 443.9 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.00442, allocations: 0 / 443.9 MB, free: 0.6523 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003171/0.004737, allocations: 295.8 kB / 444.2 MB, free: 336 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.004778, allocations: 8.031 kB / 444.2 MB, free: 328 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.004815, allocations: 0.9375 kB / 444.2 MB, free: 328 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.161e-05/0.004877, allocations: 101.8 kB / 444.3 MB, free: 200 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.004892, allocations: 4.375 kB / 444.3 MB, free: 196 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.004903, allocations: 384 / 444.3 MB, free: 196 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.878e-05/0.005002, allocations: 55.95 kB / 444.4 MB, free: 128 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.00501, allocations: 4.188 kB / 444.4 MB, free: 124 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.00502, allocations: 4.375 kB / 444.4 MB, free: 120 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.005025, allocations: 7.875 kB / 444.4 MB, free: 112 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.593e-05/0.005051, allocations: 29.7 kB / 444.4 MB, free: 76 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1594/0.1645, allocations: 96.17 kB / 444.5 MB, free: 46.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.877e-05/0.1645, allocations: 44.62 kB / 444.6 MB, free: 46.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.551e-05/0.1645, allocations: 40.97 kB / 444.6 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.1645, allocations: 3.844 kB / 444.6 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.1646, allocations: 59.33 kB / 444.7 MB, free: 46.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.373e-06/0.1646, allocations: 0 / 444.7 MB, free: 46.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001542/0.1647, allocations: 121.6 kB / 444.8 MB, free: 46.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.1648, allocations: 77.67 kB / 444.9 MB, free: 46.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.433e-05/0.1648, allocations: 89.86 kB / 444.9 MB, free: 46.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.629e-06/0.1648, allocations: 25.7 kB / 445 MB, free: 46.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.432e-06/0.1648, allocations: 82.86 kB / 445 MB, free: 46.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.1648, allocations: 4.734 kB / 445.1 MB, free: 46.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.096e-05/0.1648, allocations: 12.75 kB / 445.1 MB, free: 46.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.844e-05/0.1648, allocations: 318.9 kB / 445.4 MB, free: 45.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.092e-05/0.1649, allocations: 27.8 kB / 445.4 MB, free: 45.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.835e-06/0.1649, allocations: 32.41 kB / 445.4 MB, free: 45.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.302e-05/0.1649, allocations: 61.2 kB / 445.5 MB, free: 45.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1649, allocations: 2.625 kB / 445.5 MB, free: 45.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.579e-05/0.1649, allocations: 95.34 kB / 445.6 MB, free: 45.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.1649, allocations: 31.48 kB / 445.6 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1649, allocations: 0 / 445.6 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.165, allocations: 0 / 445.6 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.192e-06/0.165, allocations: 0 / 445.6 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.165, allocations: 3 kB / 445.6 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.378e-05/0.165, allocations: 6.844 kB / 445.6 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.165, allocations: 0 / 445.6 MB, free: 45.55 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 3.647e-05/0.165, allocations: 137.7 kB / 445.8 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-06/0.165, allocations: 0 / 445.8 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.696e-06/0.165, allocations: 3 kB / 445.8 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.165, allocations: 0 / 445.8 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.165, allocations: 8.156 kB / 445.8 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.165, allocations: 1.375 kB / 445.8 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.243e-05/0.1651, allocations: 106.7 kB / 445.9 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.5e-07/0.1651, allocations: 0 / 445.9 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.1651, allocations: 6.438 kB / 445.9 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-07/0.1651, allocations: 0 / 445.9 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.1651, allocations: 2.188 kB / 445.9 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.1651, allocations: 0 / 445.9 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1651, allocations: 0 / 445.9 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.577e-05/0.1651, allocations: 121.9 kB / 446 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-06/0.1651, allocations: 4.219 kB / 446 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-06/0.1651, allocations: 0 / 446 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.069e-06/0.1652, allocations: 3 kB / 446 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.076e-05/0.1652, allocations: 7.953 kB / 446 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-06/0.1652, allocations: 3.562 kB / 446 MB, free: 45.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.874e-06/0.1652, allocations: 75.28 kB / 446.1 MB, free: 45.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1652, allocations: 0 / 446.1 MB, free: 45.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000243/0.1654, allocations: 63.7 kB / 446.2 MB, free: 45.08 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003121/0.1657, allocations: 190.7 kB / 446.3 MB, free: 44.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.513e-05/0.1658, allocations: 114.1 kB / 446.5 MB, free: 44.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1658, allocations: 3.281 kB / 446.5 MB, free: 44.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.292e-05/0.1658, allocations: 86.8 kB / 446.5 MB, free: 44.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.809e-05/0.1659, allocations: 2.875 kB / 446.5 MB, free: 44.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001413/0.166, allocations: 130.9 kB / 446.7 MB, free: 44.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.197e-05/0.1661, allocations: 61.61 kB / 446.7 MB, free: 44.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.948e-06/0.1661, allocations: 9.578 kB / 446.7 MB, free: 44.54 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/0.1661, allocations: 0 / 446.7 MB, free: 44.54 MB / 410.7 MB Notification: Performance of Templates: time 0.001897/0.168, allocations: 1.286 MB / 448 MB, free: 44.46 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices/TestMatrices.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.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.483032644726336]