Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable") translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 188.6 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3827/0.3827, allocations: 37.98 MB / 307.3 MB, free: 10.08 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 64.12 kB / 374.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1489, allocations: 56.47 MB / 431 MB, free: 7.086 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.005013/0.154, allocations: 2.299 MB / 433.3 MB, free: 4.766 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002478/0.1565, allocations: 1.466 MB / 434.8 MB, free: 3.289 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.1567, allocations: 7.938 kB / 434.8 MB, free: 3.281 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005602/0.1573, allocations: 127.6 kB / 434.9 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005812/0.1579, allocations: 195.2 kB / 435.1 MB, free: 2.965 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.1596, allocations: 0.5733 MB / 435.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006113/0.1602, allocations: 498.5 kB / 436.2 MB, free: 1.902 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.1604, allocations: 69.33 kB / 436.2 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002453/0.1607, allocations: 203 kB / 436.4 MB, free: 1.633 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002415/0.1609, allocations: 211 kB / 436.6 MB, free: 1.426 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.305e-05/0.161, allocations: 8 kB / 436.6 MB, free: 1.418 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002879/0.1613, allocations: 131.8 kB / 436.8 MB, free: 1.289 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002126/0.1615, allocations: 111.5 kB / 436.9 MB, free: 1.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002152/0.1617, allocations: 174.8 kB / 437 MB, free: 1.008 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007337/0.1625, allocations: 0.5528 MB / 437.6 MB, free: 464 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1625, allocations: 0 / 437.6 MB, free: 464 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1625, allocations: 0 / 437.6 MB, free: 464 kB / 366.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.1625, allocations: 4 kB / 437.6 MB, free: 460 kB / 366.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.001728/0.1642, allocations: 0.8865 MB / 438.5 MB, free: 15.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.1643, allocations: 12.03 kB / 438.5 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.1644, allocations: 52.28 kB / 438.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006432/0.1651, allocations: 468.1 kB / 439 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.1651, allocations: 12.61 kB / 439 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.368e-05/0.1652, allocations: 16.12 kB / 439 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004607/0.1656, allocations: 261.4 kB / 439.3 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1657, allocations: 0 / 439.3 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.257e-05/0.1657, allocations: 11.98 kB / 439.3 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.1657, allocations: 7.938 kB / 439.3 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003011/0.166, allocations: 115.9 kB / 439.4 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.1674, allocations: 0.8757 MB / 440.3 MB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006966/0.1681, allocations: 290.5 kB / 440.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.1683, allocations: 107.4 kB / 440.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.1684, allocations: 4 kB / 440.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005126/0.1689, allocations: 222.5 kB / 440.9 MB, free: 12.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.293e-06/0.1689, allocations: 0 / 440.9 MB, free: 12.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.001101/0.17, allocations: 412.6 kB / 441.3 MB, free: 12.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003086/0.1703, allocations: 342.1 kB / 441.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008517/0.1712, allocations: 0.6239 MB / 442.3 MB, free: 11.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.1712, allocations: 37.69 kB / 442.3 MB, free: 11.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/0.1715, allocations: 220.6 kB / 442.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.142e-05/0.1716, allocations: 71.16 kB / 442.6 MB, free: 11.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002372/0.1718, allocations: 65.64 kB / 442.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003297/0.1722, allocations: 370.8 kB / 443 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003018/0.1725, allocations: 80.95 kB / 443.1 MB, free: 10.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004081/0.1729, allocations: 249 kB / 443.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005314/0.1735, allocations: 230.7 kB / 443.6 MB, free: 9.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1735, allocations: 0 / 443.6 MB, free: 9.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006147/0.1741, allocations: 312.8 kB / 443.9 MB, free: 9.668 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.1741, allocations: 11.94 kB / 443.9 MB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1741, allocations: 0 / 443.9 MB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.1742, allocations: 7.938 kB / 443.9 MB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/0.1744, allocations: 60.03 kB / 443.9 MB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.1744, allocations: 8.234 kB / 444 MB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.1746, allocations: 23.84 kB / 444 MB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.1747, allocations: 19.98 kB / 444 MB, free: 9.539 MB / 382.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.0002299/0.1749, allocations: 213.7 kB / 444.2 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-05/0.175, allocations: 55.34 kB / 444.3 MB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.1751, allocations: 59.89 kB / 444.3 MB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.1751, allocations: 11.94 kB / 444.3 MB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.1751, allocations: 0 / 444.3 MB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1752, allocations: 0 / 444.3 MB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006968/0.1759, allocations: 409.3 kB / 444.7 MB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1759, allocations: 0 / 444.7 MB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.176, allocations: 23.92 kB / 444.8 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.172e-05/0.1761, allocations: 7.984 kB / 444.8 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.1761, allocations: 8 kB / 444.8 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.1761, allocations: 7.938 kB / 444.8 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1761, allocations: 0 / 444.8 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007322/0.1769, allocations: 354.8 kB / 445.1 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.1771, allocations: 132.5 kB / 445.3 MB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.878e-05/0.1772, allocations: 8 kB / 445.3 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.1773, allocations: 27.86 kB / 445.3 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.1775, allocations: 43.95 kB / 445.3 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/0.1775, allocations: 11.98 kB / 445.3 MB, free: 8.086 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005873/0.1781, allocations: 466.8 kB / 445.8 MB, free: 7.633 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1781, allocations: 0 / 445.8 MB, free: 7.633 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004575/0.1786, allocations: 95.89 kB / 445.9 MB, free: 7.539 MB / 382.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.001221/0.1798, allocations: 476.9 kB / 446.4 MB, free: 7.094 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006648/0.1805, allocations: 223.8 kB / 446.6 MB, free: 6.875 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.1805, allocations: 0 / 446.6 MB, free: 6.875 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005268/0.181, allocations: 167.8 kB / 446.7 MB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008388/0.1819, allocations: 135.2 kB / 446.9 MB, free: 6.578 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.1835, allocations: 0.8731 MB / 447.7 MB, free: 5.672 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007288/0.1843, allocations: 0.8431 MB / 448.6 MB, free: 4.805 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003719/0.1847, allocations: 87.22 kB / 448.7 MB, free: 4.719 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.1848, allocations: 55.34 kB / 448.7 MB, free: 4.664 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1848, allocations: 4 kB / 448.7 MB, free: 4.66 MB / 382.1 MB Notification: Performance of Templates: time 0.2598/0.4446, allocations: 7.194 MB / 455.9 MB, free: 51.64 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable.pipe 2>&1)