Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0017/0.0017, allocations: 115 kB / 18.46 MB, free: 4.621 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.001775/0.001775, allocations: 207.3 kB / 21.41 MB, free: 1.668 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.529/1.529, allocations: 230.6 MB / 254.8 MB, free: 15.26 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.2288/0.2288, allocations: 46.92 MB / 357.8 MB, free: 10.43 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.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 59.91 kB / 0.492 GB, free: 7.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1485, allocations: 65.99 MB / 0.5565 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001639/0.1502, allocations: 497 kB / 0.557 GB, free: 4.98 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002344/0.1525, allocations: 1.614 MB / 0.5585 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.066e-05/0.1525, allocations: 0 / 0.5585 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.258e-05/0.1526, allocations: 4 kB / 0.5585 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.132e-06/0.1526, allocations: 0 / 0.5585 GB, free: 3.344 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.0008921/0.1535, allocations: 275.2 kB / 0.5588 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.938e-05/0.1535, allocations: 3.984 kB / 0.5588 GB, free: 3.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.452e-05/0.1536, allocations: 0 / 0.5588 GB, free: 3.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.883e-05/0.1536, allocations: 4 kB / 0.5588 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.051e-05/0.1536, allocations: 0 / 0.5588 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.562e-06/0.1536, allocations: 4 kB / 0.5588 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007519/0.1544, allocations: 0.5415 MB / 0.5594 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.005e-06/0.1544, allocations: 0 / 0.5594 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.46e-05/0.1544, allocations: 7.938 kB / 0.5594 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004492/0.1548, allocations: 307.3 kB / 0.5597 GB, free: 2.215 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1548, allocations: 0 / 0.5597 GB, free: 2.215 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1548, allocations: 4 kB / 0.5597 GB, free: 2.211 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1548, allocations: 0 / 0.5597 GB, free: 2.211 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004182/0.1553, allocations: 376.8 kB / 0.56 GB, free: 1.789 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1553, allocations: 12.03 kB / 0.56 GB, free: 1.777 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.1553, allocations: 0.9375 kB / 0.56 GB, free: 1.777 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.1554, allocations: 164.4 kB / 0.5602 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.1555, allocations: 4.375 kB / 0.5602 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.1555, allocations: 384 / 0.5602 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.865e-05/0.1556, allocations: 34.02 kB / 0.5602 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.1556, allocations: 0 / 0.5602 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.1556, allocations: 4 kB / 0.5602 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1556, allocations: 0 / 0.5602 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.201e-05/0.1556, allocations: 7.938 kB / 0.5602 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.1558, allocations: 149.7 kB / 0.5604 GB, free: 1.328 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.016e-05/0.1558, allocations: 22.58 kB / 0.5604 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.942e-05/0.1559, allocations: 8.953 kB / 0.5604 GB, free: 1.285 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.857e-06/0.1559, allocations: 0 / 0.5604 GB, free: 1.285 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.225e-05/0.1559, allocations: 68.14 kB / 0.5605 GB, free: 1.203 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.303e-06/0.1559, allocations: 3.938 kB / 0.5605 GB, free: 1.199 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001824/0.1561, allocations: 67.33 kB / 0.5605 GB, free: 1.121 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/0.1562, allocations: 81.11 kB / 0.5606 GB, free: 1.023 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.4e-05/0.1562, allocations: 93.81 kB / 0.5607 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.1562, allocations: 25.7 kB / 0.5607 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.635e-05/0.1563, allocations: 80.14 kB / 0.5608 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.1563, allocations: 4 kB / 0.5608 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.1563, allocations: 13.84 kB / 0.5608 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1564, allocations: 310.8 kB / 0.5611 GB, free: 484 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.376e-05/0.1565, allocations: 4 kB / 0.5611 GB, free: 480 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.37e-06/0.1565, allocations: 0 / 0.5611 GB, free: 480 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.27e-05/0.1565, allocations: 68.25 kB / 0.5612 GB, free: 396 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1565, allocations: 0 / 0.5612 GB, free: 396 kB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.674e-05/0.1566, allocations: 59.34 kB / 0.5612 GB, free: 324 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.286e-05/0.1566, allocations: 37.64 kB / 0.5613 GB, free: 280 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1566, allocations: 4.094 kB / 0.5613 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.1566, allocations: 0 / 0.5613 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.553e-06/0.1567, allocations: 0 / 0.5613 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.1567, allocations: 3.984 kB / 0.5613 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.391e-05/0.1567, allocations: 0 / 0.5613 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.1567, allocations: 4 kB / 0.5613 GB, free: 268 kB / 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: 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 9.541e-05/0.1568, allocations: 131.5 kB / 0.5614 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.1568, allocations: 7.938 kB / 0.5614 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.374e-06/0.1568, allocations: 7.125 kB / 0.5614 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.1568, allocations: 4 kB / 0.5614 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1568, allocations: 0 / 0.5614 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1568, allocations: 0 / 0.5614 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.1569, allocations: 149.7 kB / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1569, allocations: 0 / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-07/0.1569, allocations: 0 / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1569, allocations: 7.938 kB / 0.5616 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.1569, allocations: 0 / 0.5616 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.1569, allocations: 3.984 kB / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1569, allocations: 0 / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.1571, allocations: 98.77 kB / 0.5617 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.518e-05/0.1571, allocations: 77.11 kB / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.1571, allocations: 11.88 kB / 0.5618 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.526e-06/0.1571, allocations: 0 / 0.5618 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.229e-05/0.1571, allocations: 4 kB / 0.5618 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.1571, allocations: 0 / 0.5618 GB, free: 15.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.23e-05/0.1572, allocations: 75.28 kB / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1572, allocations: 3.938 kB / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003136/0.1575, allocations: 71.83 kB / 0.5619 GB, free: 15.52 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: 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.0004565/0.1579, allocations: 185.1 kB / 0.5621 GB, free: 15.33 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001018/0.158, allocations: 59.39 kB / 0.5622 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.158, allocations: 3.938 kB / 0.5622 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.273e-05/0.1581, allocations: 55.41 kB / 0.5622 GB, free: 15.19 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001182/0.1582, allocations: 2.031 kB / 0.5622 GB, free: 15.19 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002134/0.1584, allocations: 106.8 kB / 0.5623 GB, free: 15.05 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.1587, allocations: 0.6769 MB / 0.563 GB, free: 14.35 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.459e-05/0.1588, allocations: 11.44 kB / 0.563 GB, free: 14.34 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1588, allocations: 0 / 0.563 GB, free: 14.34 MB / 430.1 MB Notification: Performance of Templates: time 0.003374/0.1621, allocations: 1.267 MB / 0.5642 GB, free: 13.07 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices/TestMatrices.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 8.501255568000488]