Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test2",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.009781/0.009787, allocations: 162 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.736/1.736, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.00177/0.00177, allocations: 106.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.4796/0.4796, allocations: 38.05 MB / 303.7 MB, free: 42.45 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004641/0.0004643, allocations: 16 kB / 363 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1031, allocations: 48.71 MB / 411.7 MB, free: 4.699 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.002347/0.1055, allocations: 1.222 MB / 412.9 MB, free: 3.465 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007371/0.1063, allocations: 251.9 kB / 413.2 MB, free: 3.215 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.269e-05/0.1064, allocations: 0 / 413.2 MB, free: 3.215 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007345/0.1072, allocations: 435.2 kB / 413.6 MB, free: 2.789 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004163/0.1076, allocations: 231.6 kB / 413.8 MB, free: 2.562 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.1078, allocations: 31.97 kB / 413.9 MB, free: 2.531 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002289/0.108, allocations: 119.7 kB / 414 MB, free: 2.414 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.1081, allocations: 27.91 kB / 414 MB, free: 2.387 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.1083, allocations: 103.8 kB / 414.1 MB, free: 2.285 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002917/0.1086, allocations: 159.7 kB / 414.3 MB, free: 2.129 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.1086, allocations: 0 / 414.3 MB, free: 2.129 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.1088, allocations: 20 kB / 414.3 MB, free: 2.109 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.1089, allocations: 79.73 kB / 414.4 MB, free: 2.031 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.832e-05/0.109, allocations: 65.45 kB / 414.4 MB, free: 1.961 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003016/0.1093, allocations: 176 kB / 414.6 MB, free: 1.789 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.83e-06/0.1093, allocations: 0 / 414.6 MB, free: 1.789 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1093, allocations: 4 kB / 414.6 MB, free: 1.785 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1093, allocations: 3.938 kB / 414.6 MB, free: 1.781 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.0009141/0.1102, allocations: 0.6005 MB / 415.2 MB, free: 1.125 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/0.1103, allocations: 8.031 kB / 415.2 MB, free: 1.117 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.594e-05/0.1104, allocations: 34.56 kB / 415.2 MB, free: 1.074 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.363e-05/0.1104, allocations: 43.44 kB / 415.3 MB, free: 1.031 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003602/0.1108, allocations: 271.4 kB / 415.5 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.1109, allocations: 3.984 kB / 415.6 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.1109, allocations: 8 kB / 415.6 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.1111, allocations: 53.62 kB / 415.6 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1111, allocations: 0 / 415.6 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1111, allocations: 0 / 415.6 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.1112, allocations: 4 kB / 415.6 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.1113, allocations: 23.98 kB / 415.6 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006198/0.112, allocations: 384.7 kB / 416 MB, free: 208 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.1122, allocations: 46.5 kB / 416.1 MB, free: 152 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.899e-05/0.1124, allocations: 28.94 kB / 416.1 MB, free: 120 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.1124, allocations: 0 / 416.1 MB, free: 120 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.1124, allocations: 38.56 kB / 416.1 MB, free: 72 kB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.1124, allocations: 3.938 kB / 416.1 MB, free: 68 kB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009575/0.1134, allocations: 240.2 kB / 416.4 MB, free: 15.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.1135, allocations: 55.36 kB / 416.4 MB, free: 15.76 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/0.1148, allocations: 0.8495 MB / 417.3 MB, free: 14.9 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.1148, allocations: 29.7 kB / 417.3 MB, free: 14.86 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002466/0.1151, allocations: 204.1 kB / 417.5 MB, free: 14.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.1151, allocations: 19.72 kB / 417.5 MB, free: 14.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/0.1151, allocations: 0 / 417.5 MB, free: 14.64 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002056/0.1153, allocations: 362.8 kB / 417.9 MB, free: 14.28 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.1155, allocations: 27.98 kB / 417.9 MB, free: 14.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.1156, allocations: 23.98 kB / 417.9 MB, free: 14.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.1158, allocations: 49.69 kB / 418 MB, free: 14.17 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1158, allocations: 3.938 kB / 418 MB, free: 14.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004597/0.1163, allocations: 159 kB / 418.1 MB, free: 14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.589e-05/0.1164, allocations: 29.7 kB / 418.2 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.1164, allocations: 0 / 418.2 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.1164, allocations: 3.984 kB / 418.2 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.1166, allocations: 15.98 kB / 418.2 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.1166, allocations: 3.953 kB / 418.2 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.869e-05/0.1167, allocations: 12 kB / 418.2 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.1167, allocations: 0 / 418.2 MB, free: 13.93 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.0003301/0.1171, allocations: 214.8 kB / 418.4 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.016e-05/0.1171, allocations: 39.44 kB / 418.4 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000481/0.1176, allocations: 148.8 kB / 418.6 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1177, allocations: 3.938 kB / 418.6 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.1177, allocations: 3.984 kB / 418.6 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.1177, allocations: 3.953 kB / 418.6 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008545/0.1186, allocations: 466.5 kB / 419.1 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1186, allocations: 0 / 419.1 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.1187, allocations: 16.36 kB / 419.1 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.1187, allocations: 0 / 419.1 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.1187, allocations: 0 / 419.1 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/0.1187, allocations: 7.953 kB / 419.1 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/0.1188, allocations: 0 / 419.1 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004157/0.1192, allocations: 230.9 kB / 419.3 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.1193, allocations: 104.6 kB / 419.4 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.1193, allocations: 4 kB / 419.4 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.1195, allocations: 4 kB / 419.4 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.1196, allocations: 7.938 kB / 419.4 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.1196, allocations: 8 kB / 419.4 MB, free: 12.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009775/0.1206, allocations: 0.6432 MB / 420.1 MB, free: 11.95 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1206, allocations: 0 / 420.1 MB, free: 11.95 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003575/0.121, allocations: 23.98 kB / 420.1 MB, free: 11.92 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.001331/0.1223, allocations: 0.89 MB / 421 MB, free: 11.04 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003796/0.1227, allocations: 115.3 kB / 421.1 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1227, allocations: 4 kB / 421.1 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.1229, allocations: 23.98 kB / 421.1 MB, free: 10.88 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.1233, allocations: 21.91 kB / 421.1 MB, free: 10.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004525/0.1279, allocations: 2.248 MB / 423.4 MB, free: 8.539 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005666/0.1285, allocations: 0.8262 MB / 424.2 MB, free: 7.688 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.521e-05/0.1286, allocations: 12.12 kB / 424.2 MB, free: 7.676 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/0.1288, allocations: 99.39 kB / 424.3 MB, free: 7.578 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1288, allocations: 0 / 424.3 MB, free: 7.578 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03191/0.1607, allocations: 4.956 MB / 429.3 MB, free: 2.645 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003646/0.1612, allocations: 248.1 kB / 429.5 MB, free: 2.395 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.569/2.73, allocations: 4 kB / 429.5 MB, free: 2.391 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