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.001238/0.001238, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 197 kB / 16.53 MB, free: 6.664 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.538/1.538, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.3325/0.3325, allocations: 37.99 MB / 307.8 MB, free: 10.03 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.002227/0.002227, allocations: 68.12 kB / 375.2 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.161, allocations: 56.46 MB / 431.7 MB, free: 6.652 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004535/0.1656, allocations: 2.254 MB / 433.9 MB, free: 4.375 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00274/0.1684, allocations: 1.482 MB / 435.4 MB, free: 2.883 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.1686, allocations: 7.938 kB / 435.4 MB, free: 2.875 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004786/0.1691, allocations: 135.3 kB / 435.6 MB, free: 2.742 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004727/0.1696, allocations: 215 kB / 435.8 MB, free: 2.531 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.1712, allocations: 0.612 MB / 436.4 MB, free: 1.918 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006931/0.1719, allocations: 0.522 MB / 436.9 MB, free: 1.395 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002228/0.1721, allocations: 73.33 kB / 437 MB, free: 1.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002949/0.1724, allocations: 227.1 kB / 437.2 MB, free: 1.098 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002613/0.1727, allocations: 219.1 kB / 437.4 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.409e-05/0.1727, allocations: 24 kB / 437.4 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003309/0.1731, allocations: 151.8 kB / 437.6 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001754/0.1733, allocations: 127.5 kB / 437.7 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002013/0.1735, allocations: 190.8 kB / 437.9 MB, free: 408 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006332/0.1741, allocations: 0.5725 MB / 438.5 MB, free: 15.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1741, allocations: 0 / 438.5 MB, free: 15.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.1741, allocations: 0 / 438.5 MB, free: 15.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.1741, allocations: 7.938 kB / 438.5 MB, free: 15.81 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.001254/0.1754, allocations: 0.8824 MB / 439.4 MB, free: 14.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.1755, allocations: 11.89 kB / 439.4 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.1756, allocations: 56.28 kB / 439.4 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006276/0.1762, allocations: 464.1 kB / 439.9 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.1763, allocations: 12.61 kB / 439.9 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.507e-05/0.1763, allocations: 16.12 kB / 439.9 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004857/0.1768, allocations: 257.4 kB / 440.2 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1768, allocations: 4 kB / 440.2 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.785e-05/0.1769, allocations: 11.98 kB / 440.2 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.1769, allocations: 7.938 kB / 440.2 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003056/0.1772, allocations: 107.9 kB / 440.3 MB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.1783, allocations: 0.8756 MB / 441.2 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000627/0.1789, allocations: 298.5 kB / 441.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002186/0.1791, allocations: 103.4 kB / 441.6 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.813e-05/0.1792, allocations: 12.14 kB / 441.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005134/0.1797, allocations: 226.5 kB / 441.8 MB, free: 12.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.563e-06/0.1797, allocations: 4 kB / 441.8 MB, free: 12.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009595/0.1807, allocations: 400.7 kB / 442.2 MB, free: 11.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001933/0.1809, allocations: 346.1 kB / 442.5 MB, free: 11.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000728/0.1816, allocations: 0.6316 MB / 443.2 MB, free: 10.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.1817, allocations: 33.7 kB / 443.2 MB, free: 10.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.1819, allocations: 224.6 kB / 443.4 MB, free: 10.49 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.667e-05/0.1819, allocations: 63.11 kB / 443.5 MB, free: 10.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.1821, allocations: 69.69 kB / 443.5 MB, free: 10.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.1823, allocations: 362.8 kB / 443.9 MB, free: 9.988 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.1825, allocations: 83.94 kB / 444 MB, free: 9.906 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003426/0.1828, allocations: 241.1 kB / 444.2 MB, free: 9.609 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004551/0.1833, allocations: 239.7 kB / 444.4 MB, free: 9.352 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1833, allocations: 0 / 444.4 MB, free: 9.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000662/0.184, allocations: 312.8 kB / 444.8 MB, free: 9.039 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.184, allocations: 12.06 kB / 444.8 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.184, allocations: 4 kB / 444.8 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.184, allocations: 7.938 kB / 444.8 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.1843, allocations: 51.91 kB / 444.8 MB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.1843, allocations: 4 kB / 444.8 MB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.1845, allocations: 27.83 kB / 444.9 MB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.1846, allocations: 15.98 kB / 444.9 MB, free: 8.918 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.000238/0.1848, allocations: 222 kB / 445.1 MB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.143e-05/0.1849, allocations: 55.34 kB / 445.1 MB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.185, allocations: 51.91 kB / 445.2 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.185, allocations: 7.938 kB / 445.2 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.185, allocations: 3.938 kB / 445.2 MB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.185, allocations: 7.984 kB / 445.2 MB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000428/0.1855, allocations: 405.2 kB / 445.6 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1855, allocations: 0 / 445.6 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.1856, allocations: 27.92 kB / 445.6 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1856, allocations: 0 / 445.6 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.1856, allocations: 11.98 kB / 445.6 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.1857, allocations: 11.94 kB / 445.7 MB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1857, allocations: 0 / 445.7 MB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006352/0.1863, allocations: 358.8 kB / 446 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.349e-05/0.1864, allocations: 120.5 kB / 446.1 MB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.254e-05/0.1865, allocations: 23.98 kB / 446.2 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.1867, allocations: 15.92 kB / 446.2 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.1868, allocations: 31.97 kB / 446.2 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.222e-05/0.1868, allocations: 19.98 kB / 446.2 MB, free: 7.465 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005624/0.1874, allocations: 466.8 kB / 446.7 MB, free: 7.012 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1874, allocations: 0 / 446.7 MB, free: 7.012 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004836/0.1879, allocations: 91.91 kB / 446.8 MB, free: 6.922 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.001144/0.189, allocations: 477.1 kB / 447.2 MB, free: 6.477 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000574/0.1896, allocations: 231.8 kB / 447.5 MB, free: 6.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.1896, allocations: 4 kB / 447.5 MB, free: 6.246 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003361/0.19, allocations: 167.8 kB / 447.6 MB, free: 6.082 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006817/0.1907, allocations: 150.6 kB / 447.8 MB, free: 5.938 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.1919, allocations: 0.7736 MB / 448.5 MB, free: 5.129 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004634/0.1923, allocations: 0.8389 MB / 449.4 MB, free: 4.266 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002574/0.1926, allocations: 91.2 kB / 449.5 MB, free: 4.176 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.1928, allocations: 51.42 kB / 449.5 MB, free: 4.125 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1928, allocations: 0 / 449.5 MB, free: 4.125 MB / 382.1 MB Notification: Performance of Templates: time 0.2397/0.4325, allocations: 7.548 MB / 457.1 MB, free: 52.88 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)