Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.001501/0.001501, 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.001749/0.001749, 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.574/1.574, 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.2743/0.2743, allocations: 46.91 MB / 357.1 MB, free: 10.31 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.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 63.91 kB / 0.4914 GB, free: 7.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1579, allocations: 66 MB / 0.5559 GB, free: 5.301 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003595/0.1614, allocations: 1.62 MB / 0.5575 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.1626, allocations: 0.5416 MB / 0.558 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.527e-05/0.1627, allocations: 4 kB / 0.558 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004135/0.1631, allocations: 103.7 kB / 0.5581 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003483/0.1635, allocations: 123.6 kB / 0.5582 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.1637, allocations: 91.69 kB / 0.5583 GB, free: 2.805 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.164, allocations: 95.73 kB / 0.5584 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.1641, allocations: 12 kB / 0.5584 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.777e-05/0.1642, allocations: 51.81 kB / 0.5585 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.1643, allocations: 71.8 kB / 0.5585 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.1643, allocations: 0 / 0.5585 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.1645, allocations: 43.98 kB / 0.5586 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.855e-05/0.1645, allocations: 27.8 kB / 0.5586 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.339e-05/0.1646, allocations: 43.67 kB / 0.5586 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.1649, allocations: 119.4 kB / 0.5587 GB, free: 2.348 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1649, allocations: 0 / 0.5587 GB, free: 2.348 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.041e-06/0.1649, allocations: 0 / 0.5587 GB, free: 2.348 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.1649, allocations: 0 / 0.5587 GB, free: 2.348 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006255/0.1655, allocations: 434.6 kB / 0.5592 GB, free: 1.875 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.1655, allocations: 12.03 kB / 0.5592 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.145e-05/0.1656, allocations: 8.891 kB / 0.5592 GB, free: 1.855 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.1658, allocations: 208.9 kB / 0.5594 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1659, allocations: 4.375 kB / 0.5594 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.1659, allocations: 384 / 0.5594 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.1661, allocations: 65.78 kB / 0.5594 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.1661, allocations: 3.953 kB / 0.5595 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.1661, allocations: 0 / 0.5595 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1661, allocations: 4 kB / 0.5595 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.1662, allocations: 27.97 kB / 0.5595 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005047/0.1667, allocations: 296.8 kB / 0.5598 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.1668, allocations: 42.56 kB / 0.5598 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.349e-05/0.1669, allocations: 16.94 kB / 0.5598 GB, free: 1.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.1669, allocations: 4 kB / 0.5598 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/0.167, allocations: 38.5 kB / 0.5599 GB, free: 1.039 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.167, allocations: 0 / 0.5599 GB, free: 1.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001009/0.168, allocations: 237.5 kB / 0.5601 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.168, allocations: 55.34 kB / 0.5601 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003131/0.1683, allocations: 262 kB / 0.5604 GB, free: 480 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.1684, allocations: 25.7 kB / 0.5604 GB, free: 448 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.979e-05/0.1685, allocations: 112.1 kB / 0.5605 GB, free: 332 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/0.1685, allocations: 27.75 kB / 0.5606 GB, free: 304 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.195e-05/0.1686, allocations: 21.7 kB / 0.5606 GB, free: 276 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.1687, allocations: 322.8 kB / 0.5609 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.618e-05/0.1688, allocations: 31.98 kB / 0.5609 GB, free: 15.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.121e-05/0.1689, allocations: 19.98 kB / 0.5609 GB, free: 15.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.1691, allocations: 60.83 kB / 0.561 GB, free: 15.83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1691, allocations: 0 / 0.561 GB, free: 15.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002321/0.1693, allocations: 113.7 kB / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.1693, allocations: 4 kB / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.1693, allocations: 4 kB / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.1693, allocations: 0 / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.1694, allocations: 19.98 kB / 0.5611 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.1694, allocations: 0 / 0.5611 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.77e-05/0.1695, allocations: 7.938 kB / 0.5611 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.1695, allocations: 7.922 kB / 0.5611 GB, free: 15.67 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 (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.0001185/0.1696, allocations: 132 kB / 0.5613 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.1697, allocations: 11.91 kB / 0.5613 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003098/0.17, allocations: 135 kB / 0.5614 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.17, allocations: 0 / 0.5614 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.17, allocations: 3.984 kB / 0.5614 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.17, allocations: 7.938 kB / 0.5614 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005761/0.1706, allocations: 403.3 kB / 0.5618 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1706, allocations: 0 / 0.5618 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.782e-05/0.1706, allocations: 28.02 kB / 0.5618 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1707, allocations: 7.875 kB / 0.5618 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.1707, allocations: 0 / 0.5618 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.1707, allocations: 4 kB / 0.5618 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1707, allocations: 0 / 0.5618 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.1709, allocations: 208.2 kB / 0.562 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.82e-05/0.171, allocations: 89 kB / 0.5621 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.171, allocations: 0 / 0.5621 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.861e-05/0.1711, allocations: 11.98 kB / 0.5621 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.1711, allocations: 4 kB / 0.5621 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.1712, allocations: 7.984 kB / 0.5621 GB, free: 14.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000198/0.1714, allocations: 188.4 kB / 0.5623 GB, free: 14.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1714, allocations: 0 / 0.5623 GB, free: 14.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.1716, allocations: 19.94 kB / 0.5623 GB, free: 14.32 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 (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 Backend phase and start with SimCode phase: time 0.00181/0.1734, allocations: 465 kB / 0.5628 GB, free: 14.05 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002482/0.1737, allocations: 59.89 kB / 0.5628 GB, free: 13.99 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1737, allocations: 7.938 kB / 0.5628 GB, free: 13.98 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.545e-05/0.1738, allocations: 40.06 kB / 0.5629 GB, free: 13.94 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.1741, allocations: 31.55 kB / 0.5629 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006731/0.1748, allocations: 283.1 kB / 0.5632 GB, free: 13.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/0.1752, allocations: 0.7158 MB / 0.5639 GB, free: 12.86 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.874e-05/0.1753, allocations: 8.672 kB / 0.5639 GB, free: 12.85 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.937e-05/0.1753, allocations: 19.42 kB / 0.5639 GB, free: 12.83 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1753, allocations: 0 / 0.5639 GB, free: 12.83 MB / 430.1 MB Notification: Performance of Templates: time 0.00509/0.1804, allocations: 1.39 MB / 0.5653 GB, free: 11.45 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.355743579566479]