Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test2.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.Tables.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004457/0.004463, allocations: 345 kB / 15.95 MB, free: 6.199 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.855/3.855, allocations: 341.5 MB / 358.2 MB, free: 28.61 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003648/0.003648, allocations: 215.3 kB / 397.9 MB, free: 5.996 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5461/0.5461, allocations: 76.1 MB / 0.5014 GB, free: 0.7969 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006407/0.0006414, allocations: 11.98 kB / 0.5592 GB, free: 60.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09213/0.09281, allocations: 48.71 MB / 0.6067 GB, free: 11.52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.001948/0.09484, allocations: 1.232 MB / 0.6079 GB, free: 10.28 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005975/0.09548, allocations: 247.9 kB / 0.6082 GB, free: 10.04 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.247e-05/0.09556, allocations: 4 kB / 0.6082 GB, free: 10.03 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000587/0.09616, allocations: 435.2 kB / 0.6086 GB, free: 9.605 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003431/0.09652, allocations: 235.6 kB / 0.6088 GB, free: 9.375 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.09668, allocations: 27.97 kB / 0.6089 GB, free: 9.348 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.0969, allocations: 119.7 kB / 0.609 GB, free: 9.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.09702, allocations: 19.97 kB / 0.609 GB, free: 9.211 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.09714, allocations: 95.8 kB / 0.6091 GB, free: 9.117 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002281/0.09738, allocations: 167.7 kB / 0.6092 GB, free: 8.953 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.09742, allocations: 0 / 0.6092 GB, free: 8.953 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.09754, allocations: 31.97 kB / 0.6093 GB, free: 8.922 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.36e-05/0.09763, allocations: 75.7 kB / 0.6093 GB, free: 8.848 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.645e-05/0.09769, allocations: 65.45 kB / 0.6094 GB, free: 8.777 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.09794, allocations: 172 kB / 0.6096 GB, free: 8.609 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.09795, allocations: 0 / 0.6096 GB, free: 8.609 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.09797, allocations: 4 kB / 0.6096 GB, free: 8.605 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.09798, allocations: 0 / 0.6096 GB, free: 8.605 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006978/0.09869, allocations: 0.5966 MB / 0.6102 GB, free: 7.953 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.09874, allocations: 8.031 kB / 0.6102 GB, free: 7.945 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.733e-05/0.09882, allocations: 39.44 kB / 0.6102 GB, free: 7.906 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.09911, allocations: 271.4 kB / 0.6105 GB, free: 7.605 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.09913, allocations: 7.953 kB / 0.6105 GB, free: 7.598 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.09917, allocations: 0 / 0.6105 GB, free: 7.598 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.09936, allocations: 57.69 kB / 0.6105 GB, free: 7.535 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.09938, allocations: 3.938 kB / 0.6105 GB, free: 7.531 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.0994, allocations: 0 / 0.6105 GB, free: 7.531 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.09942, allocations: 0 / 0.6105 GB, free: 7.531 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.09957, allocations: 35.97 kB / 0.6106 GB, free: 7.496 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004734/0.1001, allocations: 380.7 kB / 0.6109 GB, free: 7.074 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.1003, allocations: 54.48 kB / 0.611 GB, free: 7.012 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.146e-05/0.1004, allocations: 12.86 kB / 0.611 GB, free: 6.996 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.1004, allocations: 0 / 0.611 GB, free: 6.996 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.1005, allocations: 30.56 kB / 0.611 GB, free: 6.957 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.1005, allocations: 4 kB / 0.611 GB, free: 6.953 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008611/0.1014, allocations: 244 kB / 0.6113 GB, free: 6.707 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.987e-05/0.1014, allocations: 55.41 kB / 0.6113 GB, free: 6.641 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009651/0.1024, allocations: 0.8495 MB / 0.6121 GB, free: 5.777 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.1024, allocations: 29.64 kB / 0.6122 GB, free: 5.742 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.1026, allocations: 216 kB / 0.6124 GB, free: 5.527 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.381e-05/0.1026, allocations: 19.86 kB / 0.6124 GB, free: 5.508 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.1026, allocations: 0 / 0.6124 GB, free: 5.508 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.836e-05/0.1027, allocations: 362.8 kB / 0.6127 GB, free: 5.145 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.1029, allocations: 27.98 kB / 0.6128 GB, free: 5.117 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.103, allocations: 24.05 kB / 0.6128 GB, free: 5.094 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.1032, allocations: 57.81 kB / 0.6128 GB, free: 5.031 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1032, allocations: 0 / 0.6128 GB, free: 5.031 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003543/0.1035, allocations: 155.1 kB / 0.613 GB, free: 4.867 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.777e-05/0.1036, allocations: 37.69 kB / 0.613 GB, free: 4.824 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1036, allocations: 0 / 0.613 GB, free: 4.824 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.1036, allocations: 0 / 0.613 GB, free: 4.824 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.1038, allocations: 12 kB / 0.613 GB, free: 4.812 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.1038, allocations: 0 / 0.613 GB, free: 4.812 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.758e-05/0.1039, allocations: 11.98 kB / 0.613 GB, free: 4.801 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.1039, allocations: 7.984 kB / 0.6131 GB, free: 4.793 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.0002222/0.1041, allocations: 215 kB / 0.6133 GB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.832e-05/0.1042, allocations: 39.44 kB / 0.6133 GB, free: 4.535 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003967/0.1046, allocations: 152.9 kB / 0.6134 GB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1046, allocations: 0 / 0.6134 GB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1047, allocations: 0 / 0.6134 GB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.563e-05/0.1047, allocations: 108.5 kB / 0.6135 GB, free: 4.258 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/0.1048, allocations: 0 / 0.6135 GB, free: 4.258 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.1049, allocations: 15.94 kB / 0.6136 GB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.105, allocations: 0 / 0.6136 GB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003227/0.1053, allocations: 168.9 kB / 0.6137 GB, free: 4.07 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000341/0.1057, allocations: 302.3 kB / 0.614 GB, free: 3.758 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001259/0.1058, allocations: 24.23 kB / 0.614 GB, free: 3.734 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007539/0.1066, allocations: 0.6433 MB / 0.6147 GB, free: 3.094 MB / 282.7 MB Notification: Performance of Backend: time 9.72e-07/0.1066, allocations: 0 / 0.6147 GB, free: 3.094 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001225/0.1078, allocations: 433.1 kB / 0.6151 GB, free: 2.727 MB / 282.7 MB Notification: Performance of SimCode: time 0.001389/0.1092, allocations: 1.144 MB / 0.6162 GB, free: 1.527 MB / 282.7 MB Notification: Performance of Templates: time 0.00611/0.1154, allocations: 1.219 MB / 0.6174 GB, free: 320 kB / 282.7 MB "" Variables in the reference:time,t_new.y,d_t_new.y,clock.y,const.y Variables in the result:clock.offset,clock.startTime,clock.y,const.k,const.y,d_t_new.u,d_t_new.y,t_new.smoothness,t_new.tableOnFile,t_new.tableOnFileRead,t_new.table[1,10],t_new.table[1,1],t_new.table[1,2],t_new.table[1,3],t_new.table[1,4],t_new.table[1,5],t_new.table[1,6],t_new.table[1,7],t_new.table[1,8],t_new.table[1,9],t_new.table[10,10],t_new.table[10,1],t_new.table[10,2],t_new.table[10,3],t_new.table[10,4],t_new.table[10,5],t_new.table[10,6],t_new.table[10,7],t_new.table[10,8],t_new.table[10,9],t_new.table[11,10],t_new.table[11,1],t_new.table[11,2],t_new.table[11,3],t_new.table[11,4],t_new.table[11,5],t_new.table[11,6],t_new.table[11,7],t_new.table[11,8],t_new.table[11,9],t_new.table[12,10],t_new.table[12,1],t_new.table[12,2],t_new.table[12,3],t_new.table[12,4],t_new.table[12,5],t_new.table[12,6],t_new.table[12,7],t_new.table[12,8],t_new.table[12,9],t_new.table[2,10],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[2,4],t_new.table[2,5],t_new.table[2,6],t_new.table[2,7],t_new.table[2,8],t_new.table[2,9],t_new.table[3,10],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[3,4],t_new.table[3,5],t_new.table[3,6],t_new.table[3,7],t_new.table[3,8],t_new.table[3,9],t_new.table[4,10],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[4,4],t_new.table[4,5],t_new.table[4,6],t_new.table[4,7],t_new.table[4,8],t_new.table[4,9],t_new.table[5,10],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.table[5,4],t_new.table[5,5],t_new.table[5,6],t_new.table[5,7],t_new.table[5,8],t_new.table[5,9],t_new.table[6,10],t_new.table[6,1],t_new.table[6,2],t_new.table[6,3],t_new.table[6,4],t_new.table[6,5],t_new.table[6,6],t_new.table[6,7],t_new.table[6,8],t_new.table[6,9],t_new.table[7,10],t_new.table[7,1],t_new.table[7,2],t_new.table[7,3],t_new.table[7,4],t_new.table[7,5],t_new.table[7,6],t_new.table[7,7],t_new.table[7,8],t_new.table[7,9],t_new.table[8,10],t_new.table[8,1],t_new.table[8,2],t_new.table[8,3],t_new.table[8,4],t_new.table[8,5],t_new.table[8,6],t_new.table[8,7],t_new.table[8,8],t_new.table[8,9],t_new.table[9,10],t_new.table[9,1],t_new.table[9,2],t_new.table[9,3],t_new.table[9,4],t_new.table[9,5],t_new.table[9,6],t_new.table[9,7],t_new.table[9,8],t_new.table[9,9],t_new.u1,t_new.verboseRead,t_new.y,time