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.00138/0.00138, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001748/0.001749, allocations: 188.1 kB / 16.25 MB, free: 6.633 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.566/1.566, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.3837/0.3837, allocations: 37.98 MB / 307.4 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.001495/0.001495, allocations: 74.41 kB / 374.7 MB, free: 15.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1508, allocations: 56.47 MB / 431.2 MB, free: 6.992 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.005552/0.1564, allocations: 2.307 MB / 433.5 MB, free: 4.664 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003297/0.1597, allocations: 1.455 MB / 435 MB, free: 3.199 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002227/0.16, allocations: 4 kB / 435 MB, free: 3.195 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006943/0.1608, allocations: 127.5 kB / 435.1 MB, free: 3.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005657/0.1613, allocations: 195.3 kB / 435.3 MB, free: 2.879 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001855/0.1632, allocations: 0.585 MB / 435.9 MB, free: 2.293 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006555/0.1639, allocations: 0.522 MB / 436.4 MB, free: 1.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.1641, allocations: 77.31 kB / 436.5 MB, free: 1.691 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002873/0.1644, allocations: 227 kB / 436.7 MB, free: 1.469 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000278/0.1647, allocations: 231 kB / 436.9 MB, free: 1.242 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.201e-05/0.1647, allocations: 24 kB / 436.9 MB, free: 1.219 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003151/0.165, allocations: 151.8 kB / 437.1 MB, free: 1.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.1652, allocations: 131.6 kB / 437.2 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002124/0.1654, allocations: 194.8 kB / 437.4 MB, free: 0.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007173/0.1662, allocations: 0.5684 MB / 438 MB, free: 184 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1662, allocations: 0 / 438 MB, free: 184 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1662, allocations: 0 / 438 MB, free: 184 kB / 366.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.1662, allocations: 0 / 438 MB, free: 184 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.001409/0.1676, allocations: 0.8865 MB / 438.8 MB, free: 15.22 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.1677, allocations: 15.89 kB / 438.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.1678, allocations: 52.28 kB / 438.9 MB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000593/0.1684, allocations: 460.1 kB / 439.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.187e-05/0.1684, allocations: 12.61 kB / 439.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.474e-05/0.1685, allocations: 24.05 kB / 439.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005171/0.169, allocations: 257.4 kB / 439.7 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.169, allocations: 0 / 439.7 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.1691, allocations: 12 kB / 439.7 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.1691, allocations: 4 kB / 439.7 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002962/0.1694, allocations: 111.8 kB / 439.8 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.1705, allocations: 0.8835 MB / 440.7 MB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006167/0.1711, allocations: 290.5 kB / 440.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002124/0.1714, allocations: 111.4 kB / 441.1 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.221e-05/0.1714, allocations: 12 kB / 441.1 MB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005221/0.1719, allocations: 214.5 kB / 441.3 MB, free: 12.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.873e-06/0.172, allocations: 0 / 441.3 MB, free: 12.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009768/0.1729, allocations: 412.7 kB / 441.7 MB, free: 12.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001532/0.1731, allocations: 338.1 kB / 442 MB, free: 11.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006884/0.1738, allocations: 0.6277 MB / 442.6 MB, free: 11.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.1738, allocations: 33.7 kB / 442.7 MB, free: 11.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.174, allocations: 224.6 kB / 442.9 MB, free: 10.85 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.825e-05/0.1741, allocations: 67.16 kB / 443 MB, free: 10.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.438e-05/0.1742, allocations: 69.69 kB / 443 MB, free: 10.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002082/0.1745, allocations: 366.8 kB / 443.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/0.1747, allocations: 75.95 kB / 443.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003549/0.175, allocations: 253 kB / 443.7 MB, free: 9.961 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004464/0.1755, allocations: 235.7 kB / 443.9 MB, free: 9.707 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1755, allocations: 0 / 443.9 MB, free: 9.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006086/0.1761, allocations: 308.8 kB / 444.2 MB, free: 9.398 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.1762, allocations: 8 kB / 444.2 MB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.1762, allocations: 8.062 kB / 444.2 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.1762, allocations: 7.938 kB / 444.3 MB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.1764, allocations: 59.88 kB / 444.3 MB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.1765, allocations: 7.938 kB / 444.3 MB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.1767, allocations: 27.83 kB / 444.3 MB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.1767, allocations: 12 kB / 444.4 MB, free: 9.27 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.0002504/0.177, allocations: 222 kB / 444.6 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.829e-05/0.177, allocations: 55.34 kB / 444.6 MB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.1771, allocations: 55.91 kB / 444.7 MB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.667e-06/0.1772, allocations: 7.938 kB / 444.7 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.1772, allocations: 0 / 444.7 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1772, allocations: 0 / 444.7 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004287/0.1776, allocations: 401.3 kB / 445.1 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.1776, allocations: 4 kB / 445.1 MB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.1778, allocations: 23.97 kB / 445.1 MB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1778, allocations: 4 kB / 445.1 MB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/0.1778, allocations: 8 kB / 445.1 MB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-06/0.1778, allocations: 11.88 kB / 445.1 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.1778, allocations: 11.97 kB / 445.1 MB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006498/0.1785, allocations: 350.8 kB / 445.5 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.1786, allocations: 128.5 kB / 445.6 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.821e-05/0.1787, allocations: 12 kB / 445.6 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.1789, allocations: 23.86 kB / 445.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.179, allocations: 43.89 kB / 445.7 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.648e-05/0.179, allocations: 15.98 kB / 445.7 MB, free: 7.812 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004909/0.1795, allocations: 462.8 kB / 446.2 MB, free: 7.363 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1795, allocations: 0 / 446.2 MB, free: 7.363 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004314/0.18, allocations: 99.89 kB / 446.3 MB, free: 7.266 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.001248/0.1812, allocations: 469.4 kB / 446.7 MB, free: 6.828 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005908/0.1818, allocations: 236.1 kB / 446.9 MB, free: 6.598 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1818, allocations: 0 / 446.9 MB, free: 6.598 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000371/0.1822, allocations: 172.3 kB / 447.1 MB, free: 6.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006866/0.1829, allocations: 142.5 kB / 447.3 MB, free: 6.289 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.1843, allocations: 0.8831 MB / 448.1 MB, free: 5.371 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000551/0.1849, allocations: 0.835 MB / 449 MB, free: 4.512 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002447/0.1852, allocations: 95.19 kB / 449.1 MB, free: 4.418 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.1853, allocations: 59.41 kB / 449.1 MB, free: 4.359 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1853, allocations: 0 / 449.1 MB, free: 4.359 MB / 382.1 MB Notification: Performance of Templates: time 0.2536/0.4389, allocations: 7.421 MB / 456.5 MB, free: 52.03 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)