Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test1.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.Tables.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002655/0.002659, allocations: 366.5 kB / 15.97 MB, free: 6.203 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.913/3.913, 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.003505/0.003505, allocations: 222.5 kB / 451 MB, free: 145.1 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.5766/0.5766, allocations: 80.04 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006908/0.0006911, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1299, allocations: 54.88 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test1): time 0.002624/0.1326, allocations: 1.232 MB / 0.6813 GB, free: 40.41 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008232/0.1335, allocations: 251.9 kB / 0.6815 GB, free: 40.16 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.154e-05/0.1336, allocations: 4 kB / 0.6816 GB, free: 40.16 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007816/0.1344, allocations: 435.3 kB / 0.682 GB, free: 39.73 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004641/0.1349, allocations: 235.6 kB / 0.6822 GB, free: 39.5 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.1351, allocations: 27.92 kB / 0.6822 GB, free: 39.47 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002522/0.1353, allocations: 123.7 kB / 0.6823 GB, free: 39.35 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.1355, allocations: 19.91 kB / 0.6824 GB, free: 39.33 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.1357, allocations: 95.78 kB / 0.6824 GB, free: 39.24 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003038/0.136, allocations: 171.6 kB / 0.6826 GB, free: 39.07 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.4e-05/0.136, allocations: 0 / 0.6826 GB, free: 39.07 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.1362, allocations: 27.98 kB / 0.6826 GB, free: 39.04 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.1363, allocations: 67.77 kB / 0.6827 GB, free: 38.98 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.69e-05/0.1364, allocations: 65.52 kB / 0.6828 GB, free: 38.91 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003158/0.1367, allocations: 168 kB / 0.6829 GB, free: 38.74 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.1368, allocations: 8 kB / 0.6829 GB, free: 38.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1368, allocations: 0 / 0.6829 GB, free: 38.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1368, allocations: 0 / 0.6829 GB, free: 38.73 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000911/0.1377, allocations: 0.6077 MB / 0.6835 GB, free: 38.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.1378, allocations: 8.828 kB / 0.6835 GB, free: 38.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.1379, allocations: 43.39 kB / 0.6836 GB, free: 38.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/0.1383, allocations: 271.4 kB / 0.6838 GB, free: 37.72 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.1383, allocations: 0 / 0.6838 GB, free: 37.72 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/0.1384, allocations: 8 kB / 0.6838 GB, free: 37.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.1386, allocations: 57.67 kB / 0.6839 GB, free: 37.65 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.1387, allocations: 0 / 0.6839 GB, free: 37.65 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.1387, allocations: 0 / 0.6839 GB, free: 37.65 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.1387, allocations: 3.984 kB / 0.6839 GB, free: 37.65 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.1389, allocations: 39.88 kB / 0.6839 GB, free: 37.61 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006294/0.1396, allocations: 372.7 kB / 0.6843 GB, free: 37.2 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/0.1399, allocations: 50.55 kB / 0.6843 GB, free: 37.14 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.14, allocations: 16.86 kB / 0.6844 GB, free: 37.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.1401, allocations: 0 / 0.6844 GB, free: 37.12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.1401, allocations: 42.45 kB / 0.6844 GB, free: 37.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 2.825e-06/0.1401, allocations: 0 / 0.6844 GB, free: 37.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.001124/0.1413, allocations: 248.1 kB / 0.6846 GB, free: 36.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.1413, allocations: 51.41 kB / 0.6847 GB, free: 36.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.1428, allocations: 0.8495 MB / 0.6855 GB, free: 35.89 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.1428, allocations: 25.7 kB / 0.6855 GB, free: 35.86 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002676/0.1431, allocations: 216 kB / 0.6857 GB, free: 35.65 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.1432, allocations: 11.8 kB / 0.6858 GB, free: 35.64 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.015e-06/0.1432, allocations: 0 / 0.6858 GB, free: 35.64 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1433, allocations: 362.8 kB / 0.6861 GB, free: 35.27 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.1435, allocations: 23.98 kB / 0.6861 GB, free: 35.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.1437, allocations: 27.98 kB / 0.6862 GB, free: 35.22 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.1439, allocations: 57.69 kB / 0.6862 GB, free: 35.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.144, allocations: 0 / 0.6862 GB, free: 35.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005208/0.1445, allocations: 150.9 kB / 0.6864 GB, free: 35 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.572e-05/0.1446, allocations: 41.64 kB / 0.6864 GB, free: 34.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1446, allocations: 0 / 0.6864 GB, free: 34.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.1446, allocations: 0 / 0.6864 GB, free: 34.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.1448, allocations: 23.81 kB / 0.6864 GB, free: 34.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.1448, allocations: 0 / 0.6864 GB, free: 34.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.145, allocations: 11.98 kB / 0.6864 GB, free: 34.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.145, allocations: 4.25 kB / 0.6864 GB, free: 34.91 MB / 346.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.0003052/0.1453, allocations: 205.8 kB / 0.6866 GB, free: 34.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.856e-05/0.1454, allocations: 43.44 kB / 0.6867 GB, free: 34.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005629/0.146, allocations: 152.9 kB / 0.6868 GB, free: 34.51 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1461, allocations: 0 / 0.6868 GB, free: 34.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1461, allocations: 0 / 0.6868 GB, free: 34.51 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.68e-05/0.1462, allocations: 112.5 kB / 0.6869 GB, free: 34.38 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.63e-05/0.1462, allocations: 3.938 kB / 0.6869 GB, free: 34.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.1465, allocations: 8.266 kB / 0.6869 GB, free: 34.37 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.15e-05/0.1465, allocations: 4 kB / 0.6869 GB, free: 34.36 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004637/0.147, allocations: 172.9 kB / 0.6871 GB, free: 34.19 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004925/0.1475, allocations: 302.3 kB / 0.6874 GB, free: 33.88 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001788/0.1477, allocations: 27.92 kB / 0.6874 GB, free: 33.85 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00112/0.1489, allocations: 0.6472 MB / 0.688 GB, free: 33.2 MB / 346.7 MB Notification: Performance of Backend: time 1.353e-06/0.1489, allocations: 0 / 0.688 GB, free: 33.2 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002075/0.151, allocations: 467.9 kB / 0.6885 GB, free: 32.82 MB / 346.7 MB Notification: Performance of SimCode: time 0.00185/0.1529, allocations: 1.148 MB / 0.6896 GB, free: 31.62 MB / 346.7 MB Notification: Performance of Templates: time 0.007354/0.1603, allocations: 1.216 MB / 0.6908 GB, free: 30.41 MB / 346.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.u2,t_new.verboseRead,t_new.y,time