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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.0008733/0.0008734, allocations: 156.2 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.244/1.244, allocations: 170.7 MB / 178.7 MB, free: 7.047 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001631/0.001631, allocations: 102.5 kB / 218 MB, free: 15.33 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1933/0.1933, allocations: 37.98 MB / 295.1 MB, free: 2.082 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.481e-05/1.469e-05, allocations: 4 kB / 350 MB, free: 32.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2733, allocations: 48.7 MB / 398.7 MB, free: 6.047 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1128/0.3862, allocations: 73.21 MB / 471.9 MB, free: 9.926 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.3865, allocations: 59.98 kB / 472 MB, free: 9.867 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01452/0.4011, allocations: 4.438 MB / 476.4 MB, free: 5.441 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.278e-06/0.4011, allocations: 0 / 476.4 MB, free: 5.441 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.4012, allocations: 7.938 kB / 476.4 MB, free: 5.434 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008889/0.4021, allocations: 0.5366 MB / 477 MB, free: 4.828 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.4021, allocations: 12.03 kB / 477 MB, free: 4.816 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.234e-05/0.4022, allocations: 11.91 kB / 477 MB, free: 4.805 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.4024, allocations: 182.8 kB / 477.2 MB, free: 4.586 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.634e-05/0.4025, allocations: 3.953 kB / 477.2 MB, free: 4.582 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.011e-05/0.4025, allocations: 11.98 kB / 477.2 MB, free: 4.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001351/0.4026, allocations: 55.98 kB / 477.2 MB, free: 4.516 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.4029, allocations: 157 kB / 477.4 MB, free: 4.344 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.4029, allocations: 0 / 477.4 MB, free: 4.344 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.403, allocations: 7.984 kB / 477.4 MB, free: 4.336 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.403, allocations: 0 / 477.4 MB, free: 4.336 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003172/0.4033, allocations: 240.7 kB / 477.6 MB, free: 4.055 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.4035, allocations: 158.4 kB / 477.8 MB, free: 3.863 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.4037, allocations: 79.59 kB / 477.9 MB, free: 3.773 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.4037, allocations: 7.953 kB / 477.9 MB, free: 3.766 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003214/0.404, allocations: 186.7 kB / 478 MB, free: 3.559 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.803e-06/0.404, allocations: 4 kB / 478.1 MB, free: 3.555 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005089/0.4045, allocations: 285.3 kB / 478.3 MB, free: 3.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.761e-05/0.4046, allocations: 140.5 kB / 478.5 MB, free: 3.102 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.4048, allocations: 157.4 kB / 478.6 MB, free: 2.941 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.4048, allocations: 29.7 kB / 478.7 MB, free: 2.906 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.091e-05/0.4049, allocations: 108.1 kB / 478.8 MB, free: 2.797 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.417e-05/0.405, allocations: 39.48 kB / 478.8 MB, free: 2.758 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.058e-05/0.405, allocations: 4 kB / 478.8 MB, free: 2.754 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.4052, allocations: 326.8 kB / 479.1 MB, free: 2.426 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.4053, allocations: 72.2 kB / 479.2 MB, free: 2.352 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.4054, allocations: 95.81 kB / 479.3 MB, free: 2.246 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002208/0.4056, allocations: 75.95 kB / 479.4 MB, free: 2.172 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4057, allocations: 0 / 479.4 MB, free: 2.172 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004952/0.4062, allocations: 289.3 kB / 479.6 MB, free: 1.883 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.035e-05/0.4063, allocations: 122.8 kB / 479.8 MB, free: 1.738 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.4063, allocations: 0 / 479.8 MB, free: 1.738 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.4063, allocations: 8 kB / 479.8 MB, free: 1.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.221e-05/0.4064, allocations: 4 kB / 479.8 MB, free: 1.727 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.4064, allocations: 7.922 kB / 479.8 MB, free: 1.719 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.757e-05/0.4065, allocations: 12.09 kB / 479.8 MB, free: 1.707 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.169e-05/0.4066, allocations: 19.94 kB / 479.8 MB, free: 1.688 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition4,$PRE.integerTable4.y,integerTable4.y,$PRE.integerTable4.nextTime,integerTable4.nextTime,$PRE.integerTable4.index,integerTable4.index,$whenCondition3,$PRE.integerTable3.y,integerTable3.y,$PRE.integerTable3.nextTime,integerTable3.nextTime,$PRE.integerTable3.index,integerTable3.index,$whenCondition2,$PRE.integerTable2.y,integerTable2.y,$PRE.integerTable2.nextTime,integerTable2.nextTime,$PRE.integerTable2.index,integerTable2.index,$whenCondition1,$PRE.integerTable.y,integerTable.y,$PRE.integerTable.nextTime,integerTable.nextTime,$PRE.integerTable.index,integerTable.index) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001093/0.4067, allocations: 124.1 kB / 479.9 MB, free: 1.562 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/0.4067, allocations: 23.7 kB / 480 MB, free: 1.539 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.315e-05/0.4068, allocations: 20.34 kB / 480 MB, free: 1.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.4068, allocations: 4 kB / 480 MB, free: 1.516 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.4068, allocations: 0 / 480 MB, free: 1.516 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.4068, allocations: 3.984 kB / 480 MB, free: 1.512 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.407, allocations: 194.1 kB / 480.2 MB, free: 1.285 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.407, allocations: 0 / 480.2 MB, free: 1.285 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.328e-06/0.407, allocations: 3.938 kB / 480.2 MB, free: 1.281 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.407, allocations: 4 kB / 480.2 MB, free: 1.277 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.4071, allocations: 8.234 kB / 480.2 MB, free: 1.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.057e-06/0.4071, allocations: 11.94 kB / 480.2 MB, free: 1.258 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4071, allocations: 0 / 480.2 MB, free: 1.258 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004672/0.4076, allocations: 371.5 kB / 480.6 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.239e-05/0.4076, allocations: 92.92 kB / 480.7 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.624e-05/0.4077, allocations: 8 kB / 480.7 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.4078, allocations: 15.98 kB / 480.7 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.206e-05/0.4079, allocations: 11.92 kB / 480.7 MB, free: 0.707 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.759e-05/0.4079, allocations: 35.89 kB / 480.7 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001057/0.408, allocations: 132.1 kB / 480.9 MB, free: 0.543 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.408, allocations: 0 / 480.9 MB, free: 0.543 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005692/0.4086, allocations: 87.92 kB / 480.9 MB, free: 468 kB / 330.7 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,integerTable4.y,integerTable4.nextTime,integerTable4.index,$whenCondition3,integerTable3.y,integerTable3.nextTime,integerTable3.index,$whenCondition2,integerTable2.y,integerTable2.nextTime,integerTable2.index,$whenCondition1,integerTable.y,integerTable.nextTime,integerTable.index) * Number of discrete states: 8 (integerTable.index,integerTable.nextTime,integerTable2.index,integerTable2.nextTime,integerTable3.index,integerTable3.nextTime,integerTable4.index,integerTable4.nextTime) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.0005864/0.4092, allocations: 207 kB / 481.1 MB, free: 248 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004736/0.4097, allocations: 397.5 kB / 481.5 MB, free: 15.8 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4097, allocations: 4 kB / 481.5 MB, free: 15.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.4099, allocations: 83.91 kB / 481.6 MB, free: 15.72 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/0.41, allocations: 10.92 kB / 481.6 MB, free: 15.71 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005764/0.4106, allocations: 252 kB / 481.9 MB, free: 15.44 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.411, allocations: 0.7158 MB / 482.6 MB, free: 14.7 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.199e-05/0.4111, allocations: 12.88 kB / 482.6 MB, free: 14.68 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.935e-05/0.4111, allocations: 11.44 kB / 482.6 MB, free: 14.67 MB / 346.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4111, allocations: 0 / 482.6 MB, free: 14.67 MB / 346.7 MB Notification: Performance of Templates: time 0.006387/0.4175, allocations: 2.485 MB / 485.1 MB, free: 12.19 MB / 346.7 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)