Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001615/0.001615, allocations: 114.6 kB / 18.5 MB, free: 4.562 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.001521/0.001521, allocations: 198.6 kB / 21.45 MB, free: 1.613 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.523/1.523, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2521/0.2521, allocations: 46.9 MB / 357.4 MB, free: 10.46 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test31,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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 83.86 kB / 0.4917 GB, free: 7.789 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.156, allocations: 66 MB / 0.5562 GB, free: 5.664 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003492/0.1595, allocations: 1.626 MB / 0.5578 GB, free: 4.023 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.1606, allocations: 0.5488 MB / 0.5583 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.175e-05/0.1607, allocations: 4 kB / 0.5583 GB, free: 3.469 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003377/0.161, allocations: 127.6 kB / 0.5584 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003191/0.1613, allocations: 127.5 kB / 0.5586 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.1616, allocations: 112.2 kB / 0.5587 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.1618, allocations: 99.73 kB / 0.5588 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1619, allocations: 11.98 kB / 0.5588 GB, free: 3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.685e-05/0.162, allocations: 43.89 kB / 0.5588 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.1621, allocations: 99.69 kB / 0.5589 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.1622, allocations: 4 kB / 0.5589 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.397e-05/0.1622, allocations: 43.98 kB / 0.559 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.653e-05/0.1623, allocations: 31.86 kB / 0.559 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.129e-05/0.1624, allocations: 39.67 kB / 0.559 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.1626, allocations: 127.4 kB / 0.5592 GB, free: 2.617 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.1626, allocations: 4 kB / 0.5592 GB, free: 2.613 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1626, allocations: 0 / 0.5592 GB, free: 2.613 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1626, allocations: 0 / 0.5592 GB, free: 2.613 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.0005781/0.1632, allocations: 442.5 kB / 0.5596 GB, free: 2.129 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.1632, allocations: 8.031 kB / 0.5596 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.1633, allocations: 16.84 kB / 0.5596 GB, free: 2.105 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.1635, allocations: 219.8 kB / 0.5598 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.971e-06/0.1635, allocations: 384 / 0.5598 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.1635, allocations: 384 / 0.5598 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.1637, allocations: 62.22 kB / 0.5599 GB, free: 1.785 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1637, allocations: 192 / 0.5599 GB, free: 1.785 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.1637, allocations: 3.938 kB / 0.5599 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.1637, allocations: 0 / 0.5599 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.1638, allocations: 27.97 kB / 0.5599 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004682/0.1643, allocations: 320.8 kB / 0.5602 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.1644, allocations: 38.56 kB / 0.5602 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.606e-05/0.1644, allocations: 20.94 kB / 0.5603 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.1645, allocations: 0 / 0.5603 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.1645, allocations: 34.56 kB / 0.5603 GB, free: 1.277 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.1645, allocations: 0 / 0.5603 GB, free: 1.277 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009319/0.1654, allocations: 257.4 kB / 0.5605 GB, free: 1.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.1655, allocations: 63.33 kB / 0.5606 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.1657, allocations: 279.8 kB / 0.5609 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.1658, allocations: 29.7 kB / 0.5609 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.037e-05/0.1659, allocations: 116.1 kB / 0.561 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.1659, allocations: 19.75 kB / 0.561 GB, free: 496 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/0.1659, allocations: 25.7 kB / 0.5611 GB, free: 464 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.1661, allocations: 330.8 kB / 0.5614 GB, free: 124 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.572e-05/0.1662, allocations: 27.98 kB / 0.5614 GB, free: 96 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.316e-05/0.1663, allocations: 35.97 kB / 0.5614 GB, free: 60 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.1665, allocations: 76.81 kB / 0.5615 GB, free: 15.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1665, allocations: 0 / 0.5615 GB, free: 15.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002445/0.1667, allocations: 113.6 kB / 0.5616 GB, free: 15.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1667, allocations: 4 kB / 0.5616 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1667, allocations: 0 / 0.5616 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.1667, allocations: 7.984 kB / 0.5616 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.1668, allocations: 15.98 kB / 0.5616 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1668, allocations: 320 / 0.5616 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.462e-05/0.1669, allocations: 8 kB / 0.5616 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.1669, allocations: 8 kB / 0.5617 GB, free: 15.82 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.0001285/0.167, allocations: 141.8 kB / 0.5618 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.1671, allocations: 11.91 kB / 0.5618 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000362/0.1674, allocations: 139 kB / 0.5619 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1674, allocations: 0 / 0.5619 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1674, allocations: 0 / 0.5619 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.1674, allocations: 7.984 kB / 0.5619 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006104/0.1681, allocations: 435.2 kB / 0.5624 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1681, allocations: 0 / 0.5624 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.097e-05/0.1681, allocations: 15.98 kB / 0.5624 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1681, allocations: 0 / 0.5624 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.1682, allocations: 11.94 kB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1682, allocations: 0 / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1682, allocations: 11.97 kB / 0.5624 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003123/0.1685, allocations: 216.2 kB / 0.5626 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-05/0.1685, allocations: 93.02 kB / 0.5627 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.1686, allocations: 3.938 kB / 0.5627 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.431e-05/0.1686, allocations: 4 kB / 0.5627 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.1687, allocations: 11.98 kB / 0.5627 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.1687, allocations: 0 / 0.5627 GB, free: 14.62 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002081/0.1689, allocations: 213.5 kB / 0.5629 GB, free: 14.42 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1689, allocations: 0 / 0.5629 GB, free: 14.42 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.1691, allocations: 23.94 kB / 0.5629 GB, free: 14.39 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.001697/0.1708, allocations: 458.8 kB / 0.5634 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002528/0.1711, allocations: 71.89 kB / 0.5634 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1711, allocations: 0 / 0.5634 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.1712, allocations: 39.91 kB / 0.5635 GB, free: 14 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.1716, allocations: 23.83 kB / 0.5635 GB, free: 13.97 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006386/0.1722, allocations: 316.4 kB / 0.5638 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.1726, allocations: 0.7274 MB / 0.5645 GB, free: 12.88 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.065e-05/0.1727, allocations: 24.64 kB / 0.5645 GB, free: 12.86 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.722e-05/0.1727, allocations: 15.44 kB / 0.5646 GB, free: 12.84 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1727, allocations: 0 / 0.5646 GB, free: 12.84 MB / 430.1 MB Notification: Performance of Templates: time 0.004678/0.1774, allocations: 1.433 MB / 0.566 GB, free: 11.41 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.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.327433141879737]