Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.001288/0.001288, allocations: 120.9 kB / 19.18 MB, free: 3.949 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.001342/0.001342, allocations: 210.6 kB / 22.13 MB, free: 1.004 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.506/1.506, allocations: 230.3 MB / 255.2 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2384/0.2384, allocations: 46.93 MB / 358.2 MB, free: 10.36 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-beta.om/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.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002568/0.002568, allocations: 87.86 kB / 0.4925 GB, free: 7.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1587, allocations: 66 MB / 0.557 GB, free: 5.457 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003618/0.1623, allocations: 1.602 MB / 0.5586 GB, free: 3.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.1636, allocations: 0.5644 MB / 0.5591 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.916e-05/0.1637, allocations: 4 kB / 0.5591 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002965/0.1639, allocations: 39.77 kB / 0.5591 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003658/0.1643, allocations: 71.7 kB / 0.5592 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004026/0.1647, allocations: 115.2 kB / 0.5593 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.1649, allocations: 75.75 kB / 0.5594 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.165, allocations: 8 kB / 0.5594 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.162e-05/0.1651, allocations: 23.92 kB / 0.5594 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.1652, allocations: 35.83 kB / 0.5595 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.1652, allocations: 8 kB / 0.5595 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002346/0.1655, allocations: 103.8 kB / 0.5596 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.323e-05/0.1655, allocations: 15.98 kB / 0.5596 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.608e-05/0.1656, allocations: 23.8 kB / 0.5596 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000361/0.166, allocations: 147.5 kB / 0.5597 GB, free: 2.617 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.166, allocations: 3.938 kB / 0.5598 GB, free: 2.613 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.676e-06/0.166, allocations: 7.984 kB / 0.5598 GB, free: 2.605 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.166, allocations: 0 / 0.5598 GB, free: 2.605 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006767/0.1666, allocations: 398.8 kB / 0.5601 GB, free: 2.164 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1667, allocations: 8.031 kB / 0.5601 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.441e-05/0.1667, allocations: 12.89 kB / 0.5602 GB, free: 2.145 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.167, allocations: 196.3 kB / 0.5603 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.167, allocations: 384 / 0.5603 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.167, allocations: 8.375 kB / 0.5604 GB, free: 1.906 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.1673, allocations: 67.89 kB / 0.5604 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.1673, allocations: 4.125 kB / 0.5604 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.1673, allocations: 3.938 kB / 0.5604 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.1673, allocations: 0 / 0.5604 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.1674, allocations: 27.98 kB / 0.5605 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005449/0.1679, allocations: 296.9 kB / 0.5607 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.1681, allocations: 54.42 kB / 0.5608 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.264e-05/0.1681, allocations: 24.94 kB / 0.5608 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.1682, allocations: 4 kB / 0.5608 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.1682, allocations: 30.56 kB / 0.5608 GB, free: 1.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.1682, allocations: 0 / 0.5608 GB, free: 1.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007129/0.1689, allocations: 185.6 kB / 0.561 GB, free: 1.133 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/0.169, allocations: 77.11 kB / 0.5611 GB, free: 1.039 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.1692, allocations: 155.6 kB / 0.5612 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.1692, allocations: 29.7 kB / 0.5613 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.907e-05/0.1693, allocations: 92.12 kB / 0.5614 GB, free: 0.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.1693, allocations: 27.78 kB / 0.5614 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.628e-05/0.1694, allocations: 25.7 kB / 0.5614 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.1696, allocations: 318.8 kB / 0.5617 GB, free: 380 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.609e-05/0.1697, allocations: 35.91 kB / 0.5618 GB, free: 344 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.1698, allocations: 49.69 kB / 0.5618 GB, free: 288 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.17, allocations: 69.05 kB / 0.5619 GB, free: 216 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.17, allocations: 0 / 0.5619 GB, free: 216 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002699/0.1702, allocations: 113.6 kB / 0.562 GB, free: 96 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.1703, allocations: 4 kB / 0.562 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1703, allocations: 0 / 0.562 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.1703, allocations: 0 / 0.562 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.1704, allocations: 27.95 kB / 0.562 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1704, allocations: 0 / 0.562 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.293e-05/0.1705, allocations: 4 kB / 0.562 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.1705, allocations: 4 kB / 0.562 GB, free: 56 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001421/0.1706, allocations: 125.8 kB / 0.5621 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.038e-05/0.1707, allocations: 7.953 kB / 0.5621 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003103/0.171, allocations: 114.3 kB / 0.5622 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.171, allocations: 0 / 0.5622 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.171, allocations: 0 / 0.5622 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.171, allocations: 7.938 kB / 0.5623 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005773/0.1716, allocations: 390.4 kB / 0.5626 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1716, allocations: 0 / 0.5626 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.426e-05/0.1716, allocations: 19.92 kB / 0.5626 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1716, allocations: 0 / 0.5626 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.1716, allocations: 8 kB / 0.5627 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/0.1717, allocations: 11.88 kB / 0.5627 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1717, allocations: 3.938 kB / 0.5627 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/0.172, allocations: 195.5 kB / 0.5629 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.781e-05/0.172, allocations: 85.06 kB / 0.5629 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.172, allocations: 3.984 kB / 0.5629 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.334e-05/0.1721, allocations: 15.94 kB / 0.563 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.1722, allocations: 0 / 0.563 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.1722, allocations: 7.984 kB / 0.563 GB, free: 14.97 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.1723, allocations: 113 kB / 0.5631 GB, free: 14.86 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1723, allocations: 0 / 0.5631 GB, free: 14.86 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003093/0.1726, allocations: 39.86 kB / 0.5631 GB, free: 14.82 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 (7): * Single equations (assignments): 7 * 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.1744, allocations: 0.492 MB / 0.5636 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002605/0.1747, allocations: 67.95 kB / 0.5637 GB, free: 14.42 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1747, allocations: 0 / 0.5637 GB, free: 14.42 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.1748, allocations: 31.92 kB / 0.5637 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.1752, allocations: 19.92 kB / 0.5637 GB, free: 14.37 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005664/0.1757, allocations: 215.6 kB / 0.5639 GB, free: 14.12 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.1761, allocations: 0.7002 MB / 0.5646 GB, free: 13.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.575e-05/0.1762, allocations: 19.42 kB / 0.5646 GB, free: 13.38 MB / 430.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1762, allocations: 0 / 0.5646 GB, free: 13.38 MB / 430.1 MB Notification: Performance of Templates: time 0.005052/0.1812, allocations: 2.123 MB / 0.5667 GB, free: 11.25 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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: 7.6844017850089585]