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.002553/0.002558, allocations: 368.3 kB / 15.96 MB, free: 6.199 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.866/3.866, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.003458/0.003458, allocations: 237.5 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.5932/0.5932, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005507/0.0005508, allocations: 23.97 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09029/0.09086, allocations: 54.85 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.001543/0.09245, allocations: 1.131 MB / 0.6812 GB, free: 40.53 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.09361, allocations: 0.5496 MB / 0.6817 GB, free: 39.98 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.146e-05/0.09367, allocations: 8 kB / 0.6817 GB, free: 39.97 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.09384, allocations: 51.86 kB / 0.6818 GB, free: 39.92 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.199e-05/0.09394, allocations: 51.91 kB / 0.6818 GB, free: 39.87 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.09535, allocations: 375.1 kB / 0.6822 GB, free: 39.51 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.09551, allocations: 103.8 kB / 0.6823 GB, free: 39.41 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.58e-05/0.09556, allocations: 4 kB / 0.6823 GB, free: 39.41 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.79e-05/0.09564, allocations: 55.86 kB / 0.6823 GB, free: 39.35 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.0958, allocations: 87.81 kB / 0.6824 GB, free: 39.27 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.09584, allocations: 4 kB / 0.6824 GB, free: 39.26 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003917/0.09625, allocations: 215.7 kB / 0.6826 GB, free: 39.05 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.993e-05/0.09632, allocations: 35.91 kB / 0.6827 GB, free: 39.02 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.09638, allocations: 41.64 kB / 0.6827 GB, free: 38.97 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002675/0.09665, allocations: 187.8 kB / 0.6829 GB, free: 38.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.09667, allocations: 4 kB / 0.6829 GB, free: 38.78 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.09668, allocations: 0 / 0.6829 GB, free: 38.78 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.0967, allocations: 0 / 0.6829 GB, free: 38.78 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.0008406/0.09755, allocations: 0.5443 MB / 0.6834 GB, free: 38.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.0976, allocations: 12.56 kB / 0.6834 GB, free: 38.15 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.833e-05/0.09767, allocations: 19.86 kB / 0.6835 GB, free: 38.13 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.09778, allocations: 182.8 kB / 0.6836 GB, free: 37.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/0.09783, allocations: 7.984 kB / 0.6836 GB, free: 37.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.559e-05/0.09788, allocations: 12 kB / 0.6837 GB, free: 37.89 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004029/0.09829, allocations: 165 kB / 0.6838 GB, free: 37.71 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.09831, allocations: 3.938 kB / 0.6838 GB, free: 37.71 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.09835, allocations: 4 kB / 0.6838 GB, free: 37.71 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.09837, allocations: 8 kB / 0.6838 GB, free: 37.7 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002288/0.0986, allocations: 67.91 kB / 0.6839 GB, free: 37.63 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002305/0.09885, allocations: 252.2 kB / 0.6841 GB, free: 37.33 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004342/0.0993, allocations: 186.5 kB / 0.6843 GB, free: 37.11 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002328/0.09954, allocations: 95.39 kB / 0.6844 GB, free: 37 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.09957, allocations: 3.984 kB / 0.6844 GB, free: 37 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004626/0.1, allocations: 206.6 kB / 0.6846 GB, free: 36.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 2.244e-06/0.1001, allocations: 0 / 0.6846 GB, free: 36.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.001077/0.1011, allocations: 393.2 kB / 0.685 GB, free: 36.38 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.1012, allocations: 140.5 kB / 0.6851 GB, free: 36.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.1014, allocations: 185 kB / 0.6853 GB, free: 36.03 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.1015, allocations: 33.7 kB / 0.6853 GB, free: 35.99 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.57e-05/0.1015, allocations: 112.1 kB / 0.6854 GB, free: 35.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.714e-05/0.1016, allocations: 43.53 kB / 0.6855 GB, free: 35.83 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.037e-05/0.1016, allocations: 0 / 0.6855 GB, free: 35.83 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.945e-05/0.1017, allocations: 330.8 kB / 0.6858 GB, free: 35.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.1018, allocations: 60.2 kB / 0.6858 GB, free: 35.44 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.102, allocations: 98.62 kB / 0.6859 GB, free: 35.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.1022, allocations: 182.8 kB / 0.6861 GB, free: 35.13 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1022, allocations: 0 / 0.6861 GB, free: 35.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000489/0.1027, allocations: 372.2 kB / 0.6865 GB, free: 34.74 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.843e-05/0.1027, allocations: 122.8 kB / 0.6866 GB, free: 34.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.1028, allocations: 4 kB / 0.6866 GB, free: 34.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.1028, allocations: 256 / 0.6866 GB, free: 34.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.033e-05/0.1028, allocations: 7.938 kB / 0.6866 GB, free: 34.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.1029, allocations: 7.953 kB / 0.6866 GB, free: 34.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.103, allocations: 23.89 kB / 0.6866 GB, free: 34.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.103, allocations: 12 kB / 0.6866 GB, free: 34.54 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 () * 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.0001514/0.1032, allocations: 145.1 kB / 0.6868 GB, free: 34.39 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.1033, allocations: 23.75 kB / 0.6868 GB, free: 34.37 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.686e-05/0.1033, allocations: 24.17 kB / 0.6868 GB, free: 34.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1033, allocations: 0 / 0.6868 GB, free: 34.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1033, allocations: 0 / 0.6868 GB, free: 34.34 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.513e-05/0.1034, allocations: 96.95 kB / 0.6869 GB, free: 34.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.163e-05/0.1034, allocations: 11.98 kB / 0.6869 GB, free: 34.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.1036, allocations: 15.98 kB / 0.6869 GB, free: 34.2 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6e-05/0.1037, allocations: 11.98 kB / 0.6869 GB, free: 34.19 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008433/0.1045, allocations: 0.6002 MB / 0.6875 GB, free: 33.58 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007857/0.1053, allocations: 0.7033 MB / 0.6882 GB, free: 32.86 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002739/0.1056, allocations: 91.94 kB / 0.6883 GB, free: 32.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000113/0.1058, allocations: 127.2 kB / 0.6884 GB, free: 32.64 MB / 346.7 MB Notification: Performance of Backend: time 7.91e-07/0.1058, allocations: 0 / 0.6884 GB, free: 32.64 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001317/0.1071, allocations: 0.492 MB / 0.6889 GB, free: 32.09 MB / 346.7 MB Notification: Performance of SimCode: time 0.0005935/0.1077, allocations: 0.7059 MB / 0.6896 GB, free: 31.34 MB / 346.7 MB Notification: Performance of Templates: time 0.007356/0.1151, allocations: 2.538 MB / 0.6921 GB, free: 28.81 MB / 346.7 MB "" Variables in the reference: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 Variables in the result:integerTable.index,integerTable.n,integerTable.nextTime,integerTable.table[1,1],integerTable.table[1,2],integerTable.table[2,1],integerTable.table[2,2],integerTable.table[3,1],integerTable.table[3,2],integerTable.table[4,1],integerTable.table[4,2],integerTable.y,integerTable2.index,integerTable2.n,integerTable2.nextTime,integerTable2.table[1,1],integerTable2.table[1,2],integerTable2.y,integerTable3.index,integerTable3.n,integerTable3.nextTime,integerTable3.table[1,1],integerTable3.table[1,2],integerTable3.y,integerTable4.index,integerTable4.n,integerTable4.nextTime,integerTable4.table[1,1],integerTable4.table[1,2],integerTable4.table[2,1],integerTable4.table[2,2],integerTable4.table[3,1],integerTable4.table[3,2],integerTable4.table[4,1],integerTable4.table[4,2],integerTable4.table[5,1],integerTable4.table[5,2],integerTable4.y,time