Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test6.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.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.2_ModelicaTest.Tables.CombiTable2D.Test6") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00272/0.00272, allocations: 367.8 kB / 15.96 MB, free: 6.199 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 4.059/4.059, 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.003526/0.003526, allocations: 226.1 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.4928/0.4928, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004679/0.0004682, allocations: 8 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09528/0.09578, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test6): time 0.001911/0.09775, allocations: 1.244 MB / 0.6813 GB, free: 40.4 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006191/0.09842, allocations: 267.8 kB / 0.6816 GB, free: 40.14 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.721e-05/0.0985, allocations: 0 / 0.6816 GB, free: 40.14 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005745/0.09909, allocations: 439.2 kB / 0.682 GB, free: 39.71 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003476/0.09946, allocations: 231.6 kB / 0.6822 GB, free: 39.48 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.09964, allocations: 31.91 kB / 0.6822 GB, free: 39.45 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.09986, allocations: 127.7 kB / 0.6824 GB, free: 39.32 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.09999, allocations: 11.98 kB / 0.6824 GB, free: 39.31 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.1001, allocations: 103.8 kB / 0.6825 GB, free: 39.21 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002421/0.1004, allocations: 159.8 kB / 0.6826 GB, free: 39.05 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.1004, allocations: 8 kB / 0.6826 GB, free: 39.05 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.1005, allocations: 23.92 kB / 0.6827 GB, free: 39.02 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.213e-05/0.1006, allocations: 79.7 kB / 0.6827 GB, free: 38.95 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.393e-05/0.1007, allocations: 61.52 kB / 0.6828 GB, free: 38.88 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.101, allocations: 176 kB / 0.683 GB, free: 38.71 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.101, allocations: 0 / 0.683 GB, free: 38.71 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.101, allocations: 0 / 0.683 GB, free: 38.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.101, allocations: 0 / 0.683 GB, free: 38.71 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.0007432/0.1018, allocations: 0.6199 MB / 0.6836 GB, free: 38.03 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.1018, allocations: 12.77 kB / 0.6836 GB, free: 38.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.934e-05/0.1019, allocations: 43.39 kB / 0.6836 GB, free: 37.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.1022, allocations: 267.4 kB / 0.6839 GB, free: 37.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.1022, allocations: 4 kB / 0.6839 GB, free: 37.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.1022, allocations: 0 / 0.6839 GB, free: 37.68 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.1025, allocations: 57.69 kB / 0.6839 GB, free: 37.61 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.1025, allocations: 3.984 kB / 0.6839 GB, free: 37.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.1025, allocations: 4 kB / 0.6839 GB, free: 37.61 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1025, allocations: 0 / 0.6839 GB, free: 37.61 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002214/0.1028, allocations: 47.92 kB / 0.684 GB, free: 37.56 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005002/0.1033, allocations: 384.7 kB / 0.6843 GB, free: 37.13 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.1035, allocations: 50.55 kB / 0.6844 GB, free: 37.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.1036, allocations: 24.94 kB / 0.6844 GB, free: 37.05 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.1037, allocations: 7.984 kB / 0.6844 GB, free: 37.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.1037, allocations: 38.52 kB / 0.6845 GB, free: 36.99 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.144e-06/0.1037, allocations: 0 / 0.6845 GB, free: 36.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.001253/0.105, allocations: 319.9 kB / 0.6848 GB, free: 36.67 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.016e-05/0.105, allocations: 55.41 kB / 0.6848 GB, free: 36.61 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009738/0.106, allocations: 0.8494 MB / 0.6857 GB, free: 35.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.1061, allocations: 29.7 kB / 0.6857 GB, free: 35.71 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.1063, allocations: 208.1 kB / 0.6859 GB, free: 35.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.1063, allocations: 23.64 kB / 0.6859 GB, free: 35.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.1063, allocations: 4 kB / 0.6859 GB, free: 35.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.161e-05/0.1064, allocations: 358.8 kB / 0.6862 GB, free: 35.12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.1066, allocations: 39.97 kB / 0.6863 GB, free: 35.08 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/0.1068, allocations: 43.97 kB / 0.6863 GB, free: 35.04 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/0.1071, allocations: 77.97 kB / 0.6864 GB, free: 34.95 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1071, allocations: 0 / 0.6864 GB, free: 34.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005248/0.1076, allocations: 202.7 kB / 0.6866 GB, free: 34.74 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/0.1077, allocations: 33.64 kB / 0.6866 GB, free: 34.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1077, allocations: 0 / 0.6866 GB, free: 34.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.1077, allocations: 4 kB / 0.6866 GB, free: 34.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.1079, allocations: 23.92 kB / 0.6867 GB, free: 34.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.108, allocations: 4 kB / 0.6867 GB, free: 34.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.1081, allocations: 23.98 kB / 0.6867 GB, free: 34.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.1082, allocations: 7.938 kB / 0.6867 GB, free: 34.64 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 (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.0002297/0.1084, allocations: 209.8 kB / 0.6869 GB, free: 34.43 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.538e-05/0.1085, allocations: 43.48 kB / 0.6869 GB, free: 34.38 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006026/0.1091, allocations: 177.3 kB / 0.6871 GB, free: 34.2 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1091, allocations: 0 / 0.6871 GB, free: 34.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1091, allocations: 0 / 0.6871 GB, free: 34.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.347e-05/0.1092, allocations: 112.5 kB / 0.6872 GB, free: 34.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-05/0.1093, allocations: 7.984 kB / 0.6872 GB, free: 34.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.1094, allocations: 15.94 kB / 0.6872 GB, free: 34.05 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.1095, allocations: 7.984 kB / 0.6872 GB, free: 34.04 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005387/0.11, allocations: 216.9 kB / 0.6874 GB, free: 33.82 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005182/0.1106, allocations: 334.2 kB / 0.6878 GB, free: 33.48 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002097/0.1108, allocations: 55.91 kB / 0.6878 GB, free: 33.42 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007371/0.1115, allocations: 0.6355 MB / 0.6884 GB, free: 32.79 MB / 346.7 MB Notification: Performance of Backend: time 1.032e-06/0.1116, allocations: 0 / 0.6884 GB, free: 32.79 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001536/0.1131, allocations: 481.1 kB / 0.6889 GB, free: 32.4 MB / 346.7 MB Notification: Performance of SimCode: time 0.001397/0.1145, allocations: 1.164 MB / 0.69 GB, free: 31.19 MB / 346.7 MB Notification: Performance of Templates: time 0.006596/0.1212, allocations: 1.344 MB / 0.6913 GB, free: 29.85 MB / 346.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