Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test3.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.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1Ds_Test3",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.009161/0.009166, allocations: 162.5 kB / 15.12 MB, free: 5.953 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.701/1.701, allocations: 170.8 MB / 186.7 MB, free: 1.113 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.001757/0.001757, allocations: 113.6 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.4508/0.4508, allocations: 38.06 MB / 303.7 MB, free: 42.78 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006261/0.0006262, allocations: 15.94 kB / 363 MB, free: 5.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1231, allocations: 48.71 MB / 411.7 MB, free: 4.684 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002739/0.126, allocations: 1.211 MB / 412.9 MB, free: 3.461 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006411/0.1266, allocations: 232 kB / 413.1 MB, free: 3.23 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.248e-05/0.1267, allocations: 4 kB / 413.1 MB, free: 3.227 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002627/0.127, allocations: 59.84 kB / 413.2 MB, free: 3.168 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001563/0.1271, allocations: 47.88 kB / 413.2 MB, free: 3.121 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000139/0.1273, allocations: 31.91 kB / 413.3 MB, free: 3.09 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.1274, allocations: 47.84 kB / 413.3 MB, free: 3.043 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.863e-05/0.1276, allocations: 19.97 kB / 413.3 MB, free: 3.023 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.284e-05/0.1276, allocations: 27.91 kB / 413.4 MB, free: 2.996 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.1277, allocations: 27.91 kB / 413.4 MB, free: 2.969 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.1278, allocations: 0 / 413.4 MB, free: 2.969 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.849e-05/0.1279, allocations: 31.97 kB / 413.4 MB, free: 2.938 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.263e-05/0.1279, allocations: 11.94 kB / 413.4 MB, free: 2.926 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.345e-05/0.128, allocations: 33.69 kB / 413.5 MB, free: 2.887 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.1281, allocations: 60.08 kB / 413.5 MB, free: 2.828 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.1281, allocations: 0 / 413.5 MB, free: 2.828 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1282, allocations: 11.88 kB / 413.5 MB, free: 2.816 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.1282, allocations: 0 / 413.5 MB, free: 2.816 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005127/0.1287, allocations: 392.8 kB / 413.9 MB, free: 2.379 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.1287, allocations: 12.03 kB / 413.9 MB, free: 2.367 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.777e-05/0.1288, allocations: 34.56 kB / 414 MB, free: 2.324 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.1288, allocations: 7.906 kB / 414 MB, free: 2.316 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.129, allocations: 186.8 kB / 414.2 MB, free: 2.094 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.1291, allocations: 0 / 414.2 MB, free: 2.094 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.1291, allocations: 12 kB / 414.2 MB, free: 2.082 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.1293, allocations: 45.69 kB / 414.2 MB, free: 2.031 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.1293, allocations: 3.984 kB / 414.2 MB, free: 2.027 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.1293, allocations: 0 / 414.2 MB, free: 2.027 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.1294, allocations: 0 / 414.2 MB, free: 2.027 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.1295, allocations: 27.92 kB / 414.3 MB, free: 2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.1299, allocations: 276.9 kB / 414.5 MB, free: 1.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.1302, allocations: 46.56 kB / 414.6 MB, free: 1.625 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.241e-05/0.1303, allocations: 16.94 kB / 414.6 MB, free: 1.605 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.1303, allocations: 11.92 kB / 414.6 MB, free: 1.594 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.1304, allocations: 38.56 kB / 414.6 MB, free: 1.547 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.1304, allocations: 0 / 414.6 MB, free: 1.547 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007849/0.1312, allocations: 177.2 kB / 414.8 MB, free: 1.367 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.1312, allocations: 51.41 kB / 414.9 MB, free: 1.305 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.1315, allocations: 190.2 kB / 415 MB, free: 1.109 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.1315, allocations: 25.7 kB / 415.1 MB, free: 1.078 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.1316, allocations: 100 kB / 415.2 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.1316, allocations: 19.8 kB / 415.2 MB, free: 0.957 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.1316, allocations: 0 / 415.2 MB, free: 0.957 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1318, allocations: 318.8 kB / 415.5 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.1319, allocations: 27.98 kB / 415.5 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.1321, allocations: 23.98 kB / 415.5 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.1322, allocations: 49.69 kB / 415.6 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1322, allocations: 0 / 415.6 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003402/0.1326, allocations: 123.3 kB / 415.7 MB, free: 408 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.991e-05/0.1326, allocations: 37.7 kB / 415.8 MB, free: 364 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1327, allocations: 3.938 kB / 415.8 MB, free: 360 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.1327, allocations: 3.953 kB / 415.8 MB, free: 356 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.1328, allocations: 15.98 kB / 415.8 MB, free: 340 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1328, allocations: 0 / 415.8 MB, free: 340 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.819e-05/0.1329, allocations: 8 kB / 415.8 MB, free: 332 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.1329, allocations: 4 kB / 415.8 MB, free: 328 kB / 314.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.0001208/0.1331, allocations: 122.9 kB / 415.9 MB, free: 196 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.79e-05/0.1331, allocations: 7.906 kB / 415.9 MB, free: 188 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003758/0.1335, allocations: 105.9 kB / 416 MB, free: 76 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.1335, allocations: 7.891 kB / 416 MB, free: 68 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1335, allocations: 0 / 416 MB, free: 68 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1335, allocations: 0 / 416 MB, free: 68 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006215/0.1342, allocations: 354.6 kB / 416.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1342, allocations: 0 / 416.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.1343, allocations: 16 kB / 416.4 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.1343, allocations: 3.953 kB / 416.4 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.1343, allocations: 0 / 416.4 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.1343, allocations: 4.359 kB / 416.4 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1344, allocations: 0 / 416.4 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003471/0.1347, allocations: 195.3 kB / 416.6 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.677e-05/0.1348, allocations: 85.02 kB / 416.7 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.1348, allocations: 3.953 kB / 416.7 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.1349, allocations: 15.92 kB / 416.7 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.135, allocations: 4 kB / 416.7 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.135, allocations: 0 / 416.7 MB, free: 15.31 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001523/0.1352, allocations: 143.8 kB / 416.8 MB, free: 15.17 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1352, allocations: 0 / 416.8 MB, free: 15.17 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003113/0.1355, allocations: 20 kB / 416.9 MB, free: 15.15 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.001177/0.1367, allocations: 0.8497 MB / 417.7 MB, free: 14.31 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003539/0.1371, allocations: 119.4 kB / 417.8 MB, free: 14.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1371, allocations: 0 / 417.8 MB, free: 14.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.1372, allocations: 31.92 kB / 417.9 MB, free: 14.15 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.1376, allocations: 11.95 kB / 417.9 MB, free: 14.14 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.1391, allocations: 0.6417 MB / 418.5 MB, free: 13.44 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.1395, allocations: 0.7043 MB / 419.2 MB, free: 12.71 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.455e-05/0.1395, allocations: 4.188 kB / 419.2 MB, free: 12.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.824e-05/0.1396, allocations: 23.42 kB / 419.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of SimCode: time 7.41e-07/0.1396, allocations: 3.938 kB / 419.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02079/0.1604, allocations: 1.969 MB / 421.2 MB, free: 10.74 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003555/0.1609, allocations: 245.3 kB / 421.4 MB, free: 10.46 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.395/2.555, allocations: 0 / 421.4 MB, free: 10.46 MB / 330.7 MB "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(clock.y),der(d_t_new.u),t_new.columns[1],t_new.nout,t_new.smoothness,t_new.tableOnFile,t_new.tableOnFileRead,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.u,t_new.verboseRead,t_new.y[1],time