Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerTable.index|integerTable.nextTime|integerTable.y|integerTable2.index|integerTable2.nextTime|integerTable2.y|integerTable3.index|integerTable3.nextTime|integerTable3.y|integerTable4.index|integerTable4.nextTime|integerTable4.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002762/0.002768, allocations: 363.1 kB / 15.95 MB, free: 6.164 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.894/3.894, allocations: 388.9 MB / 405.6 MB, free: 10.22 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.004805/0.004805, allocations: 227.8 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.571/0.571, allocations: 80.02 MB / 0.5627 GB, free: 19.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007751/0.0007756, allocations: 19.98 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1233, allocations: 54.86 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4712/0.5946, allocations: 80.34 MB / 0.7585 GB, free: 4.941 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.5948, allocations: 67.22 kB / 0.7586 GB, free: 4.906 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02092/0.6158, allocations: 4.466 MB / 0.763 GB, free: 0.9844 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.564e-06/0.6158, allocations: 0 / 0.763 GB, free: 0.9844 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.6159, allocations: 0 / 0.763 GB, free: 0.9844 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.0008939/0.6168, allocations: 0.5657 MB / 0.7635 GB, free: 364 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.6168, allocations: 8.031 kB / 0.7635 GB, free: 356 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.377e-05/0.6169, allocations: 15.86 kB / 0.7635 GB, free: 340 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.617, allocations: 186.8 kB / 0.7637 GB, free: 112 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/0.6171, allocations: 7.188 kB / 0.7637 GB, free: 108 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.473e-05/0.6171, allocations: 8 kB / 0.7637 GB, free: 100 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000491/0.6176, allocations: 169.2 kB / 0.7639 GB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.6176, allocations: 3.938 kB / 0.7639 GB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.6177, allocations: 4 kB / 0.7639 GB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.6177, allocations: 4 kB / 0.7639 GB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002625/0.618, allocations: 77.72 kB / 0.764 GB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.6184, allocations: 267.7 kB / 0.7642 GB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005318/0.6189, allocations: 185.1 kB / 0.7644 GB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/0.6192, allocations: 88.17 kB / 0.7645 GB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.6192, allocations: 4 kB / 0.7645 GB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000534/0.6198, allocations: 208 kB / 0.7647 GB, free: 15.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 3.697e-06/0.6198, allocations: 0 / 0.7647 GB, free: 15.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001366/0.6212, allocations: 390 kB / 0.7651 GB, free: 14.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/0.6214, allocations: 140.1 kB / 0.7652 GB, free: 14.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/0.6217, allocations: 182 kB / 0.7654 GB, free: 14.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.775e-05/0.6218, allocations: 44.62 kB / 0.7654 GB, free: 14.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.304e-05/0.6218, allocations: 97.39 kB / 0.7655 GB, free: 14.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.269e-05/0.6219, allocations: 41.91 kB / 0.7655 GB, free: 14.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.583e-05/0.622, allocations: 2.75 kB / 0.7655 GB, free: 14.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.6221, allocations: 333.7 kB / 0.7659 GB, free: 13.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.6223, allocations: 68.89 kB / 0.7659 GB, free: 13.87 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.6226, allocations: 121.2 kB / 0.766 GB, free: 13.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.6229, allocations: 190.8 kB / 0.7662 GB, free: 13.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.6229, allocations: 0 / 0.7662 GB, free: 13.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000858/0.6238, allocations: 415.1 kB / 0.7666 GB, free: 13.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.6239, allocations: 118.7 kB / 0.7667 GB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.6239, allocations: 4 kB / 0.7667 GB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.624, allocations: 3.984 kB / 0.7667 GB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.766e-05/0.624, allocations: 11.81 kB / 0.7668 GB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.624, allocations: 3.953 kB / 0.7668 GB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.6242, allocations: 23.84 kB / 0.7668 GB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.02e-05/0.6243, allocations: 19.17 kB / 0.7668 GB, free: 13 MB / 362.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.0002389/0.6245, allocations: 153.5 kB / 0.7669 GB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.911e-05/0.6246, allocations: 11.81 kB / 0.767 GB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.392e-05/0.6247, allocations: 19.92 kB / 0.767 GB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/0.6247, allocations: 11.92 kB / 0.767 GB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.6247, allocations: 0 / 0.767 GB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.6247, allocations: 4.203 kB / 0.767 GB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002694/0.625, allocations: 220.1 kB / 0.7672 GB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.625, allocations: 11.98 kB / 0.7672 GB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.218e-05/0.625, allocations: 0 / 0.7672 GB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.6251, allocations: 0 / 0.7672 GB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.6251, allocations: 11.86 kB / 0.7672 GB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.6251, allocations: 4 kB / 0.7672 GB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6251, allocations: 0 / 0.7672 GB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009547/0.6261, allocations: 357 kB / 0.7676 GB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.143e-05/0.6262, allocations: 88.92 kB / 0.7677 GB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.661e-05/0.6263, allocations: 15.23 kB / 0.7677 GB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.6264, allocations: 15.8 kB / 0.7677 GB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.971e-05/0.6265, allocations: 11.98 kB / 0.7677 GB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.131e-05/0.6266, allocations: 23.84 kB / 0.7677 GB, free: 12.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001741/0.6268, allocations: 142.4 kB / 0.7679 GB, free: 11.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6268, allocations: 0 / 0.7679 GB, free: 11.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006716/0.6275, allocations: 95.67 kB / 0.7679 GB, free: 11.83 MB / 362.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.0006027/0.6281, allocations: 198.5 kB / 0.7681 GB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000855/0.629, allocations: 423.8 kB / 0.7685 GB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.629, allocations: 0 / 0.7685 GB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003817/0.6294, allocations: 99.31 kB / 0.7686 GB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.6297, allocations: 19.92 kB / 0.7687 GB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009564/0.6307, allocations: 351.2 kB / 0.769 GB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/0.6311, allocations: 0.7236 MB / 0.7697 GB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.651e-05/0.6312, allocations: 4.891 kB / 0.7697 GB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.469e-05/0.6312, allocations: 19.42 kB / 0.7697 GB, free: 9.988 MB / 362.7 MB Notification: Performance of SimCode: time 1.242e-06/0.6313, allocations: 0 / 0.7697 GB, free: 9.988 MB / 362.7 MB Notification: Performance of Templates: time 0.008868/0.6401, allocations: 2.508 MB / 0.7722 GB, free: 7.5 MB / 362.7 MB