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.001018/0.001018, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001101/0.001101, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.757/1.757, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.471/0.471, allocations: 38.03 MB / 308.4 MB, free: 10.43 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.0005963/0.0005967, allocations: 12 kB / 376.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1607, allocations: 57.52 MB / 433.9 MB, free: 5.566 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002886/0.1636, allocations: 1.849 MB / 435.8 MB, free: 3.703 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002259/0.1659, allocations: 1.299 MB / 437.1 MB, free: 2.395 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.166, allocations: 3.938 kB / 437.1 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004473/0.1665, allocations: 107.6 kB / 437.2 MB, free: 2.285 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003871/0.1669, allocations: 191.4 kB / 437.4 MB, free: 2.098 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.1682, allocations: 0.5301 MB / 437.9 MB, free: 1.566 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004565/0.1686, allocations: 323.3 kB / 438.2 MB, free: 1.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.1688, allocations: 69.23 kB / 438.3 MB, free: 1.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002735/0.1691, allocations: 183.2 kB / 438.5 MB, free: 1 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.1693, allocations: 171.2 kB / 438.6 MB, free: 0.832 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.556e-05/0.1694, allocations: 8 kB / 438.6 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002319/0.1696, allocations: 111.8 kB / 438.7 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.1698, allocations: 111.6 kB / 438.9 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.464e-05/0.1699, allocations: 97.45 kB / 438.9 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004642/0.1704, allocations: 423.3 kB / 439.4 MB, free: 92 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1704, allocations: 0 / 439.4 MB, free: 92 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1704, allocations: 0 / 439.4 MB, free: 92 kB / 366.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1704, allocations: 0 / 439.4 MB, free: 92 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.001216/0.1716, allocations: 0.8203 MB / 440.2 MB, free: 15.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.1717, allocations: 8.031 kB / 440.2 MB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.1718, allocations: 55.34 kB / 440.2 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000654/0.1724, allocations: 443.3 kB / 440.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.1725, allocations: 12.23 kB / 440.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.1725, allocations: 12 kB / 440.7 MB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004893/0.173, allocations: 257.4 kB / 441 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.173, allocations: 3.938 kB / 441 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.1731, allocations: 4 kB / 441 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.1731, allocations: 11.94 kB / 441 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002699/0.1734, allocations: 107.9 kB / 441.1 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.1745, allocations: 0.8794 MB / 442 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00059/0.1751, allocations: 294.9 kB / 442.2 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.636e-05/0.1751, allocations: 12.34 kB / 442.3 MB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004986/0.1756, allocations: 214.6 kB / 442.5 MB, free: 12.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.683e-06/0.1756, allocations: 0 / 442.5 MB, free: 12.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.001068/0.1767, allocations: 397.7 kB / 442.9 MB, free: 12.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004406/0.1771, allocations: 346.1 kB / 443.2 MB, free: 11.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007942/0.1779, allocations: 0.6237 MB / 443.8 MB, free: 11.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.179e-05/0.178, allocations: 41.7 kB / 443.9 MB, free: 11.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.1782, allocations: 228.5 kB / 444.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.826e-05/0.1783, allocations: 63.19 kB / 444.1 MB, free: 10.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.253e-05/0.1783, allocations: 4 kB / 444.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002176/0.1785, allocations: 370.8 kB / 444.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.1787, allocations: 79.95 kB / 444.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004092/0.1791, allocations: 245 kB / 444.8 MB, free: 10.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/0.1794, allocations: 103.9 kB / 444.9 MB, free: 10.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1794, allocations: 0 / 444.9 MB, free: 10.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005578/0.1799, allocations: 312.9 kB / 445.2 MB, free: 9.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.18, allocations: 4 kB / 445.2 MB, free: 9.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.18, allocations: 4 kB / 445.2 MB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.18, allocations: 0 / 445.2 MB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.1803, allocations: 55.91 kB / 445.3 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.1803, allocations: 7.938 kB / 445.3 MB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.1805, allocations: 31.83 kB / 445.3 MB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.1805, allocations: 12.36 kB / 445.3 MB, free: 9.637 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 ($whenCondition4,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$PRE.integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,$PRE.integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,$PRE.integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002925/0.1808, allocations: 226.8 kB / 445.6 MB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-05/0.1809, allocations: 55.33 kB / 445.6 MB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.181, allocations: 59.89 kB / 445.7 MB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.181, allocations: 4 kB / 445.7 MB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.1811, allocations: 0 / 445.7 MB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.1811, allocations: 0 / 445.7 MB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00042/0.1815, allocations: 413.1 kB / 446.1 MB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1815, allocations: 4 kB / 446.1 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.1816, allocations: 19.98 kB / 446.1 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1816, allocations: 8 kB / 446.1 MB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.278e-05/0.1817, allocations: 11.98 kB / 446.1 MB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1817, allocations: 7.938 kB / 446.1 MB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.1817, allocations: 0 / 446.1 MB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006415/0.1823, allocations: 395.9 kB / 446.5 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.1825, allocations: 148.4 kB / 446.7 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.884e-05/0.1826, allocations: 8 kB / 446.7 MB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.1827, allocations: 19.98 kB / 446.7 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.705e-05/0.1828, allocations: 35.91 kB / 446.7 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/0.1829, allocations: 19.98 kB / 446.8 MB, free: 8.102 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005186/0.1834, allocations: 462.8 kB / 447.2 MB, free: 7.652 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1834, allocations: 0 / 447.2 MB, free: 7.652 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004267/0.1838, allocations: 99.98 kB / 447.3 MB, free: 7.555 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001011/0.1849, allocations: 448.6 kB / 447.7 MB, free: 7.137 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004982/0.1854, allocations: 235.8 kB / 448 MB, free: 6.906 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.1854, allocations: 4 kB / 448 MB, free: 6.902 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003142/0.1857, allocations: 171.8 kB / 448.1 MB, free: 6.734 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005352/0.1863, allocations: 122.2 kB / 448.3 MB, free: 6.613 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.1875, allocations: 0.8275 MB / 449.1 MB, free: 5.754 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.1879, allocations: 0.847 MB / 449.9 MB, free: 4.883 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002201/0.1881, allocations: 92.19 kB / 450 MB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.1882, allocations: 55.42 kB / 450.1 MB, free: 4.742 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1882, allocations: 0 / 450.1 MB, free: 4.742 MB / 382.1 MB Notification: Performance of Templates: time 0.2538/0.4421, allocations: 6.866 MB / 456.9 MB, free: 48.43 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: