Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test4",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.009681/0.009681, allocations: 164.2 kB / 15.12 MB, free: 6.027 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.715/1.715, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001747/0.001746, allocations: 109.9 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.4302/0.4302, allocations: 38.05 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004648/0.000465, allocations: 8 kB / 363 MB, free: 5.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1045, allocations: 48.72 MB / 411.7 MB, free: 4.707 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.002314/0.1069, allocations: 1.218 MB / 412.9 MB, free: 3.477 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006776/0.1076, allocations: 240 kB / 413.2 MB, free: 3.238 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.214e-05/0.1077, allocations: 8 kB / 413.2 MB, free: 3.23 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007081/0.1084, allocations: 435.2 kB / 413.6 MB, free: 2.805 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004017/0.1088, allocations: 227.6 kB / 413.8 MB, free: 2.582 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001578/0.109, allocations: 39.91 kB / 413.9 MB, free: 2.543 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000222/0.1092, allocations: 123.7 kB / 414 MB, free: 2.422 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1093, allocations: 15.98 kB / 414 MB, free: 2.406 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.1095, allocations: 111.7 kB / 414.1 MB, free: 2.297 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002838/0.1098, allocations: 159.8 kB / 414.3 MB, free: 2.141 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.1099, allocations: 0 / 414.3 MB, free: 2.141 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.11, allocations: 16 kB / 414.3 MB, free: 2.125 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.1101, allocations: 83.69 kB / 414.4 MB, free: 2.043 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.873e-05/0.1102, allocations: 65.52 kB / 414.4 MB, free: 1.973 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002903/0.1105, allocations: 176 kB / 414.6 MB, free: 1.801 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1105, allocations: 0 / 414.6 MB, free: 1.801 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1105, allocations: 0 / 414.6 MB, free: 1.801 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.1105, allocations: 0 / 414.6 MB, free: 1.801 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.0008791/0.1114, allocations: 0.6044 MB / 415.2 MB, free: 1.141 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.1115, allocations: 11.97 kB / 415.2 MB, free: 1.129 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.202e-05/0.1115, allocations: 34.56 kB / 415.2 MB, free: 1.086 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.639e-05/0.1116, allocations: 43.44 kB / 415.3 MB, free: 1.043 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.112, allocations: 271.3 kB / 415.5 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.112, allocations: 0 / 415.5 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.112, allocations: 4 kB / 415.5 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.1122, allocations: 57.66 kB / 415.6 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1122, allocations: 0 / 415.6 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.1123, allocations: 4 kB / 415.6 MB, free: 0.668 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1123, allocations: 0 / 415.6 MB, free: 0.668 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.1124, allocations: 31.98 kB / 415.6 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000571/0.113, allocations: 384.6 kB / 416 MB, free: 216 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.1133, allocations: 46.56 kB / 416.1 MB, free: 160 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.226e-05/0.1134, allocations: 24.94 kB / 416.1 MB, free: 132 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.1135, allocations: 4 kB / 416.1 MB, free: 128 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.1135, allocations: 34.5 kB / 416.1 MB, free: 84 kB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/0.1135, allocations: 0 / 416.1 MB, free: 84 kB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009317/0.1144, allocations: 240 kB / 416.4 MB, free: 15.84 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.1145, allocations: 59.36 kB / 416.4 MB, free: 15.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.1158, allocations: 0.8456 MB / 417.3 MB, free: 14.91 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1158, allocations: 25.7 kB / 417.3 MB, free: 14.88 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/0.1161, allocations: 216.1 kB / 417.5 MB, free: 14.67 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.1161, allocations: 11.72 kB / 417.5 MB, free: 14.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.1161, allocations: 4 kB / 417.5 MB, free: 14.65 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.1163, allocations: 358.8 kB / 417.9 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.1165, allocations: 27.92 kB / 417.9 MB, free: 14.27 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.1166, allocations: 27.97 kB / 417.9 MB, free: 14.24 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.1168, allocations: 57.7 kB / 418 MB, free: 14.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1168, allocations: 0 / 418 MB, free: 14.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004034/0.1172, allocations: 155.1 kB / 418.1 MB, free: 14.01 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.162e-05/0.1173, allocations: 29.7 kB / 418.2 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.1173, allocations: 0 / 418.2 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.1173, allocations: 4 kB / 418.2 MB, free: 13.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.1174, allocations: 19.98 kB / 418.2 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.1175, allocations: 3.953 kB / 418.2 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.566e-05/0.1176, allocations: 4 kB / 418.2 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.1176, allocations: 4.281 kB / 418.2 MB, free: 13.94 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.0002815/0.1179, allocations: 214.7 kB / 418.4 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.305e-05/0.118, allocations: 43.44 kB / 418.4 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004525/0.1184, allocations: 148.9 kB / 418.6 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1185, allocations: 0 / 418.6 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1185, allocations: 0 / 418.6 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1185, allocations: 11.89 kB / 418.6 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008055/0.1193, allocations: 458.4 kB / 419 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1193, allocations: 0 / 419 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.1194, allocations: 19.98 kB / 419.1 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1195, allocations: 0 / 419.1 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1195, allocations: 0 / 419.1 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/0.1195, allocations: 3.953 kB / 419.1 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.1195, allocations: 7.938 kB / 419.1 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003924/0.1199, allocations: 218.9 kB / 419.3 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.12, allocations: 112.6 kB / 419.4 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.1201, allocations: 256 / 419.4 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.1202, allocations: 8 kB / 419.4 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-05/0.1203, allocations: 19.94 kB / 419.4 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.1203, allocations: 0 / 419.4 MB, free: 12.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009654/0.1213, allocations: 0.6394 MB / 420.1 MB, free: 11.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1213, allocations: 0 / 420.1 MB, free: 11.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003635/0.1217, allocations: 20 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.001312/0.123, allocations: 0.8898 MB / 421 MB, free: 11.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003869/0.1234, allocations: 119.3 kB / 421.1 MB, free: 10.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.1234, allocations: 0 / 421.1 MB, free: 10.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.1236, allocations: 27.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.0004637/0.1241, allocations: 21.92 kB / 421.1 MB, free: 10.87 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004501/0.1286, allocations: 2.248 MB / 423.4 MB, free: 8.555 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005632/0.1292, allocations: 0.8223 MB / 424.2 MB, free: 7.707 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.683e-05/0.1293, allocations: 12.11 kB / 424.2 MB, free: 7.695 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.1295, allocations: 95.41 kB / 424.3 MB, free: 7.602 MB / 330.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1295, allocations: 0 / 424.3 MB, free: 7.602 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02787/0.1574, allocations: 4.968 MB / 429.3 MB, free: 2.656 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003208/0.1577, allocations: 244 kB / 429.5 MB, free: 2.41 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.533/2.691, allocations: 0 / 429.5 MB, free: 2.41 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