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.006107/0.006107, allocations: 174.8 kB / 15.12 MB, free: 5.984 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.611/1.611, allocations: 194.5 MB / 210.3 MB, free: 7.535 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.00216/0.002159, allocations: 124.6 kB / 255.6 MB, free: 10.14 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1866/0.1866, allocations: 40.02 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004418/0.0004416, allocations: 13.56 kB / 406.2 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.131, allocations: 54.87 MB / 461 MB, free: 3.309 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1277/0.2587, allocations: 80.34 MB / 0.5287 GB, free: 2.852 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.259, allocations: 63.97 kB / 0.5287 GB, free: 2.789 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2643/0.5233, allocations: 4.452 MB / 0.5331 GB, free: 82.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.668e-06/0.5234, allocations: 0 / 0.5331 GB, free: 82.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.5234, allocations: 2.031 kB / 0.5331 GB, free: 82.62 MB / 378.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.0009417/0.5244, allocations: 0.5618 MB / 0.5336 GB, free: 82.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.5244, allocations: 8.969 kB / 0.5336 GB, free: 82.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.087e-05/0.5245, allocations: 23.12 kB / 0.5337 GB, free: 82.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.5247, allocations: 179.8 kB / 0.5338 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.212e-05/0.5248, allocations: 8.047 kB / 0.5338 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.792e-05/0.5248, allocations: 8.844 kB / 0.5339 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003733/0.5252, allocations: 167.5 kB / 0.534 GB, free: 81.83 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.5252, allocations: 5.219 kB / 0.534 GB, free: 81.83 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.5252, allocations: 4.906 kB / 0.534 GB, free: 81.83 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.5253, allocations: 1.188 kB / 0.534 GB, free: 81.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.5254, allocations: 78.45 kB / 0.5341 GB, free: 81.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003118/0.5258, allocations: 265.5 kB / 0.5344 GB, free: 81.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003338/0.5261, allocations: 187.4 kB / 0.5345 GB, free: 81.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.5261, allocations: 3.188 kB / 0.5345 GB, free: 81.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003777/0.5265, allocations: 208.2 kB / 0.5347 GB, free: 81.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.5265, allocations: 0 / 0.5347 GB, free: 81.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009148/0.5275, allocations: 387.9 kB / 0.5351 GB, free: 81.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.585e-05/0.5276, allocations: 145.2 kB / 0.5352 GB, free: 81.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.5278, allocations: 166.8 kB / 0.5354 GB, free: 81.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.5278, allocations: 33.64 kB / 0.5354 GB, free: 81.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.773e-05/0.5279, allocations: 107.6 kB / 0.5355 GB, free: 81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.371e-05/0.5279, allocations: 34.38 kB / 0.5356 GB, free: 80.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.49e-05/0.528, allocations: 8.875 kB / 0.5356 GB, free: 80.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.5281, allocations: 331.8 kB / 0.5359 GB, free: 80.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.5283, allocations: 74.08 kB / 0.536 GB, free: 80.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.5285, allocations: 103.8 kB / 0.5361 GB, free: 80.63 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.5287, allocations: 195.4 kB / 0.5363 GB, free: 80.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.5287, allocations: 1 kB / 0.5363 GB, free: 80.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006613/0.5294, allocations: 413.4 kB / 0.5366 GB, free: 80.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.668e-05/0.5295, allocations: 122.7 kB / 0.5368 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.5295, allocations: 0.875 kB / 0.5368 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.5295, allocations: 2.5 kB / 0.5368 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.709e-05/0.5296, allocations: 9.375 kB / 0.5368 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.5296, allocations: 5.766 kB / 0.5368 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.861e-05/0.5297, allocations: 19.84 kB / 0.5368 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.846e-05/0.5298, allocations: 20.58 kB / 0.5368 GB, free: 80.19 MB / 378.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 0.0001534/0.5299, allocations: 155.5 kB / 0.537 GB, free: 80.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.5299, allocations: 20.98 kB / 0.537 GB, free: 80.06 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.247e-05/0.53, allocations: 20.23 kB / 0.537 GB, free: 80.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.53, allocations: 2.438 kB / 0.537 GB, free: 80.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.53, allocations: 2.281 kB / 0.537 GB, free: 80.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.53, allocations: 2.297 kB / 0.537 GB, free: 80.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.5303, allocations: 226 kB / 0.5372 GB, free: 79.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.5303, allocations: 4.969 kB / 0.5372 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.438e-06/0.5303, allocations: 2.984 kB / 0.5372 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.5303, allocations: 1.188 kB / 0.5372 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/0.5304, allocations: 9.375 kB / 0.5372 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.5304, allocations: 6.703 kB / 0.5373 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.5304, allocations: 1.625 kB / 0.5373 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006458/0.531, allocations: 383.8 kB / 0.5376 GB, free: 79.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.806e-05/0.5311, allocations: 90.56 kB / 0.5377 GB, free: 79.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.082e-05/0.5311, allocations: 13.3 kB / 0.5377 GB, free: 79.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.5313, allocations: 16.41 kB / 0.5377 GB, free: 79.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.396e-05/0.5313, allocations: 17.83 kB / 0.5378 GB, free: 79.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.637e-05/0.5314, allocations: 31.28 kB / 0.5378 GB, free: 79.58 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001097/0.5315, allocations: 130.7 kB / 0.5379 GB, free: 79.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5315, allocations: 1.344 kB / 0.5379 GB, free: 79.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006064/0.5321, allocations: 97.55 kB / 0.538 GB, free: 79.49 MB / 378.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.0003719/0.5325, allocations: 194.2 kB / 0.5382 GB, free: 79.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004543/0.533, allocations: 425.5 kB / 0.5386 GB, free: 79.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.533, allocations: 0 / 0.5386 GB, free: 79.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.5332, allocations: 106.2 kB / 0.5387 GB, free: 79.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.5333, allocations: 9.141 kB / 0.5387 GB, free: 79.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006214/0.534, allocations: 347.3 kB / 0.539 GB, free: 78.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.5342, allocations: 0.7205 MB / 0.5397 GB, free: 78.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.169e-05/0.5342, allocations: 8.781 kB / 0.5397 GB, free: 78.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.567e-05/0.5343, allocations: 16.5 kB / 0.5398 GB, free: 78.22 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5343, allocations: 0 / 0.5398 GB, free: 78.22 MB / 378.7 MB Notification: Performance of Templates: time 0.005987/0.5403, allocations: 2.52 MB / 0.5422 GB, free: 78.05 MB / 378.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)