Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003931/0.003937, allocations: 347.3 kB / 15.94 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.88/3.88, allocations: 341.5 MB / 358.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003645/0.003645, allocations: 213.4 kB / 397.9 MB, free: 4.977 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5763/0.5763, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004925/0.0004928, allocations: 16 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09068/0.09121, allocations: 48.71 MB / 0.6067 GB, free: 4.668 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3985/0.4898, allocations: 73.95 MB / 0.6789 GB, free: 38.82 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/0.4901, allocations: 70.88 kB / 0.679 GB, free: 38.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02094/0.511, allocations: 4.456 MB / 0.6834 GB, free: 34.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.925e-06/0.5111, allocations: 3 kB / 0.6834 GB, free: 34.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.5111, allocations: 4 kB / 0.6834 GB, free: 34.38 MB / 362.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.0009148/0.512, allocations: 0.5511 MB / 0.6839 GB, free: 33.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.5121, allocations: 12.03 kB / 0.6839 GB, free: 33.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.82e-05/0.5122, allocations: 17.61 kB / 0.6839 GB, free: 33.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.5123, allocations: 190.9 kB / 0.6841 GB, free: 33.51 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.905e-05/0.5124, allocations: 11.33 kB / 0.6841 GB, free: 33.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.381e-05/0.5124, allocations: 7.984 kB / 0.6841 GB, free: 33.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004466/0.5129, allocations: 172.9 kB / 0.6843 GB, free: 33.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.5129, allocations: 0.5312 kB / 0.6843 GB, free: 33.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.5129, allocations: 6.656 kB / 0.6843 GB, free: 33.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.513, allocations: 0.5156 kB / 0.6843 GB, free: 33.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002337/0.5132, allocations: 75.89 kB / 0.6844 GB, free: 33.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002828/0.5135, allocations: 261 kB / 0.6846 GB, free: 32.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004443/0.5139, allocations: 192.6 kB / 0.6848 GB, free: 32.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002351/0.5142, allocations: 95.42 kB / 0.6849 GB, free: 32.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.5142, allocations: 3.188 kB / 0.6849 GB, free: 32.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004563/0.5147, allocations: 198.7 kB / 0.6851 GB, free: 32.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 2.675e-06/0.5147, allocations: 0.6875 kB / 0.6851 GB, free: 32.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001134/0.5159, allocations: 389.2 kB / 0.6855 GB, free: 31.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.988e-05/0.5159, allocations: 147.4 kB / 0.6856 GB, free: 31.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.5162, allocations: 184.4 kB / 0.6858 GB, free: 31.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/0.5162, allocations: 33.7 kB / 0.6858 GB, free: 31.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.555e-05/0.5163, allocations: 104.1 kB / 0.6859 GB, free: 31.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.202e-05/0.5164, allocations: 35.59 kB / 0.686 GB, free: 31.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.722e-05/0.5164, allocations: 10.75 kB / 0.686 GB, free: 31.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.631e-05/0.5165, allocations: 326.8 kB / 0.6863 GB, free: 31.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.5167, allocations: 72.19 kB / 0.6863 GB, free: 31.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.5169, allocations: 105 kB / 0.6864 GB, free: 30.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/0.5172, allocations: 200.4 kB / 0.6866 GB, free: 30.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.5172, allocations: 0 / 0.6866 GB, free: 30.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006961/0.5179, allocations: 420 kB / 0.687 GB, free: 30.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.445e-05/0.518, allocations: 122.8 kB / 0.6872 GB, free: 30.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.5181, allocations: 0 / 0.6872 GB, free: 30.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.5181, allocations: 0 / 0.6872 GB, free: 30.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.703e-05/0.5181, allocations: 8 kB / 0.6872 GB, free: 30.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.5182, allocations: 5.188 kB / 0.6872 GB, free: 30.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.5183, allocations: 22.03 kB / 0.6872 GB, free: 30.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.054e-05/0.5184, allocations: 19.19 kB / 0.6872 GB, free: 30.08 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.0001901/0.5186, allocations: 154.4 kB / 0.6874 GB, free: 29.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/0.5186, allocations: 19.8 kB / 0.6874 GB, free: 29.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.535e-05/0.5187, allocations: 16.25 kB / 0.6874 GB, free: 29.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.5187, allocations: 4 kB / 0.6874 GB, free: 29.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.5187, allocations: 0 / 0.6874 GB, free: 29.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.5187, allocations: 4.781 kB / 0.6874 GB, free: 29.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.5189, allocations: 223 kB / 0.6876 GB, free: 29.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.519, allocations: 6.922 kB / 0.6876 GB, free: 29.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.05e-05/0.519, allocations: 0 / 0.6876 GB, free: 29.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.519, allocations: 6.906 kB / 0.6876 GB, free: 29.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.519, allocations: 15.48 kB / 0.6876 GB, free: 29.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.519, allocations: 3.938 kB / 0.6876 GB, free: 29.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5191, allocations: 0 / 0.6876 GB, free: 29.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007579/0.5198, allocations: 350.7 kB / 0.688 GB, free: 29.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.997e-05/0.5199, allocations: 96.86 kB / 0.6881 GB, free: 29.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.16e-05/0.5199, allocations: 8 kB / 0.6881 GB, free: 29.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.5201, allocations: 15.98 kB / 0.6881 GB, free: 29.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.5202, allocations: 18.11 kB / 0.6881 GB, free: 29.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.172e-05/0.5203, allocations: 27.95 kB / 0.6881 GB, free: 29.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001291/0.5204, allocations: 133 kB / 0.6883 GB, free: 28.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5204, allocations: 0 / 0.6883 GB, free: 28.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006238/0.5211, allocations: 102.6 kB / 0.6884 GB, free: 28.82 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.0004616/0.5215, allocations: 193.7 kB / 0.6885 GB, free: 28.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006469/0.5222, allocations: 426.1 kB / 0.6889 GB, free: 28.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.5222, allocations: 0 / 0.6889 GB, free: 28.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003087/0.5225, allocations: 104.4 kB / 0.689 GB, free: 28.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.5228, allocations: 11.98 kB / 0.6891 GB, free: 28.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000822/0.5236, allocations: 358.8 kB / 0.6894 GB, free: 27.67 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001891/0.5238, allocations: 0.7225 MB / 0.6901 GB, free: 26.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.795e-05/0.5239, allocations: 12.88 kB / 0.6901 GB, free: 26.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.438e-05/0.5239, allocations: 11.44 kB / 0.6901 GB, free: 26.9 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5239, allocations: 0 / 0.6901 GB, free: 26.9 MB / 362.7 MB Notification: Performance of Templates: time 0.007599/0.5316, allocations: 2.512 MB / 0.6926 GB, free: 24.52 MB / 362.7 MB