Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test6.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.Test6,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.Test6") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002576/0.002576, allocations: 352.3 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.694/3.694, allocations: 341.5 MB / 358.2 MB, free: 12.56 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.003611/0.003611, allocations: 225.2 kB / 397.9 MB, free: 4.906 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.4863/0.4863, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007804/0.0007808, allocations: 19.98 kB / 0.5592 GB, free: 53.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.129, allocations: 48.7 MB / 0.6067 GB, free: 4.633 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test6): time 0.002818/0.1319, allocations: 1.227 MB / 0.6079 GB, free: 3.395 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009842/0.133, allocations: 259.8 kB / 0.6082 GB, free: 3.137 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.401e-05/0.1331, allocations: 4 kB / 0.6082 GB, free: 3.133 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008366/0.1339, allocations: 435.2 kB / 0.6086 GB, free: 2.707 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005177/0.1345, allocations: 235.6 kB / 0.6088 GB, free: 2.477 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.1347, allocations: 35.84 kB / 0.6089 GB, free: 2.441 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002676/0.135, allocations: 131.7 kB / 0.609 GB, free: 2.312 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.1352, allocations: 4 kB / 0.609 GB, free: 2.309 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.1354, allocations: 103.8 kB / 0.6091 GB, free: 2.207 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003202/0.1357, allocations: 171.7 kB / 0.6093 GB, free: 2.039 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.682e-05/0.1358, allocations: 0 / 0.6093 GB, free: 2.039 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.1359, allocations: 20 kB / 0.6093 GB, free: 2.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.1361, allocations: 79.73 kB / 0.6094 GB, free: 1.941 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.519e-05/0.1362, allocations: 69.45 kB / 0.6094 GB, free: 1.867 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003363/0.1365, allocations: 168 kB / 0.6096 GB, free: 1.703 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1365, allocations: 0 / 0.6096 GB, free: 1.703 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1366, allocations: 0 / 0.6096 GB, free: 1.703 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.1366, allocations: 0 / 0.6096 GB, free: 1.703 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.001037/0.1376, allocations: 0.6161 MB / 0.6102 GB, free: 1.031 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.1377, allocations: 12.03 kB / 0.6102 GB, free: 1.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3076/0.4454, allocations: 40.48 kB / 0.6102 GB, free: 91.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004866/0.4459, allocations: 263.1 kB / 0.6105 GB, free: 90.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.446, allocations: 5.688 kB / 0.6105 GB, free: 90.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.265e-05/0.446, allocations: 3.656 kB / 0.6105 GB, free: 90.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003631/0.4464, allocations: 63.28 kB / 0.6106 GB, free: 90.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.4465, allocations: 3.281 kB / 0.6106 GB, free: 90.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.4465, allocations: 3.922 kB / 0.6106 GB, free: 90.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.4465, allocations: 1.562 kB / 0.6106 GB, free: 90.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003769/0.4469, allocations: 42.7 kB / 0.6106 GB, free: 90.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008224/0.4478, allocations: 387 kB / 0.611 GB, free: 90.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.4481, allocations: 53.38 kB / 0.611 GB, free: 90.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.4483, allocations: 30.25 kB / 0.6111 GB, free: 90.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.822e-05/0.4484, allocations: 0 / 0.6111 GB, free: 90.56 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.4484, allocations: 31.69 kB / 0.6111 GB, free: 90.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 5.46e-06/0.4484, allocations: 0 / 0.6111 GB, free: 90.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.002045/0.4505, allocations: 318.1 kB / 0.6114 GB, free: 90.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.4506, allocations: 53.34 kB / 0.6114 GB, free: 90.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002065/0.4527, allocations: 0.8523 MB / 0.6123 GB, free: 90.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.098e-05/0.4528, allocations: 28.14 kB / 0.6123 GB, free: 90.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003174/0.4531, allocations: 216.9 kB / 0.6125 GB, free: 90.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.4532, allocations: 21.33 kB / 0.6125 GB, free: 90.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.125e-05/0.4532, allocations: 0.75 kB / 0.6125 GB, free: 90.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.4534, allocations: 361.4 kB / 0.6129 GB, free: 89.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003839/0.4538, allocations: 43.42 kB / 0.6129 GB, free: 89.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000329/0.4542, allocations: 41.23 kB / 0.6129 GB, free: 89.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003447/0.4545, allocations: 72.19 kB / 0.613 GB, free: 89.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4545, allocations: 0 / 0.613 GB, free: 89.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0008536/0.4554, allocations: 199.2 kB / 0.6132 GB, free: 89.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.329e-05/0.4555, allocations: 34.59 kB / 0.6132 GB, free: 89.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.4555, allocations: 0 / 0.6132 GB, free: 89.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.4556, allocations: 0 / 0.6132 GB, free: 89.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.4559, allocations: 25.2 kB / 0.6133 GB, free: 89.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.62e-05/0.4559, allocations: 1.5 kB / 0.6133 GB, free: 89.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002537/0.4562, allocations: 18.14 kB / 0.6133 GB, free: 89.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.4562, allocations: 4.531 kB / 0.6133 GB, free: 89.65 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.0004253/0.4567, allocations: 210.7 kB / 0.6135 GB, free: 89.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.4569, allocations: 42.36 kB / 0.6135 GB, free: 89.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.4579, allocations: 183.9 kB / 0.6137 GB, free: 89.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.4579, allocations: 6.359 kB / 0.6137 GB, free: 89.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.458, allocations: 0 / 0.6137 GB, free: 89.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.4581, allocations: 114 kB / 0.6138 GB, free: 89.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.444e-05/0.4582, allocations: 6.516 kB / 0.6138 GB, free: 89.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002713/0.4585, allocations: 15.23 kB / 0.6138 GB, free: 89.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.291e-05/0.4586, allocations: 9.094 kB / 0.6138 GB, free: 89.35 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008852/0.4595, allocations: 217.9 kB / 0.6141 GB, free: 89.25 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001752/0.4613, allocations: 334.3 kB / 0.6144 GB, free: 89.02 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004198/0.4617, allocations: 58.36 kB / 0.6144 GB, free: 89.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001797/0.4636, allocations: 0.6415 MB / 0.6151 GB, free: 88.93 MB / 362.7 MB Notification: Performance of Backend: time 8.82e-07/0.4636, allocations: 0 / 0.6151 GB, free: 88.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001555/0.4652, allocations: 423.5 kB / 0.6155 GB, free: 88.8 MB / 362.7 MB Notification: Performance of SimCode: time 0.001671/0.4669, allocations: 1.163 MB / 0.6166 GB, free: 88.02 MB / 362.7 MB Notification: Performance of Templates: time 0.007049/0.474, allocations: 1.338 MB / 0.6179 GB, free: 87.99 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