Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Blocks.IntegerTable") translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, 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.001586/0.001586, allocations: 189.6 kB / 16.25 MB, free: 6.629 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.64/1.64, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3959/0.3959, allocations: 39.93 MB / 309.4 MB, free: 9.355 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.2. 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.001335/0.001335, allocations: 71.91 kB / 377.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1445, allocations: 56.88 MB / 434 MB, free: 4.035 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004273/0.1488, allocations: 2.304 MB / 436.3 MB, free: 1.707 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00252/0.1514, allocations: 1.451 MB / 437.7 MB, free: 256 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.1516, allocations: 3.938 kB / 437.7 MB, free: 252 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004488/0.1521, allocations: 123.6 kB / 437.9 MB, free: 128 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000438/0.1526, allocations: 199.3 kB / 438.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.154, allocations: 0.5927 MB / 438.7 MB, free: 15.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005467/0.1546, allocations: 0.5219 MB / 439.2 MB, free: 14.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.1548, allocations: 73.02 kB / 439.2 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002554/0.1551, allocations: 234.9 kB / 439.5 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/0.1553, allocations: 223 kB / 439.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.751e-05/0.1554, allocations: 24 kB / 439.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002837/0.1557, allocations: 155.8 kB / 439.9 MB, free: 14.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001651/0.1558, allocations: 131.5 kB / 440 MB, free: 13.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001788/0.156, allocations: 198.7 kB / 440.2 MB, free: 13.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005999/0.1566, allocations: 0.5649 MB / 440.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1566, allocations: 0 / 440.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1566, allocations: 0 / 440.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.1567, allocations: 8 kB / 440.8 MB, free: 13.21 MB / 382.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.001212/0.1579, allocations: 0.8824 MB / 441.6 MB, free: 12.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.1579, allocations: 15.89 kB / 441.7 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.158, allocations: 48.38 kB / 441.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006045/0.1587, allocations: 479.9 kB / 442.2 MB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/0.1587, allocations: 16.17 kB / 442.2 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.1587, allocations: 12 kB / 442.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004679/0.1592, allocations: 257.4 kB / 442.5 MB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.1592, allocations: 11.94 kB / 442.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.1593, allocations: 4 kB / 442.5 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.1593, allocations: 4 kB / 442.5 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.1596, allocations: 111.9 kB / 442.6 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.1607, allocations: 0.8757 MB / 443.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00063/0.1613, allocations: 286.6 kB / 443.7 MB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/0.1615, allocations: 115.3 kB / 443.9 MB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.741e-05/0.1616, allocations: 4 kB / 443.9 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004625/0.1621, allocations: 226.5 kB / 444.1 MB, free: 9.609 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.864e-06/0.1621, allocations: 4 kB / 444.1 MB, free: 9.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008938/0.163, allocations: 397.8 kB / 444.5 MB, free: 9.211 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001806/0.1632, allocations: 346.1 kB / 444.8 MB, free: 8.793 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007553/0.1639, allocations: 0.6277 MB / 445.4 MB, free: 8.152 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.308e-05/0.164, allocations: 37.69 kB / 445.5 MB, free: 8.109 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000249/0.1642, allocations: 220.6 kB / 445.7 MB, free: 7.891 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.971e-05/0.1643, allocations: 71.19 kB / 445.8 MB, free: 7.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.1645, allocations: 65.62 kB / 445.8 MB, free: 7.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002143/0.1647, allocations: 362.8 kB / 446.2 MB, free: 7.387 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/0.1649, allocations: 79.95 kB / 446.3 MB, free: 7.309 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003632/0.1653, allocations: 249 kB / 446.5 MB, free: 7.004 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004645/0.1657, allocations: 226.8 kB / 446.7 MB, free: 6.758 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.1657, allocations: 0 / 446.7 MB, free: 6.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006887/0.1664, allocations: 316.8 kB / 447 MB, free: 6.441 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.554e-05/0.1665, allocations: 19.66 kB / 447 MB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.1665, allocations: 0 / 447 MB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.1665, allocations: 8.188 kB / 447.1 MB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.1668, allocations: 51.91 kB / 447.1 MB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-05/0.1669, allocations: 11.98 kB / 447.1 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.1671, allocations: 27.83 kB / 447.1 MB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.1671, allocations: 12 kB / 447.2 MB, free: 6.316 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.0003105/0.1674, allocations: 225.7 kB / 447.4 MB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.654e-05/0.1675, allocations: 55.28 kB / 447.4 MB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.1676, allocations: 55.91 kB / 447.5 MB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.1677, allocations: 4 kB / 447.5 MB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.1677, allocations: 0 / 447.5 MB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.1677, allocations: 4 kB / 447.5 MB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005019/0.1682, allocations: 409.2 kB / 447.9 MB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.1682, allocations: 0 / 447.9 MB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.1683, allocations: 31.91 kB / 447.9 MB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.1684, allocations: 3.938 kB / 447.9 MB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/0.1684, allocations: 8 kB / 447.9 MB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.1684, allocations: 8 kB / 447.9 MB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.1684, allocations: 3.984 kB / 447.9 MB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000673/0.1691, allocations: 358.7 kB / 448.3 MB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.1692, allocations: 128.5 kB / 448.4 MB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.948e-05/0.1693, allocations: 23.94 kB / 448.4 MB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.1694, allocations: 15.92 kB / 448.5 MB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.1696, allocations: 39.95 kB / 448.5 MB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.601e-05/0.1696, allocations: 19.98 kB / 448.5 MB, free: 4.844 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004975/0.1701, allocations: 458.8 kB / 449 MB, free: 4.398 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1701, allocations: 0 / 449 MB, free: 4.398 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004387/0.1706, allocations: 95.98 kB / 449.1 MB, free: 4.305 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.001092/0.1716, allocations: 467 kB / 449.5 MB, free: 3.875 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005658/0.1722, allocations: 231.7 kB / 449.7 MB, free: 3.648 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.1722, allocations: 4 kB / 449.8 MB, free: 3.645 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003227/0.1726, allocations: 167.8 kB / 449.9 MB, free: 3.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007132/0.1733, allocations: 154.5 kB / 450.1 MB, free: 3.332 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.1746, allocations: 0.8793 MB / 450.9 MB, free: 2.418 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.175, allocations: 0.8428 MB / 451.8 MB, free: 1.551 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002723/0.1753, allocations: 87.19 kB / 451.9 MB, free: 1.465 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.1754, allocations: 55.41 kB / 451.9 MB, free: 1.41 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1755, allocations: 0 / 451.9 MB, free: 1.41 MB / 382.1 MB Notification: Performance of Templates: time 0.2258/0.4013, allocations: 7.431 MB / 459.4 MB, free: 50.95 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable.pipe 2>&1)