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.001466/0.001466, allocations: 187.3 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.463/1.463, allocations: 194.3 MB / 202.4 MB, free: 8.477 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.001675/0.001675, allocations: 117 kB / 247.4 MB, free: 6.223 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.18/0.18, allocations: 39.94 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.962e-05/1.964e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09563/0.09566, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3513/0.447, allocations: 79.59 MB / 0.5154 GB, free: 10.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001595/0.4472, allocations: 59.19 kB / 0.5155 GB, free: 10.35 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01218/0.4594, allocations: 4.424 MB / 0.5198 GB, free: 9.516 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4594, allocations: 0 / 0.5198 GB, free: 9.516 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.4595, allocations: 7.625 kB / 0.5198 GB, free: 9.512 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.0005325/0.46, allocations: 0.536 MB / 0.5203 GB, free: 8.973 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.46, allocations: 11.53 kB / 0.5203 GB, free: 8.973 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.419e-05/0.4601, allocations: 15.55 kB / 0.5203 GB, free: 8.965 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.027e-05/0.4602, allocations: 188 kB / 0.5205 GB, free: 8.754 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.4602, allocations: 7.781 kB / 0.5205 GB, free: 8.754 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.4602, allocations: 3.844 kB / 0.5205 GB, free: 8.754 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.266e-05/0.4603, allocations: 63.72 kB / 0.5206 GB, free: 8.742 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.4605, allocations: 163.2 kB / 0.5207 GB, free: 8.641 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.4605, allocations: 0 / 0.5207 GB, free: 8.641 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.4605, allocations: 3.375 kB / 0.5207 GB, free: 8.641 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.4606, allocations: 7.828 kB / 0.5208 GB, free: 8.637 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000157/0.4607, allocations: 228.2 kB / 0.521 GB, free: 8.414 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.4609, allocations: 160.6 kB / 0.5211 GB, free: 8.305 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.914e-05/0.4609, allocations: 75.86 kB / 0.5212 GB, free: 8.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/0.461, allocations: 7.156 kB / 0.5212 GB, free: 8.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/0.4612, allocations: 193.2 kB / 0.5214 GB, free: 8.152 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.4612, allocations: 0 / 0.5214 GB, free: 8.152 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003594/0.4615, allocations: 279.7 kB / 0.5217 GB, free: 8.074 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.4616, allocations: 147.4 kB / 0.5218 GB, free: 7.91 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.393e-05/0.4617, allocations: 159.3 kB / 0.522 GB, free: 7.805 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.4617, allocations: 33.56 kB / 0.522 GB, free: 7.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.4618, allocations: 102.1 kB / 0.5221 GB, free: 7.688 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.4618, allocations: 42.2 kB / 0.5221 GB, free: 7.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.247e-06/0.4618, allocations: 3.844 kB / 0.5221 GB, free: 7.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.589e-05/0.4619, allocations: 329.8 kB / 0.5224 GB, free: 7.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.066e-05/0.4619, allocations: 65.42 kB / 0.5225 GB, free: 7.328 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.744e-05/0.462, allocations: 103.9 kB / 0.5226 GB, free: 7.281 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.4622, allocations: 79.8 kB / 0.5227 GB, free: 7.266 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4622, allocations: 0 / 0.5227 GB, free: 7.266 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003635/0.4626, allocations: 287.9 kB / 0.523 GB, free: 7.191 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.459e-05/0.4626, allocations: 122.3 kB / 0.5231 GB, free: 7.059 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4626, allocations: 3.812 kB / 0.5231 GB, free: 7.059 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.4627, allocations: 192 / 0.5231 GB, free: 7.059 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.108e-05/0.4627, allocations: 11.84 kB / 0.5231 GB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.4627, allocations: 0 / 0.5231 GB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.58e-05/0.4628, allocations: 19.16 kB / 0.5231 GB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/0.4628, allocations: 23.47 kB / 0.5231 GB, free: 7.035 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 6.688e-05/0.4629, allocations: 123.4 kB / 0.5232 GB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.4629, allocations: 15.5 kB / 0.5233 GB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.864e-05/0.463, allocations: 19.23 kB / 0.5233 GB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.463, allocations: 0 / 0.5233 GB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.463, allocations: 3.812 kB / 0.5233 GB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.748e-06/0.463, allocations: 0 / 0.5233 GB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.4631, allocations: 203.3 kB / 0.5235 GB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4631, allocations: 0 / 0.5235 GB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.544e-06/0.4631, allocations: 3.844 kB / 0.5235 GB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.4631, allocations: 0 / 0.5235 GB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.4632, allocations: 7.828 kB / 0.5235 GB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4632, allocations: 0 / 0.5235 GB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4632, allocations: 3.844 kB / 0.5235 GB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003285/0.4635, allocations: 365.5 kB / 0.5238 GB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.345e-05/0.4635, allocations: 92.58 kB / 0.5239 GB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.405e-05/0.4636, allocations: 11.77 kB / 0.5239 GB, free: 6.414 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.504e-05/0.4637, allocations: 11.67 kB / 0.5239 GB, free: 6.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.4637, allocations: 23.62 kB / 0.524 GB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.46e-05/0.4638, allocations: 30.8 kB / 0.524 GB, free: 6.379 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.894e-05/0.4638, allocations: 129 kB / 0.5241 GB, free: 6.297 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4639, allocations: 0 / 0.5241 GB, free: 6.297 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003439/0.4642, allocations: 87.62 kB / 0.5242 GB, free: 6.285 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.0002791/0.4645, allocations: 206.1 kB / 0.5244 GB, free: 6.156 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002568/0.4648, allocations: 393.3 kB / 0.5248 GB, free: 5.887 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4648, allocations: 7.844 kB / 0.5248 GB, free: 5.883 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.943e-05/0.4649, allocations: 83.66 kB / 0.5249 GB, free: 5.871 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.465, allocations: 10.84 kB / 0.5249 GB, free: 5.871 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003298/0.4653, allocations: 250.4 kB / 0.5251 GB, free: 5.734 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.4655, allocations: 0.7212 MB / 0.5258 GB, free: 5.02 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.249e-05/0.4655, allocations: 12.72 kB / 0.5258 GB, free: 5.004 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.783e-05/0.4655, allocations: 15 kB / 0.5258 GB, free: 4.996 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4655, allocations: 0 / 0.5258 GB, free: 4.996 MB / 346.7 MB Notification: Performance of Templates: time 0.004101/0.4696, allocations: 2.486 MB / 0.5283 GB, free: 3.781 MB / 346.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)