Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002612/0.002611, allocations: 353.9 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.815/3.815, 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.003573/0.003573, allocations: 213.2 kB / 397.9 MB, free: 4.996 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.5174/0.5174, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006545/0.0006548, allocations: 8 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1012, allocations: 48.71 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test3): time 0.001955/0.1033, allocations: 1.227 MB / 0.6079 GB, free: 3.406 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.000635/0.104, allocations: 259.8 kB / 0.6082 GB, free: 3.148 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.279e-05/0.1041, allocations: 0 / 0.6082 GB, free: 3.148 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006066/0.1047, allocations: 439.2 kB / 0.6086 GB, free: 2.719 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003616/0.1051, allocations: 231.6 kB / 0.6088 GB, free: 2.492 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.1053, allocations: 35.89 kB / 0.6089 GB, free: 2.457 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.1055, allocations: 127.7 kB / 0.609 GB, free: 2.332 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.1056, allocations: 11.98 kB / 0.609 GB, free: 2.32 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.1057, allocations: 99.8 kB / 0.6091 GB, free: 2.223 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.106, allocations: 167.7 kB / 0.6093 GB, free: 2.059 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.939e-05/0.106, allocations: 0 / 0.6093 GB, free: 2.059 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.1061, allocations: 27.97 kB / 0.6093 GB, free: 2.031 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.529e-05/0.1062, allocations: 75.77 kB / 0.6094 GB, free: 1.957 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.585e-05/0.1063, allocations: 69.45 kB / 0.6094 GB, free: 1.883 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.1065, allocations: 172 kB / 0.6096 GB, free: 1.715 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.1066, allocations: 0 / 0.6096 GB, free: 1.715 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1066, allocations: 0 / 0.6096 GB, free: 1.715 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.1066, allocations: 0 / 0.6096 GB, free: 1.715 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007521/0.1073, allocations: 0.6083 MB / 0.6102 GB, free: 1.051 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.1074, allocations: 8.031 kB / 0.6102 GB, free: 1.043 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.526e-05/0.1075, allocations: 51.33 kB / 0.6102 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003877/0.3943, allocations: 263.8 kB / 0.6105 GB, free: 90.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.3943, allocations: 5.812 kB / 0.6105 GB, free: 90.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.3944, allocations: 3.188 kB / 0.6105 GB, free: 90.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002802/0.3947, allocations: 62.55 kB / 0.6106 GB, free: 90.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.3947, allocations: 3.281 kB / 0.6106 GB, free: 90.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.3947, allocations: 0 / 0.6106 GB, free: 90.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.3947, allocations: 3.844 kB / 0.6106 GB, free: 90.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002418/0.395, allocations: 47.89 kB / 0.6106 GB, free: 90.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005692/0.3956, allocations: 382.5 kB / 0.611 GB, free: 90.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.3958, allocations: 53.34 kB / 0.611 GB, free: 90.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.3959, allocations: 28.31 kB / 0.6111 GB, free: 90.47 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.396, allocations: 2.031 kB / 0.6111 GB, free: 90.47 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.396, allocations: 31.81 kB / 0.6111 GB, free: 90.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.064e-06/0.396, allocations: 3.969 kB / 0.6111 GB, free: 90.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.001318/0.3973, allocations: 319.4 kB / 0.6114 GB, free: 90.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.3974, allocations: 53.12 kB / 0.6114 GB, free: 90.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.3987, allocations: 0.8465 MB / 0.6123 GB, free: 90.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.3988, allocations: 25.7 kB / 0.6123 GB, free: 90.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.399, allocations: 214.9 kB / 0.6125 GB, free: 90.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.399, allocations: 24.22 kB / 0.6125 GB, free: 90.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-06/0.399, allocations: 0 / 0.6125 GB, free: 90.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.3992, allocations: 365.5 kB / 0.6129 GB, free: 89.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/0.3994, allocations: 39.34 kB / 0.6129 GB, free: 89.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.3997, allocations: 44.34 kB / 0.6129 GB, free: 89.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.3999, allocations: 71.66 kB / 0.613 GB, free: 89.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3999, allocations: 2.359 kB / 0.613 GB, free: 89.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006357/0.4006, allocations: 192.7 kB / 0.6132 GB, free: 89.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.7e-05/0.4006, allocations: 36.48 kB / 0.6132 GB, free: 89.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.4007, allocations: 0 / 0.6132 GB, free: 89.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.4007, allocations: 4.688 kB / 0.6132 GB, free: 89.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.4009, allocations: 26.61 kB / 0.6133 GB, free: 89.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.4009, allocations: 1.125 kB / 0.6133 GB, free: 89.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.4011, allocations: 15.45 kB / 0.6133 GB, free: 89.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.4011, allocations: 5.359 kB / 0.6133 GB, free: 89.56 MB / 362.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 (8): * Single equations (assignments): 7 * 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.0003006/0.4014, allocations: 217.4 kB / 0.6135 GB, free: 89.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.427e-05/0.4015, allocations: 36.72 kB / 0.6135 GB, free: 89.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006784/0.4022, allocations: 187.8 kB / 0.6137 GB, free: 89.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.4022, allocations: 0 / 0.6137 GB, free: 89.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.4023, allocations: 4.969 kB / 0.6137 GB, free: 89.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.921e-05/0.4023, allocations: 113.6 kB / 0.6138 GB, free: 89.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.373e-05/0.4024, allocations: 3.516 kB / 0.6138 GB, free: 89.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.4026, allocations: 18.77 kB / 0.6138 GB, free: 89.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.937e-05/0.4027, allocations: 6 kB / 0.6139 GB, free: 89.27 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005941/0.4033, allocations: 217.6 kB / 0.6141 GB, free: 89.16 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005917/0.4039, allocations: 339.1 kB / 0.6144 GB, free: 88.93 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002391/0.4041, allocations: 50.08 kB / 0.6144 GB, free: 88.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001052/0.4052, allocations: 0.6416 MB / 0.6151 GB, free: 88.84 MB / 362.7 MB Notification: Performance of Backend: time 1.363e-06/0.4052, allocations: 0 / 0.6151 GB, free: 88.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001508/0.4067, allocations: 430.8 kB / 0.6155 GB, free: 88.71 MB / 362.7 MB Notification: Performance of SimCode: time 0.001648/0.4084, allocations: 1.156 MB / 0.6166 GB, free: 87.93 MB / 362.7 MB Notification: Performance of Templates: time 0.007286/0.4157, allocations: 1.346 MB / 0.6179 GB, free: 87.89 MB / 362.7 MB "" Variables in the reference:time,t_new.y,d_t_new.y,clock1.y,clock2.y Variables in the result:clock1.offset,clock1.startTime,clock1.y,clock2.offset,clock2.startTime,clock2.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.verboseRead,t_new.y,time