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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004336/0.004337, allocations: 186.5 kB / 7.46 MB, free: 2.5 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.21/1.21, allocations: 194.2 MB / 202.1 MB, free: 8.664 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.001699/0.001699, allocations: 122.5 kB / 247.1 MB, free: 6.395 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.1688/0.1688, allocations: 39.94 MB / 331.9 MB, free: 4.906 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.093e-06/7.123e-06, allocations: 4 kB / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09832/0.09834, allocations: 54.87 MB / 447.6 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3097/0.4081, allocations: 79.51 MB / 0.5148 GB, free: 10.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/0.4085, allocations: 61.27 kB / 0.5149 GB, free: 10.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01648/0.425, allocations: 4.155 MB / 0.5189 GB, free: 9.582 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.425, allocations: 1.875 kB / 0.5189 GB, free: 9.582 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.001058/0.4261, allocations: 0.5508 MB / 0.5195 GB, free: 9.035 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.789e-05/0.4262, allocations: 7.812 kB / 0.5195 GB, free: 9.035 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.832e-05/0.4263, allocations: 11.62 kB / 0.5195 GB, free: 9.031 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.4264, allocations: 197.2 kB / 0.5197 GB, free: 8.812 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.227e-05/0.4265, allocations: 3.531 kB / 0.5197 GB, free: 8.812 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.247e-05/0.4265, allocations: 11.73 kB / 0.5197 GB, free: 8.809 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001809/0.4267, allocations: 54.52 kB / 0.5197 GB, free: 8.801 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.427, allocations: 162.7 kB / 0.5199 GB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.427, allocations: 0 / 0.5199 GB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.427, allocations: 4.688 kB / 0.5199 GB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.4271, allocations: 5.297 kB / 0.5199 GB, free: 8.699 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002546/0.4273, allocations: 225.7 kB / 0.5201 GB, free: 8.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.4275, allocations: 163.7 kB / 0.5203 GB, free: 8.371 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.966e-05/0.4276, allocations: 78.16 kB / 0.5203 GB, free: 8.332 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.4277, allocations: 2.344 kB / 0.5203 GB, free: 8.332 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002166/0.4279, allocations: 177.2 kB / 0.5205 GB, free: 8.223 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.4279, allocations: 0 / 0.5205 GB, free: 8.223 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003863/0.4283, allocations: 206.6 kB / 0.5207 GB, free: 8.152 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.4283, allocations: 150 kB / 0.5209 GB, free: 7.984 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.4285, allocations: 157.6 kB / 0.521 GB, free: 7.879 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.4285, allocations: 32.92 kB / 0.521 GB, free: 7.848 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.243e-05/0.4286, allocations: 91.94 kB / 0.5211 GB, free: 7.762 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/0.4286, allocations: 43.09 kB / 0.5212 GB, free: 7.738 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.108e-05/0.4286, allocations: 0 / 0.5212 GB, free: 7.738 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.167e-05/0.4287, allocations: 330.4 kB / 0.5215 GB, free: 7.418 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.4288, allocations: 67.52 kB / 0.5215 GB, free: 7.406 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.4289, allocations: 100.4 kB / 0.5216 GB, free: 7.363 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.4292, allocations: 78.44 kB / 0.5217 GB, free: 7.348 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.4292, allocations: 1.312 kB / 0.5217 GB, free: 7.348 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004036/0.4296, allocations: 222.3 kB / 0.5219 GB, free: 7.281 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.4296, allocations: 5.125 kB / 0.5219 GB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.4296, allocations: 5.141 kB / 0.5219 GB, free: 7.277 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.4297, allocations: 5.25 kB / 0.5219 GB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.478e-05/0.4297, allocations: 11.34 kB / 0.522 GB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.4297, allocations: 5.344 kB / 0.522 GB, free: 7.266 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.44e-05/0.4298, allocations: 15.38 kB / 0.522 GB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-05/0.4299, allocations: 14.05 kB / 0.522 GB, free: 7.254 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 0.0001087/0.43, allocations: 117.8 kB / 0.5221 GB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.43, allocations: 15.91 kB / 0.5221 GB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.346e-05/0.4301, allocations: 20.83 kB / 0.5221 GB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.4301, allocations: 3.188 kB / 0.5221 GB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.4301, allocations: 5.438 kB / 0.5221 GB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.4301, allocations: 9.562 kB / 0.5222 GB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.4303, allocations: 191.6 kB / 0.5223 GB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.4303, allocations: 1.344 kB / 0.5223 GB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.574e-06/0.4303, allocations: 1.094 kB / 0.5223 GB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.4304, allocations: 2.438 kB / 0.5223 GB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.4304, allocations: 11.02 kB / 0.5223 GB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.4304, allocations: 1.062 kB / 0.5224 GB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.4304, allocations: 1.281 kB / 0.5224 GB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003296/0.4307, allocations: 293.5 kB / 0.5226 GB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.4308, allocations: 89.36 kB / 0.5227 GB, free: 6.625 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.002e-05/0.4308, allocations: 12.3 kB / 0.5227 GB, free: 6.621 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.4309, allocations: 18.23 kB / 0.5227 GB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.431, allocations: 12.05 kB / 0.5228 GB, free: 6.609 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.761e-05/0.4311, allocations: 26.88 kB / 0.5228 GB, free: 6.598 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.175e-05/0.4311, allocations: 128.5 kB / 0.5229 GB, free: 6.516 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005018/0.4317, allocations: 85.48 kB / 0.523 GB, free: 6.5 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.0004637/0.4321, allocations: 201.5 kB / 0.5232 GB, free: 6.375 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003324/0.4325, allocations: 263.9 kB / 0.5234 GB, free: 6.234 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.4325, allocations: 0 / 0.5234 GB, free: 6.234 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.4326, allocations: 89.16 kB / 0.5235 GB, free: 6.227 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000155/0.4328, allocations: 11.33 kB / 0.5235 GB, free: 6.219 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005006/0.4333, allocations: 248 kB / 0.5238 GB, free: 6.086 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.4335, allocations: 0.7363 MB / 0.5245 GB, free: 5.363 MB / 346.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4335, allocations: 0 / 0.5245 GB, free: 5.363 MB / 346.7 MB Notification: Performance of Templates: time 0.006322/0.4399, allocations: 2.557 MB / 0.527 GB, free: 4.121 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)