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.001424/0.001424, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001924/0.001924, allocations: 172.7 kB / 15.95 MB, free: 208 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.911/1.911, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.3903/0.3903, allocations: 40 MB / 310.4 MB, free: 9.672 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.0005422/0.0005425, allocations: 16 kB / 378.8 MB, free: 12.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1404, allocations: 57.96 MB / 436.8 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.00278/0.1432, allocations: 1.892 MB / 438.7 MB, free: 360 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002161/0.1454, allocations: 1.378 MB / 440.1 MB, free: 14.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.1456, allocations: 7.938 kB / 440.1 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003855/0.146, allocations: 119.5 kB / 440.2 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003423/0.1464, allocations: 183.2 kB / 440.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.1476, allocations: 0.5304 MB / 440.9 MB, free: 14.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005025/0.1481, allocations: 462.6 kB / 441.3 MB, free: 13.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.1483, allocations: 61.2 kB / 441.4 MB, free: 13.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002226/0.1485, allocations: 195 kB / 441.6 MB, free: 13.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/0.1488, allocations: 183.2 kB / 441.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.083e-05/0.1488, allocations: 8 kB / 441.8 MB, free: 13.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002363/0.149, allocations: 123.9 kB / 441.9 MB, free: 13.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.1492, allocations: 111.6 kB / 442 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.013e-05/0.1493, allocations: 97.45 kB / 442.1 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004181/0.1497, allocations: 423.3 kB / 442.5 MB, free: 12.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1497, allocations: 0 / 442.5 MB, free: 12.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.1497, allocations: 0 / 442.5 MB, free: 12.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1497, allocations: 0 / 442.5 MB, free: 12.49 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.001098/0.1508, allocations: 0.8164 MB / 443.3 MB, free: 11.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.1509, allocations: 8.031 kB / 443.3 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.045e-05/0.151, allocations: 51.34 kB / 443.4 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005758/0.1516, allocations: 443.3 kB / 443.8 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.1516, allocations: 12.23 kB / 443.8 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.1516, allocations: 16 kB / 443.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004641/0.1521, allocations: 261.4 kB / 444.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1521, allocations: 0 / 444.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.705e-05/0.1522, allocations: 15.89 kB / 444.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.1522, allocations: 4 kB / 444.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002862/0.1525, allocations: 107.9 kB / 444.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001349/0.1538, allocations: 0.8719 MB / 445.1 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006502/0.1545, allocations: 290.5 kB / 445.4 MB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.1547, allocations: 111.3 kB / 445.5 MB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.157e-05/0.1548, allocations: 4 kB / 445.5 MB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005068/0.1553, allocations: 226.7 kB / 445.7 MB, free: 8.996 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.453e-06/0.1553, allocations: 3.938 kB / 445.7 MB, free: 8.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009429/0.1563, allocations: 389.7 kB / 446.1 MB, free: 8.605 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001853/0.1565, allocations: 350 kB / 446.4 MB, free: 8.184 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008032/0.1573, allocations: 0.6315 MB / 447.1 MB, free: 7.539 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.087e-05/0.1573, allocations: 33.7 kB / 447.1 MB, free: 7.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002714/0.1576, allocations: 228.5 kB / 447.3 MB, free: 7.273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.202e-05/0.1577, allocations: 63.2 kB / 447.4 MB, free: 7.211 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.323e-05/0.1577, allocations: 4 kB / 447.4 MB, free: 7.207 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.1579, allocations: 370.7 kB / 447.8 MB, free: 6.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.1581, allocations: 83.94 kB / 447.8 MB, free: 6.754 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/0.1585, allocations: 241 kB / 448.1 MB, free: 6.457 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.1587, allocations: 104.2 kB / 448.2 MB, free: 6.355 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1587, allocations: 3.938 kB / 448.2 MB, free: 6.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005659/0.1593, allocations: 308.8 kB / 448.5 MB, free: 6.043 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1593, allocations: 4.125 kB / 448.5 MB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1593, allocations: 8 kB / 448.5 MB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.1593, allocations: 4 kB / 448.5 MB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.1596, allocations: 51.91 kB / 448.6 MB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.1596, allocations: 4 kB / 448.6 MB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.1598, allocations: 31.73 kB / 448.6 MB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.1598, allocations: 15.94 kB / 448.6 MB, free: 5.926 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.0002586/0.1601, allocations: 226 kB / 448.8 MB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.525e-05/0.1602, allocations: 55.36 kB / 448.9 MB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.766e-05/0.1603, allocations: 55.91 kB / 448.9 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.1603, allocations: 7.938 kB / 448.9 MB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1603, allocations: 0 / 448.9 MB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.1603, allocations: 3.984 kB / 448.9 MB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003791/0.1607, allocations: 417.1 kB / 449.4 MB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1607, allocations: 0 / 449.4 MB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.1608, allocations: 23.98 kB / 449.4 MB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1608, allocations: 0 / 449.4 MB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.637e-05/0.1609, allocations: 11.98 kB / 449.4 MB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1609, allocations: 8 kB / 449.4 MB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1609, allocations: 0 / 449.4 MB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006061/0.1615, allocations: 362.7 kB / 449.7 MB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.1616, allocations: 136.5 kB / 449.9 MB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.219e-05/0.1617, allocations: 15.98 kB / 449.9 MB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.1618, allocations: 19.98 kB / 449.9 MB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.162, allocations: 35.95 kB / 450 MB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.578e-05/0.162, allocations: 15.98 kB / 450 MB, free: 4.453 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005428/0.1625, allocations: 458.8 kB / 450.4 MB, free: 4.008 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1626, allocations: 0 / 450.4 MB, free: 4.008 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004275/0.163, allocations: 103.8 kB / 450.5 MB, free: 3.906 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.001167/0.1642, allocations: 476.4 kB / 451 MB, free: 3.469 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000562/0.1647, allocations: 216.1 kB / 451.2 MB, free: 3.258 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.1648, allocations: 4 kB / 451.2 MB, free: 3.254 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003571/0.1651, allocations: 171.9 kB / 451.4 MB, free: 3.086 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006489/0.1658, allocations: 138.4 kB / 451.5 MB, free: 2.949 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.1673, allocations: 0.8275 MB / 452.3 MB, free: 2.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006452/0.1679, allocations: 0.8353 MB / 453.2 MB, free: 1.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002319/0.1682, allocations: 83.67 kB / 453.2 MB, free: 1.148 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.1683, allocations: 51.41 kB / 453.3 MB, free: 1.098 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1683, allocations: 0 / 453.3 MB, free: 1.098 MB / 382.1 MB Notification: Performance of Templates: time 0.2619/0.4302, allocations: 6.884 MB / 460.2 MB, free: 47.7 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: