Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.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.001659/0.001659, allocations: 116.7 kB / 19.18 MB, free: 3.762 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.001892/0.001892, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.483/1.483, allocations: 230.2 MB / 255.1 MB, free: 15.41 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.223/0.223, allocations: 46.88 MB / 358.1 MB, free: 10.55 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.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable") translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable") [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.002247/0.002247, allocations: 79.88 kB / 0.4924 GB, free: 8.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.143, allocations: 65.97 MB / 0.5568 GB, free: 5.988 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004047/0.147, allocations: 2.343 MB / 0.5591 GB, free: 3.621 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002987/0.15, allocations: 1.704 MB / 0.5607 GB, free: 1.91 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.1502, allocations: 7.938 kB / 0.5607 GB, free: 1.902 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004534/0.1506, allocations: 151.2 kB / 0.5609 GB, free: 1.754 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006217/0.1512, allocations: 282.8 kB / 0.5612 GB, free: 1.477 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.1525, allocations: 0.5288 MB / 0.5617 GB, free: 0.957 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000676/0.1532, allocations: 0.5649 MB / 0.5622 GB, free: 400 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.1534, allocations: 49.06 kB / 0.5623 GB, free: 348 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003131/0.1537, allocations: 235 kB / 0.5625 GB, free: 112 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003242/0.154, allocations: 246.9 kB / 0.5627 GB, free: 15.87 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.999e-05/0.154, allocations: 28 kB / 0.5628 GB, free: 15.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003691/0.1544, allocations: 183.8 kB / 0.5629 GB, free: 15.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002011/0.1546, allocations: 135.5 kB / 0.5631 GB, free: 15.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.1548, allocations: 202.7 kB / 0.5633 GB, free: 15.33 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007475/0.1556, allocations: 0.5953 MB / 0.5638 GB, free: 14.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1556, allocations: 0 / 0.5638 GB, free: 14.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1556, allocations: 0 / 0.5638 GB, free: 14.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.1556, allocations: 3.938 kB / 0.5638 GB, free: 14.73 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001432/0.157, allocations: 0.9327 MB / 0.5647 GB, free: 13.71 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.1571, allocations: 19.97 kB / 0.5648 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.1572, allocations: 56.56 kB / 0.5648 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007432/0.1579, allocations: 484.5 kB / 0.5653 GB, free: 13.13 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.1579, allocations: 12.61 kB / 0.5653 GB, free: 13.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.547e-05/0.158, allocations: 12.38 kB / 0.5653 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005394/0.1585, allocations: 261.2 kB / 0.5656 GB, free: 12.81 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1585, allocations: 4 kB / 0.5656 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.1586, allocations: 11.97 kB / 0.5656 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.1586, allocations: 4 kB / 0.5656 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003253/0.1589, allocations: 111.9 kB / 0.5657 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.1601, allocations: 0.8797 MB / 0.5665 GB, free: 11.74 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007137/0.1608, allocations: 290.5 kB / 0.5668 GB, free: 11.42 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002322/0.161, allocations: 99.39 kB / 0.5669 GB, free: 11.31 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.328e-05/0.1611, allocations: 7.938 kB / 0.5669 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004378/0.1615, allocations: 222.6 kB / 0.5671 GB, free: 11.06 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 1.483e-06/0.1615, allocations: 0 / 0.5671 GB, free: 11.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.001059/0.1626, allocations: 405.1 kB / 0.5675 GB, free: 10.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000216/0.1628, allocations: 346.1 kB / 0.5678 GB, free: 10.24 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008608/0.1636, allocations: 0.6708 MB / 0.5685 GB, free: 9.555 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.107e-05/0.1637, allocations: 37.7 kB / 0.5685 GB, free: 9.512 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/0.1639, allocations: 244.4 kB / 0.5688 GB, free: 9.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.702e-05/0.164, allocations: 67.59 kB / 0.5688 GB, free: 9.203 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.1641, allocations: 61.69 kB / 0.5689 GB, free: 9.137 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.1643, allocations: 366.8 kB / 0.5692 GB, free: 8.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.1645, allocations: 79.95 kB / 0.5693 GB, free: 8.691 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003771/0.1649, allocations: 245.1 kB / 0.5696 GB, free: 8.391 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004857/0.1654, allocations: 227.7 kB / 0.5698 GB, free: 8.145 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.1654, allocations: 4 kB / 0.5698 GB, free: 8.141 MB / 430.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006574/0.1661, allocations: 325 kB / 0.5701 GB, free: 7.816 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.1661, allocations: 4 kB / 0.5701 GB, free: 7.812 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.1661, allocations: 4 kB / 0.5701 GB, free: 7.809 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/0.1661, allocations: 4 kB / 0.5701 GB, free: 7.805 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002841/0.1664, allocations: 55.91 kB / 0.5702 GB, free: 7.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.1664, allocations: 7.938 kB / 0.5702 GB, free: 7.742 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.1666, allocations: 32 kB / 0.5702 GB, free: 7.711 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.1666, allocations: 12 kB / 0.5702 GB, free: 7.699 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition4,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y,$PRE.integerTable2.combiTimeTable.nextTimeEvent,$whenCondition3,integerTable2.combiTimeTable.nextTimeEventScaled,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,$PRE.integerTable3.combiTimeTable.nextTimeEvent,$whenCondition2,integerTable3.combiTimeTable.nextTimeEventScaled,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,$PRE.integerTable4.combiTimeTable.nextTimeEvent,$whenCondition1,integerTable4.combiTimeTable.nextTimeEventScaled,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0002799/0.1669, allocations: 229.7 kB / 0.5704 GB, free: 7.465 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.347e-05/0.167, allocations: 59.62 kB / 0.5705 GB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.1671, allocations: 56.25 kB / 0.5705 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1671, allocations: 0 / 0.5705 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.1671, allocations: 8.188 kB / 0.5705 GB, free: 7.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.1671, allocations: 3.984 kB / 0.5705 GB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004792/0.1676, allocations: 417.3 kB / 0.5709 GB, free: 6.879 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1676, allocations: 4 kB / 0.5709 GB, free: 6.875 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.1677, allocations: 31.92 kB / 0.571 GB, free: 6.844 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.374e-05/0.1678, allocations: 7.938 kB / 0.571 GB, free: 6.836 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.255e-05/0.1678, allocations: 7.984 kB / 0.571 GB, free: 6.828 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.1678, allocations: 0 / 0.571 GB, free: 6.828 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.1678, allocations: 11.92 kB / 0.571 GB, free: 6.816 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007037/0.1685, allocations: 367 kB / 0.5714 GB, free: 6.43 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.1686, allocations: 132.7 kB / 0.5715 GB, free: 6.281 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.799e-05/0.1687, allocations: 11.98 kB / 0.5715 GB, free: 6.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.1689, allocations: 15.98 kB / 0.5715 GB, free: 6.254 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.169, allocations: 43.89 kB / 0.5715 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.154e-05/0.169, allocations: 12 kB / 0.5716 GB, free: 6.199 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006121/0.1696, allocations: 498.8 kB / 0.572 GB, free: 5.715 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1696, allocations: 3.938 kB / 0.572 GB, free: 5.711 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004559/0.1701, allocations: 95.88 kB / 0.5721 GB, free: 5.617 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition4,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 8 (integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001672/0.1718, allocations: 465.2 kB / 0.5726 GB, free: 5.305 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006162/0.1724, allocations: 223.7 kB / 0.5728 GB, free: 5.086 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.1724, allocations: 4.25 kB / 0.5728 GB, free: 5.082 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003041/0.1727, allocations: 112.8 kB / 0.5729 GB, free: 4.973 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006952/0.1734, allocations: 147.7 kB / 0.573 GB, free: 4.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.1748, allocations: 0.8487 MB / 0.5739 GB, free: 3.949 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005377/0.1754, allocations: 0.8506 MB / 0.5747 GB, free: 3.066 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.1755, allocations: 55.41 kB / 0.5748 GB, free: 3.012 MB / 430.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1755, allocations: 0 / 0.5748 GB, free: 3.012 MB / 430.1 MB Notification: Performance of Templates: time 0.01229/0.1878, allocations: 7.33 MB / 0.5819 GB, free: 11.71 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.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.914001127937809]