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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.002251/0.002251, allocations: 182.4 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.477/1.477, allocations: 194.3 MB / 207.5 MB, free: 3.457 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001606/0.001606, allocations: 114.4 kB / 252.6 MB, free: 4.781 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2255/0.2255, allocations: 39.95 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.571e-05/3.573e-05, allocations: 8 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1014, allocations: 54.85 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3733/0.4748, allocations: 80.26 MB / 0.5228 GB, free: 10.24 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001847/0.475, allocations: 61.66 kB / 0.5229 GB, free: 10.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01242/0.4875, allocations: 4.438 MB / 0.5272 GB, free: 6.668 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4875, allocations: 0 / 0.5272 GB, free: 6.668 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.4875, allocations: 0 / 0.5272 GB, free: 6.668 MB / 346.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.0007032/0.4882, allocations: 0.5458 MB / 0.5278 GB, free: 6.066 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.4883, allocations: 8.031 kB / 0.5278 GB, free: 6.059 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.719e-05/0.4884, allocations: 15.86 kB / 0.5278 GB, free: 6.043 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.4885, allocations: 190.4 kB / 0.528 GB, free: 5.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.4885, allocations: 7.984 kB / 0.528 GB, free: 5.812 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.245e-05/0.4886, allocations: 11.94 kB / 0.528 GB, free: 5.805 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.4888, allocations: 157.5 kB / 0.5281 GB, free: 5.652 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.4888, allocations: 7.938 kB / 0.5281 GB, free: 5.645 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.4889, allocations: 3.984 kB / 0.5282 GB, free: 5.641 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.4889, allocations: 4 kB / 0.5282 GB, free: 5.637 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.812e-05/0.489, allocations: 61.75 kB / 0.5282 GB, free: 5.586 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002196/0.4892, allocations: 261.3 kB / 0.5285 GB, free: 5.301 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.4894, allocations: 170.7 kB / 0.5286 GB, free: 5.117 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.553e-05/0.4895, allocations: 85.05 kB / 0.5287 GB, free: 5.031 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.602e-06/0.4895, allocations: 4 kB / 0.5287 GB, free: 5.027 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002329/0.4897, allocations: 195.9 kB / 0.5289 GB, free: 4.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 2.093e-06/0.4897, allocations: 0 / 0.5289 GB, free: 4.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004076/0.4901, allocations: 292.6 kB / 0.5292 GB, free: 4.586 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.4902, allocations: 147.7 kB / 0.5293 GB, free: 4.418 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.4903, allocations: 161.8 kB / 0.5295 GB, free: 4.27 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.4904, allocations: 32.7 kB / 0.5295 GB, free: 4.234 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.4904, allocations: 106.7 kB / 0.5296 GB, free: 4.141 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.4904, allocations: 38.11 kB / 0.5296 GB, free: 4.109 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-06/0.4905, allocations: 3.312 kB / 0.5296 GB, free: 4.109 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.304e-05/0.4905, allocations: 329.3 kB / 0.53 GB, free: 3.785 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.163e-05/0.4906, allocations: 73.2 kB / 0.53 GB, free: 3.727 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.8e-05/0.4907, allocations: 105.4 kB / 0.5301 GB, free: 3.633 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.4909, allocations: 194.5 kB / 0.5303 GB, free: 3.441 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4909, allocations: 4 kB / 0.5303 GB, free: 3.438 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003795/0.4912, allocations: 410.3 kB / 0.5307 GB, free: 3.059 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.32e-05/0.4913, allocations: 129.6 kB / 0.5308 GB, free: 2.914 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.4913, allocations: 0 / 0.5308 GB, free: 2.914 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.4914, allocations: 4 kB / 0.5308 GB, free: 2.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.064e-05/0.4914, allocations: 0 / 0.5308 GB, free: 2.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.4914, allocations: 7.938 kB / 0.5308 GB, free: 2.902 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.315e-05/0.4915, allocations: 31.22 kB / 0.5309 GB, free: 2.875 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-05/0.4915, allocations: 12 kB / 0.5309 GB, free: 2.863 MB / 346.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 9.273e-05/0.4916, allocations: 122.9 kB / 0.531 GB, free: 2.742 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.4917, allocations: 11.81 kB / 0.531 GB, free: 2.73 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.55e-05/0.4917, allocations: 19.58 kB / 0.531 GB, free: 2.711 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.4918, allocations: 4 kB / 0.531 GB, free: 2.707 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.4918, allocations: 0 / 0.531 GB, free: 2.707 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.4918, allocations: 4.188 kB / 0.531 GB, free: 2.703 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.4919, allocations: 225.4 kB / 0.5313 GB, free: 2.457 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.492, allocations: 7.984 kB / 0.5313 GB, free: 2.449 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.095e-06/0.492, allocations: 3.938 kB / 0.5313 GB, free: 2.445 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.492, allocations: 4 kB / 0.5313 GB, free: 2.441 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.492, allocations: 11.86 kB / 0.5313 GB, free: 2.434 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.492, allocations: 0 / 0.5313 GB, free: 2.434 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.492, allocations: 3.938 kB / 0.5313 GB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003988/0.4924, allocations: 369.2 kB / 0.5316 GB, free: 2.066 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.41e-05/0.4925, allocations: 88.92 kB / 0.5317 GB, free: 1.961 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/0.4925, allocations: 19.38 kB / 0.5317 GB, free: 1.945 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.52e-05/0.4926, allocations: 12.23 kB / 0.5318 GB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.599e-05/0.4927, allocations: 23.42 kB / 0.5318 GB, free: 1.914 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.666e-05/0.4928, allocations: 30.66 kB / 0.5318 GB, free: 1.887 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.729e-05/0.4928, allocations: 136.4 kB / 0.5319 GB, free: 1.766 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4928, allocations: 0 / 0.5319 GB, free: 1.766 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004636/0.4933, allocations: 91.17 kB / 0.532 GB, free: 1.68 MB / 346.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.0003642/0.4937, allocations: 201.1 kB / 0.5322 GB, free: 1.488 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003434/0.494, allocations: 417.9 kB / 0.5326 GB, free: 1.078 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4941, allocations: 0 / 0.5326 GB, free: 1.078 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.4942, allocations: 88.42 kB / 0.5327 GB, free: 1.008 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.4943, allocations: 11.83 kB / 0.5327 GB, free: 1 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000435/0.4948, allocations: 248.5 kB / 0.5329 GB, free: 0.7578 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/0.495, allocations: 0.7277 MB / 0.5337 GB, free: 4 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.567e-05/0.495, allocations: 4.891 kB / 0.5337 GB, free: 15.99 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/0.4951, allocations: 22.48 kB / 0.5337 GB, free: 15.97 MB / 362.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4951, allocations: 4 kB / 0.5337 GB, free: 15.97 MB / 362.7 MB Notification: Performance of Templates: time 0.005512/0.5006, allocations: 2.511 MB / 0.5361 GB, free: 13.48 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable.makefile (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)