Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test1.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test1,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009648/0.009648, allocations: 163.9 kB / 15.12 MB, free: 5.957 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 1.635/1.635, allocations: 170.8 MB / 186.6 MB, free: 1.109 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001724/0.001724, allocations: 110.8 kB / 226.2 MB, free: 10.09 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.4321/0.4321, allocations: 38.05 MB / 303.7 MB, free: 42.47 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005688/0.000569, allocations: 12 kB / 363 MB, free: 5.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09953/0.1001, allocations: 48.72 MB / 411.7 MB, free: 4.711 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test1): time 0.002219/0.1024, allocations: 1.218 MB / 412.9 MB, free: 3.48 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000643/0.1031, allocations: 256 kB / 413.2 MB, free: 3.227 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.576e-05/0.1031, allocations: 0 / 413.2 MB, free: 3.227 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007148/0.1039, allocations: 435.2 kB / 413.6 MB, free: 2.801 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004859/0.1044, allocations: 231.6 kB / 413.8 MB, free: 2.574 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.1045, allocations: 35.91 kB / 413.9 MB, free: 2.539 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002408/0.1048, allocations: 119.7 kB / 414 MB, free: 2.422 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1049, allocations: 23.95 kB / 414 MB, free: 2.398 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.1051, allocations: 99.73 kB / 414.1 MB, free: 2.301 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002779/0.1054, allocations: 163.8 kB / 414.3 MB, free: 2.141 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.1054, allocations: 0 / 414.3 MB, free: 2.141 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.458e-05/0.1055, allocations: 20 kB / 414.3 MB, free: 2.121 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.1056, allocations: 75.69 kB / 414.4 MB, free: 2.047 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.115e-05/0.1057, allocations: 65.52 kB / 414.4 MB, free: 1.977 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.106, allocations: 176 kB / 414.6 MB, free: 1.805 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.106, allocations: 3.938 kB / 414.6 MB, free: 1.801 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.106, allocations: 4 kB / 414.6 MB, free: 1.797 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.106, allocations: 0 / 414.6 MB, free: 1.797 MB / 314.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.0008496/0.1069, allocations: 0.6119 MB / 415.2 MB, free: 1.133 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.1069, allocations: 8.031 kB / 415.2 MB, free: 1.125 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.041e-05/0.107, allocations: 30.56 kB / 415.2 MB, free: 1.086 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.96e-05/0.1071, allocations: 43.44 kB / 415.3 MB, free: 1.043 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.1074, allocations: 271.3 kB / 415.6 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.1074, allocations: 4 kB / 415.6 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.1075, allocations: 0 / 415.6 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.1077, allocations: 53.69 kB / 415.6 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1077, allocations: 4 kB / 415.6 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.1077, allocations: 0 / 415.6 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.1077, allocations: 0 / 415.6 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.1079, allocations: 31.98 kB / 415.6 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00056/0.1085, allocations: 384.6 kB / 416 MB, free: 220 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.1087, allocations: 46.56 kB / 416.1 MB, free: 164 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.276e-05/0.1088, allocations: 24.94 kB / 416.1 MB, free: 136 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.1089, allocations: 0 / 416.1 MB, free: 136 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.1089, allocations: 34.5 kB / 416.1 MB, free: 92 kB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.1089, allocations: 4 kB / 416.1 MB, free: 88 kB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008994/0.1098, allocations: 240.2 kB / 416.4 MB, free: 15.84 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.1099, allocations: 55.19 kB / 416.4 MB, free: 15.78 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.1111, allocations: 0.8534 MB / 417.3 MB, free: 14.91 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.1112, allocations: 29.7 kB / 417.3 MB, free: 14.88 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/0.1114, allocations: 208.1 kB / 417.5 MB, free: 14.67 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.1115, allocations: 15.72 kB / 417.5 MB, free: 14.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.837e-05/0.1115, allocations: 0 / 417.5 MB, free: 14.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.1117, allocations: 366.7 kB / 417.9 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.1119, allocations: 23.98 kB / 417.9 MB, free: 14.27 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.112, allocations: 27.98 kB / 417.9 MB, free: 14.24 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.1122, allocations: 53.88 kB / 418 MB, free: 14.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.1122, allocations: 0 / 418 MB, free: 14.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004197/0.1126, allocations: 158.9 kB / 418.1 MB, free: 14.01 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.061e-05/0.1127, allocations: 29.7 kB / 418.2 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1127, allocations: 0 / 418.2 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1127, allocations: 0 / 418.2 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.1128, allocations: 15.98 kB / 418.2 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.1129, allocations: 3.953 kB / 418.2 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.113, allocations: 11.98 kB / 418.2 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.113, allocations: 0 / 418.2 MB, free: 13.95 MB / 330.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.0002877/0.1133, allocations: 218.8 kB / 418.4 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.173e-05/0.1134, allocations: 43.38 kB / 418.4 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004538/0.1139, allocations: 149.1 kB / 418.6 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1139, allocations: 0 / 418.6 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.1139, allocations: 7.984 kB / 418.6 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1139, allocations: 3.953 kB / 418.6 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007929/0.1147, allocations: 454.4 kB / 419 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.1147, allocations: 0 / 419 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.1148, allocations: 15.98 kB / 419.1 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1149, allocations: 4 kB / 419.1 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.1149, allocations: 4 kB / 419.1 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.1149, allocations: 3.953 kB / 419.1 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1149, allocations: 3.938 kB / 419.1 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003991/0.1153, allocations: 223.2 kB / 419.3 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.1154, allocations: 108.5 kB / 419.4 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.1155, allocations: 4 kB / 419.4 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.1156, allocations: 11.98 kB / 419.4 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.1157, allocations: 3.953 kB / 419.4 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.1157, allocations: 8 kB / 419.4 MB, free: 12.6 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009765/0.1167, allocations: 0.6355 MB / 420.1 MB, free: 11.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1167, allocations: 0 / 420.1 MB, free: 11.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003387/0.1171, allocations: 27.98 kB / 420.1 MB, free: 11.94 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001278/0.1184, allocations: 0.8881 MB / 421 MB, free: 11.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003729/0.1187, allocations: 111.3 kB / 421.1 MB, free: 10.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1188, allocations: 0 / 421.1 MB, free: 10.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.1189, allocations: 31.98 kB / 421.1 MB, free: 10.9 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.1194, allocations: 29.84 kB / 421.2 MB, free: 10.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00436/0.1237, allocations: 2.24 MB / 423.4 MB, free: 8.555 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005973/0.1244, allocations: 0.8301 MB / 424.2 MB, free: 7.699 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.396e-05/0.1245, allocations: 4.188 kB / 424.2 MB, free: 7.695 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/0.1247, allocations: 103.4 kB / 424.3 MB, free: 7.594 MB / 330.7 MB Notification: Performance of SimCode: time 1.031e-06/0.1247, allocations: 0 / 424.3 MB, free: 7.594 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03593/0.1606, allocations: 4.96 MB / 429.3 MB, free: 2.656 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003436/0.161, allocations: 248.1 kB / 429.5 MB, free: 2.406 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.634/2.795, allocations: 3.938 kB / 429.5 MB, free: 2.402 MB / 330.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,der(clock.y),der(d_t_new.u),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.u2,t_new.verboseRead,t_new.y,time