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.002795/0.002799, allocations: 349.1 kB / 15.95 MB, free: 6.215 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.569/3.569, allocations: 341.5 MB / 358.2 MB, free: 12.64 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.003416/0.003416, allocations: 225.2 kB / 397.9 MB, free: 4.984 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.6602/0.6602, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004899/0.0004901, allocations: 12 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09608/0.0966, allocations: 48.71 MB / 0.6067 GB, free: 4.668 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.00243/0.09909, allocations: 1.11 MB / 0.6078 GB, free: 3.547 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.1008, allocations: 0.5535 MB / 0.6084 GB, free: 2.992 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.358e-05/0.1009, allocations: 0 / 0.6084 GB, free: 2.992 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001984/0.1012, allocations: 59.84 kB / 0.6084 GB, free: 2.934 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.1013, allocations: 51.86 kB / 0.6085 GB, free: 2.883 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002302/0.1036, allocations: 379.4 kB / 0.6088 GB, free: 2.512 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002339/0.1039, allocations: 99.83 kB / 0.6089 GB, free: 2.414 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.939e-05/0.104, allocations: 4 kB / 0.6089 GB, free: 2.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.901e-05/0.1041, allocations: 47.89 kB / 0.609 GB, free: 2.363 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002145/0.1043, allocations: 95.73 kB / 0.6091 GB, free: 2.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.458e-05/0.1044, allocations: 8 kB / 0.6091 GB, free: 2.262 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006884/0.1051, allocations: 207.8 kB / 0.6093 GB, free: 2.059 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.1052, allocations: 47.81 kB / 0.6093 GB, free: 2.012 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.723e-05/0.1053, allocations: 37.64 kB / 0.6094 GB, free: 1.969 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004872/0.1058, allocations: 187.9 kB / 0.6095 GB, free: 1.785 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1058, allocations: 0 / 0.6095 GB, free: 1.785 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1059, allocations: 0 / 0.6095 GB, free: 1.785 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1059, allocations: 0 / 0.6095 GB, free: 1.785 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.00114/0.107, allocations: 0.5483 MB / 0.6101 GB, free: 1.164 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.1071, allocations: 8.031 kB / 0.6101 GB, free: 1.156 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.535e-05/0.1072, allocations: 23.75 kB / 0.6101 GB, free: 1.133 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.1074, allocations: 178.9 kB / 0.6103 GB, free: 0.918 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.486e-05/0.1074, allocations: 8 kB / 0.6103 GB, free: 0.9102 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.168e-05/0.1075, allocations: 7.984 kB / 0.6103 GB, free: 0.9023 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005941/0.1081, allocations: 176.9 kB / 0.6105 GB, free: 0.7109 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.1081, allocations: 4 kB / 0.6105 GB, free: 0.707 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.1082, allocations: 4 kB / 0.6105 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.1082, allocations: 0 / 0.6105 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2642/0.3724, allocations: 69.88 kB / 0.6105 GB, free: 90.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.3729, allocations: 244.5 kB / 0.6108 GB, free: 90.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005199/0.3734, allocations: 191.7 kB / 0.6109 GB, free: 90.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002651/0.3737, allocations: 95.59 kB / 0.611 GB, free: 90.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.158e-06/0.3737, allocations: 2.75 kB / 0.611 GB, free: 90.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005693/0.3743, allocations: 208 kB / 0.6112 GB, free: 90.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 3.867e-06/0.3743, allocations: 1.156 kB / 0.6112 GB, free: 90.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.00126/0.3756, allocations: 385.1 kB / 0.6116 GB, free: 90.31 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.3757, allocations: 143.5 kB / 0.6117 GB, free: 90.15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.3759, allocations: 185 kB / 0.6119 GB, free: 90.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.446e-05/0.3759, allocations: 33.38 kB / 0.6119 GB, free: 90.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.353e-05/0.376, allocations: 104.5 kB / 0.612 GB, free: 89.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.65e-05/0.3761, allocations: 38.47 kB / 0.6121 GB, free: 89.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.388e-05/0.3761, allocations: 5.469 kB / 0.6121 GB, free: 89.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.214e-05/0.3762, allocations: 330.8 kB / 0.6124 GB, free: 89.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.3764, allocations: 62.86 kB / 0.6125 GB, free: 89.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.3765, allocations: 103.2 kB / 0.6126 GB, free: 89.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.3768, allocations: 181.9 kB / 0.6127 GB, free: 89.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.3768, allocations: 1.094 kB / 0.6127 GB, free: 89.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006191/0.3774, allocations: 371.5 kB / 0.6131 GB, free: 89.28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.153e-05/0.3775, allocations: 122.7 kB / 0.6132 GB, free: 89.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.3775, allocations: 1.734 kB / 0.6132 GB, free: 89.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.3776, allocations: 4.031 kB / 0.6132 GB, free: 89.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.702e-05/0.3776, allocations: 7.656 kB / 0.6132 GB, free: 89.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.3776, allocations: 9.547 kB / 0.6132 GB, free: 89.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.3778, allocations: 23.16 kB / 0.6133 GB, free: 89.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.3778, allocations: 8.219 kB / 0.6133 GB, free: 89.14 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.0001865/0.378, allocations: 155.2 kB / 0.6134 GB, free: 89.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.3781, allocations: 15.92 kB / 0.6134 GB, free: 89.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.818e-05/0.3782, allocations: 17.3 kB / 0.6134 GB, free: 89.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3782, allocations: 2.031 kB / 0.6134 GB, free: 89.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3782, allocations: 1.062 kB / 0.6134 GB, free: 89.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.116e-05/0.3782, allocations: 87.42 kB / 0.6135 GB, free: 88.92 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.702e-05/0.3783, allocations: 10.62 kB / 0.6135 GB, free: 88.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.3785, allocations: 13.5 kB / 0.6135 GB, free: 88.92 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.958e-05/0.3786, allocations: 26.27 kB / 0.6136 GB, free: 88.91 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001019/0.3796, allocations: 0.6071 MB / 0.6142 GB, free: 88.58 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009858/0.3806, allocations: 0.6909 MB / 0.6148 GB, free: 88.14 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003233/0.381, allocations: 93.48 kB / 0.6149 GB, free: 88.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001641/0.3812, allocations: 138.4 kB / 0.6151 GB, free: 88.07 MB / 362.7 MB Notification: Performance of Backend: time 5.61e-07/0.3812, allocations: 0 / 0.6151 GB, free: 88.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001577/0.3828, allocations: 0.4905 MB / 0.6155 GB, free: 87.75 MB / 362.7 MB Notification: Performance of SimCode: time 0.0006941/0.3835, allocations: 0.7025 MB / 0.6162 GB, free: 87.11 MB / 362.7 MB Notification: Performance of Templates: time 0.00857/0.3921, allocations: 2.536 MB / 0.6187 GB, free: 87.1 MB / 362.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