Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.001487/0.001487, allocations: 124.5 kB / 17.79 MB, free: 5.246 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.001537/0.001537, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.617/1.617, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2407/0.2407, allocations: 46.92 MB / 357.1 MB, free: 10.28 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.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 67.89 kB / 0.4914 GB, free: 7.367 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1596, allocations: 65.99 MB / 0.5559 GB, free: 5.254 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.003815/0.1634, allocations: 1.663 MB / 0.5575 GB, free: 3.578 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.1646, allocations: 0.5611 MB / 0.558 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.343e-05/0.1647, allocations: 0 / 0.558 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002718/0.1649, allocations: 35.77 kB / 0.5581 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003065/0.1653, allocations: 83.61 kB / 0.5582 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.1656, allocations: 115.7 kB / 0.5583 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.1658, allocations: 87.77 kB / 0.5584 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.1659, allocations: 27.97 kB / 0.5584 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.239e-05/0.166, allocations: 27.86 kB / 0.5584 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.1661, allocations: 51.7 kB / 0.5585 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.1661, allocations: 4 kB / 0.5585 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.1663, allocations: 47.98 kB / 0.5585 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.345e-05/0.1664, allocations: 19.92 kB / 0.5585 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.647e-05/0.1664, allocations: 39.72 kB / 0.5586 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.1667, allocations: 115.5 kB / 0.5587 GB, free: 2.367 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1667, allocations: 4 kB / 0.5587 GB, free: 2.363 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1667, allocations: 3.938 kB / 0.5587 GB, free: 2.359 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1667, allocations: 0 / 0.5587 GB, free: 2.359 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006264/0.1673, allocations: 410.8 kB / 0.5591 GB, free: 1.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.1673, allocations: 12.03 kB / 0.5591 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.885e-05/0.1674, allocations: 12.84 kB / 0.5591 GB, free: 1.887 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.1676, allocations: 200.1 kB / 0.5593 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.1677, allocations: 4.375 kB / 0.5593 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.03e-05/0.1677, allocations: 4.375 kB / 0.5593 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.1679, allocations: 85.72 kB / 0.5594 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.1679, allocations: 0 / 0.5594 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.168, allocations: 4 kB / 0.5594 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.168, allocations: 4 kB / 0.5594 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.1681, allocations: 39.97 kB / 0.5594 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005398/0.1686, allocations: 328.7 kB / 0.5597 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.1688, allocations: 70.48 kB / 0.5598 GB, free: 1.059 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.795e-05/0.1689, allocations: 24.84 kB / 0.5598 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.1689, allocations: 0 / 0.5598 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.1689, allocations: 30.56 kB / 0.5599 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.1689, allocations: 0 / 0.5599 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001231/0.1702, allocations: 349.2 kB / 0.5602 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.1702, allocations: 55.34 kB / 0.5602 GB, free: 0.582 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.1705, allocations: 161.8 kB / 0.5604 GB, free: 424 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.1705, allocations: 29.7 kB / 0.5604 GB, free: 388 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.1706, allocations: 104.1 kB / 0.5605 GB, free: 280 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.915e-05/0.1706, allocations: 39.64 kB / 0.5606 GB, free: 240 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.874e-05/0.1707, allocations: 33.7 kB / 0.5606 GB, free: 200 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.1709, allocations: 322.8 kB / 0.5609 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.171, allocations: 48.09 kB / 0.561 GB, free: 15.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.1711, allocations: 43.97 kB / 0.561 GB, free: 15.78 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.1713, allocations: 108.8 kB / 0.5611 GB, free: 15.67 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1713, allocations: 4 kB / 0.5611 GB, free: 15.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003258/0.1717, allocations: 153.5 kB / 0.5612 GB, free: 15.51 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.1717, allocations: 7.938 kB / 0.5613 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.1717, allocations: 4.016 kB / 0.5613 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.1717, allocations: 0 / 0.5613 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.1719, allocations: 23.98 kB / 0.5613 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.1719, allocations: 7.984 kB / 0.5613 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.91e-05/0.1719, allocations: 7.984 kB / 0.5613 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.1719, allocations: 4 kB / 0.5613 GB, free: 15.46 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 (13): * Single equations (assignments): 13 * 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.0001172/0.172, allocations: 128 kB / 0.5614 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.1721, allocations: 19.83 kB / 0.5614 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004208/0.1725, allocations: 186 kB / 0.5616 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.1725, allocations: 0 / 0.5616 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1725, allocations: 0 / 0.5616 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1725, allocations: 0 / 0.5616 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000775/0.1733, allocations: 499.1 kB / 0.5621 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1733, allocations: 0 / 0.5621 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.1734, allocations: 27.92 kB / 0.5621 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1734, allocations: 4 kB / 0.5621 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.1734, allocations: 4 kB / 0.5621 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.1734, allocations: 4 kB / 0.5621 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.1734, allocations: 3.938 kB / 0.5621 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003845/0.1738, allocations: 264.2 kB / 0.5624 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.793e-05/0.1739, allocations: 85.06 kB / 0.5625 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.1739, allocations: 4 kB / 0.5625 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.888e-05/0.174, allocations: 4 kB / 0.5625 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.068e-05/0.174, allocations: 15.92 kB / 0.5625 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.174, allocations: 8 kB / 0.5625 GB, free: 14.12 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001214/0.1741, allocations: 130.2 kB / 0.5626 GB, free: 14 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1741, allocations: 0 / 0.5626 GB, free: 14 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002832/0.1744, allocations: 31.92 kB / 0.5627 GB, free: 13.96 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001843/0.1763, allocations: 453.4 kB / 0.5631 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003194/0.1766, allocations: 111.8 kB / 0.5632 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.1766, allocations: 4 kB / 0.5632 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.1767, allocations: 51.91 kB / 0.5632 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.1771, allocations: 19.98 kB / 0.5633 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006371/0.1777, allocations: 271.6 kB / 0.5635 GB, free: 13.22 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.1781, allocations: 0.708 MB / 0.5642 GB, free: 12.49 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.929e-05/0.1782, allocations: 28.53 kB / 0.5642 GB, free: 12.46 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.1782, allocations: 19.44 kB / 0.5643 GB, free: 12.44 MB / 430.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1782, allocations: 4 kB / 0.5643 GB, free: 12.44 MB / 430.1 MB Notification: Performance of Templates: time 0.005148/0.1834, allocations: 1.604 MB / 0.5658 GB, free: 10.84 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.3144129775464535]