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.008408/0.008408, allocations: 166.3 kB / 15.11 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.228/1.228, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001554/0.001554, allocations: 114.6 kB / 226.2 MB, free: 10.1 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.285/0.285, allocations: 38.05 MB / 303.7 MB, free: 42.46 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003786, allocations: 16 kB / 362.9 MB, free: 5.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1107, allocations: 48.7 MB / 411.6 MB, free: 4.797 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3579/0.4687, allocations: 73.96 MB / 485.5 MB, free: 13.78 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001717/0.4689, allocations: 66.72 kB / 485.6 MB, free: 13.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01197/0.4808, allocations: 4.446 MB / 490 MB, free: 9.848 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.4809, allocations: 4 kB / 490 MB, free: 9.844 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.4809, allocations: 4 kB / 490 MB, free: 9.84 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.0005493/0.4815, allocations: 0.5621 MB / 490.6 MB, free: 9.219 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.4815, allocations: 8.031 kB / 490.6 MB, free: 9.211 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.042e-05/0.4816, allocations: 11.91 kB / 490.6 MB, free: 9.199 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.213e-05/0.4817, allocations: 191.4 kB / 490.8 MB, free: 8.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.4817, allocations: 7.875 kB / 490.8 MB, free: 8.977 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.4817, allocations: 4 kB / 490.8 MB, free: 8.973 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.482, allocations: 175.9 kB / 491 MB, free: 8.805 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.482, allocations: 0 / 491 MB, free: 8.805 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.4821, allocations: 4 kB / 491 MB, free: 8.801 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.4821, allocations: 0 / 491 MB, free: 8.801 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.4822, allocations: 79.44 kB / 491.1 MB, free: 8.734 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002032/0.4824, allocations: 264.2 kB / 491.3 MB, free: 8.445 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.4827, allocations: 189 kB / 491.5 MB, free: 8.246 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.427e-06/0.4827, allocations: 4 kB / 491.5 MB, free: 8.242 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002616/0.4829, allocations: 201.4 kB / 491.7 MB, free: 8.047 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.483, allocations: 0 / 491.7 MB, free: 8.047 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006013/0.4836, allocations: 394.7 kB / 492.1 MB, free: 7.711 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.4836, allocations: 144.3 kB / 492.3 MB, free: 7.543 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.4837, allocations: 165.3 kB / 492.4 MB, free: 7.395 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.4837, allocations: 33.58 kB / 492.4 MB, free: 7.359 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.742e-05/0.4838, allocations: 103.6 kB / 492.5 MB, free: 7.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.4839, allocations: 39.41 kB / 492.6 MB, free: 7.238 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.156e-06/0.4839, allocations: 3.75 kB / 492.6 MB, free: 7.238 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.197e-05/0.4839, allocations: 330.5 kB / 492.9 MB, free: 6.914 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.873e-05/0.484, allocations: 79.12 kB / 493 MB, free: 6.848 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.833e-05/0.4841, allocations: 107.1 kB / 493.1 MB, free: 6.754 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.4842, allocations: 189.4 kB / 493.3 MB, free: 6.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4842, allocations: 0 / 493.3 MB, free: 6.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003473/0.4846, allocations: 419.8 kB / 493.7 MB, free: 6.188 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.364e-05/0.4846, allocations: 126.7 kB / 493.8 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.4847, allocations: 0 / 493.8 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.4847, allocations: 4 kB / 493.8 MB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.727e-05/0.4847, allocations: 7.938 kB / 493.8 MB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.4847, allocations: 4 kB / 493.8 MB, free: 6.027 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.055e-05/0.4848, allocations: 23.64 kB / 493.8 MB, free: 6.008 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.4848, allocations: 14.19 kB / 493.9 MB, free: 5.996 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 () * Number of clocked 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 8.887e-05/0.4849, allocations: 153.5 kB / 494 MB, free: 5.848 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.485, allocations: 19.77 kB / 494 MB, free: 5.828 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/0.485, allocations: 16.17 kB / 494 MB, free: 5.816 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.485, allocations: 4 kB / 494.1 MB, free: 5.812 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.485, allocations: 7.984 kB / 494.1 MB, free: 5.805 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.485, allocations: 4 kB / 494.1 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.4852, allocations: 230.2 kB / 494.3 MB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4852, allocations: 0 / 494.3 MB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.802e-06/0.4852, allocations: 4 kB / 494.3 MB, free: 5.543 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.4852, allocations: 3.953 kB / 494.3 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.4852, allocations: 7.984 kB / 494.3 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4852, allocations: 0 / 494.3 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4852, allocations: 4 kB / 494.3 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004071/0.4856, allocations: 387.4 kB / 494.7 MB, free: 5.156 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.453e-05/0.4857, allocations: 92.92 kB / 494.8 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.4857, allocations: 11.17 kB / 494.8 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.53e-05/0.4858, allocations: 15.98 kB / 494.8 MB, free: 5.023 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.4858, allocations: 11.3 kB / 494.8 MB, free: 5.016 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.635e-05/0.4859, allocations: 34.27 kB / 494.8 MB, free: 4.988 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.543e-05/0.4859, allocations: 141.1 kB / 495 MB, free: 4.863 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.486, allocations: 3.938 kB / 495 MB, free: 4.859 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000365/0.4863, allocations: 91.06 kB / 495.1 MB, free: 4.773 MB / 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) * Number of clocked states: 0 () * 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.0002909/0.4866, allocations: 200.2 kB / 495.3 MB, free: 4.574 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003486/0.487, allocations: 427.7 kB / 495.7 MB, free: 4.156 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.487, allocations: 3.938 kB / 495.7 MB, free: 4.152 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.4872, allocations: 100.8 kB / 495.8 MB, free: 4.07 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.4873, allocations: 11.73 kB / 495.8 MB, free: 4.062 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000472/0.4878, allocations: 353.1 kB / 496.2 MB, free: 3.707 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.4879, allocations: 0.7194 MB / 496.9 MB, free: 2.965 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.993e-05/0.4879, allocations: 4.891 kB / 496.9 MB, free: 2.957 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.111e-05/0.488, allocations: 23.42 kB / 496.9 MB, free: 2.934 MB / 330.7 MB Notification: Performance of SimCode: time 2.91e-07/0.488, allocations: 0 / 496.9 MB, free: 2.934 MB / 330.7 MB Notification: Performance of Templates: time 0.004136/0.4921, allocations: 2.51 MB / 499.4 MB, free: 464 kB / 330.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)