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.001364/0.001365, allocations: 169.4 kB / 12.72 MB, free: 2.594 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.223/1.223, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001702/0.001702, allocations: 91.53 kB / 223.2 MB, free: 4.051 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.1756/0.1756, allocations: 38 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.112e-05/3.125e-05, allocations: 0 / 357 MB, free: 32.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09721/0.09726, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3367/0.4341, allocations: 73.86 MB / 479.6 MB, free: 18.82 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/0.4343, allocations: 62.89 kB / 479.6 MB, free: 18.81 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01325/0.4476, allocations: 4.437 MB / 484.1 MB, free: 18.3 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4476, allocations: 0 / 484.1 MB, free: 18.3 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.4476, allocations: 5.625 kB / 484.1 MB, free: 18.3 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.0005884/0.4482, allocations: 0.5357 MB / 484.6 MB, free: 17.79 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.4483, allocations: 10.28 kB / 484.6 MB, free: 17.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.655e-05/0.4484, allocations: 18.84 kB / 484.6 MB, free: 17.78 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.4485, allocations: 186 kB / 484.8 MB, free: 17.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.4485, allocations: 9.047 kB / 484.8 MB, free: 17.56 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.4485, allocations: 8.875 kB / 484.8 MB, free: 17.56 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/0.4488, allocations: 161.1 kB / 485 MB, free: 17.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.4488, allocations: 0 / 485 MB, free: 17.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.4488, allocations: 4.281 kB / 485 MB, free: 17.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.4488, allocations: 4 kB / 485 MB, free: 17.49 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.614e-05/0.4489, allocations: 66.03 kB / 485.1 MB, free: 17.49 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002312/0.4492, allocations: 260.8 kB / 485.3 MB, free: 17.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.4494, allocations: 169.8 kB / 485.5 MB, free: 17.17 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.4495, allocations: 82.02 kB / 485.6 MB, free: 17.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.4495, allocations: 1.5 kB / 485.6 MB, free: 17.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003016/0.4498, allocations: 195.4 kB / 485.7 MB, free: 17.05 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 2.475e-06/0.4498, allocations: 0 / 485.7 MB, free: 17.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005617/0.4504, allocations: 300.9 kB / 486 MB, free: 17 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.4504, allocations: 144.4 kB / 486.2 MB, free: 16.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.4506, allocations: 164.9 kB / 486.3 MB, free: 16.74 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.4506, allocations: 36.52 kB / 486.4 MB, free: 16.71 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.85e-05/0.4506, allocations: 109.5 kB / 486.5 MB, free: 16.62 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.4507, allocations: 42.23 kB / 486.5 MB, free: 16.61 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-06/0.4507, allocations: 0 / 486.5 MB, free: 16.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.62e-05/0.4507, allocations: 329.4 kB / 486.9 MB, free: 16.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.303e-05/0.4508, allocations: 71.09 kB / 486.9 MB, free: 16.29 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.431e-05/0.4509, allocations: 106.2 kB / 487 MB, free: 16.26 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.4511, allocations: 195.8 kB / 487.2 MB, free: 16.12 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4511, allocations: 3.953 kB / 487.2 MB, free: 16.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000357/0.4514, allocations: 413.1 kB / 487.6 MB, free: 15.95 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/0.4515, allocations: 119.7 kB / 487.7 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.4515, allocations: 3.906 kB / 487.7 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.4515, allocations: 0 / 487.7 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.243e-05/0.4516, allocations: 5.703 kB / 487.7 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.4516, allocations: 3.938 kB / 487.8 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.654e-05/0.4517, allocations: 25.36 kB / 487.8 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.4517, allocations: 15.62 kB / 487.8 MB, free: 15.81 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 () * 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.529e-05/0.4518, allocations: 121.1 kB / 487.9 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.4518, allocations: 19.61 kB / 487.9 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.159e-05/0.4518, allocations: 20.84 kB / 488 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4519, allocations: 3.969 kB / 488 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4519, allocations: 3.938 kB / 488 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.4519, allocations: 2.156 kB / 488 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.452, allocations: 215.3 kB / 488.2 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.452, allocations: 5.797 kB / 488.2 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.025e-06/0.452, allocations: 11.89 kB / 488.2 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.452, allocations: 3.844 kB / 488.2 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.4521, allocations: 7.656 kB / 488.2 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4521, allocations: 0 / 488.2 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4521, allocations: 4.188 kB / 488.2 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003406/0.4524, allocations: 376.9 kB / 488.6 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.768e-05/0.4525, allocations: 92.61 kB / 488.7 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.244e-05/0.4525, allocations: 13.67 kB / 488.7 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.103e-05/0.4526, allocations: 18.69 kB / 488.7 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/0.4527, allocations: 9.109 kB / 488.7 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/0.4527, allocations: 38.14 kB / 488.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.197e-05/0.4528, allocations: 133.5 kB / 488.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4528, allocations: 0 / 488.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004038/0.4532, allocations: 98.56 kB / 489 MB, free: 15.11 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) * 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.0003093/0.4535, allocations: 198.6 kB / 489.2 MB, free: 15 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003382/0.4539, allocations: 410.8 kB / 489.6 MB, free: 14.74 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4539, allocations: 0 / 489.6 MB, free: 14.74 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.454, allocations: 97.09 kB / 489.7 MB, free: 14.73 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.4541, allocations: 10.31 kB / 489.7 MB, free: 14.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004019/0.4545, allocations: 255.1 kB / 489.9 MB, free: 14.62 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.4547, allocations: 0.7207 MB / 490.6 MB, free: 13.92 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.224e-05/0.4547, allocations: 10.16 kB / 490.6 MB, free: 13.92 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.115e-05/0.4548, allocations: 17.41 kB / 490.7 MB, free: 13.91 MB / 330.7 MB Notification: Performance of SimCode: time 3.7e-07/0.4548, allocations: 4 kB / 490.7 MB, free: 13.9 MB / 330.7 MB Notification: Performance of Templates: time 0.004944/0.4597, allocations: 2.514 MB / 493.2 MB, free: 13.73 MB / 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)