Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.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.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test48",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.0149/0.0149, allocations: 163.6 kB / 15.12 MB, free: 5.965 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.817/1.817, allocations: 170.8 MB / 186.6 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.001763/0.001764, allocations: 109.7 kB / 226.2 MB, free: 10.1 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.4988/0.4988, allocations: 38.05 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006676/0.0006678, allocations: 12 kB / 363 MB, free: 5.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1241, allocations: 48.72 MB / 411.7 MB, free: 4.684 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002393/0.1266, allocations: 1.298 MB / 413 MB, free: 3.371 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.1277, allocations: 419.5 kB / 413.4 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.062e-05/0.1278, allocations: 0 / 413.4 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003121/0.1281, allocations: 51.86 kB / 413.5 MB, free: 2.906 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001875/0.1283, allocations: 39.88 kB / 413.5 MB, free: 2.867 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.1286, allocations: 55.81 kB / 413.6 MB, free: 2.812 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.1287, allocations: 67.77 kB / 413.6 MB, free: 2.746 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.562e-05/0.1289, allocations: 11.98 kB / 413.6 MB, free: 2.734 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.56e-05/0.1289, allocations: 23.92 kB / 413.7 MB, free: 2.711 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.762e-05/0.129, allocations: 39.77 kB / 413.7 MB, free: 2.672 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.1291, allocations: 4 kB / 413.7 MB, free: 2.668 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.1292, allocations: 32 kB / 413.7 MB, free: 2.637 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.496e-05/0.1293, allocations: 27.91 kB / 413.8 MB, free: 2.609 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.181e-05/0.1294, allocations: 41.64 kB / 413.8 MB, free: 2.562 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.1296, allocations: 88.09 kB / 413.9 MB, free: 2.477 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1296, allocations: 3.938 kB / 413.9 MB, free: 2.473 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1296, allocations: 0 / 413.9 MB, free: 2.473 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1297, allocations: 8 kB / 413.9 MB, free: 2.465 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006132/0.1303, allocations: 432.5 kB / 414.3 MB, free: 1.988 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.1303, allocations: 8.031 kB / 414.3 MB, free: 1.98 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.238e-05/0.1304, allocations: 30.56 kB / 414.4 MB, free: 1.941 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.378e-05/0.1304, allocations: 11.81 kB / 414.4 MB, free: 1.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.1307, allocations: 210.8 kB / 414.6 MB, free: 1.684 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.1307, allocations: 0 / 414.6 MB, free: 1.684 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.1308, allocations: 4 kB / 414.6 MB, free: 1.68 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.1309, allocations: 49.62 kB / 414.6 MB, free: 1.625 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.131, allocations: 0 / 414.6 MB, free: 1.625 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.131, allocations: 0 / 414.6 MB, free: 1.625 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.131, allocations: 0 / 414.6 MB, free: 1.625 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.649e-05/0.1311, allocations: 15.98 kB / 414.7 MB, free: 1.609 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004389/0.1315, allocations: 284.9 kB / 414.9 MB, free: 1.281 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.1318, allocations: 42.5 kB / 415 MB, free: 1.23 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.577e-05/0.1318, allocations: 16.86 kB / 415 MB, free: 1.211 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.1318, allocations: 4 kB / 415 MB, free: 1.207 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.132, allocations: 59.39 kB / 415.1 MB, free: 1.137 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 5.761e-06/0.132, allocations: 0 / 415.1 MB, free: 1.137 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004761/0.1325, allocations: 129.1 kB / 415.2 MB, free: 1.004 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.1326, allocations: 51.41 kB / 415.2 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003505/0.1329, allocations: 251.5 kB / 415.5 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.133, allocations: 29.7 kB / 415.5 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.347e-05/0.1331, allocations: 108.1 kB / 415.6 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.1331, allocations: 15.81 kB / 415.6 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-06/0.1331, allocations: 0 / 415.6 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1333, allocations: 322.8 kB / 415.9 MB, free: 200 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.319e-05/0.1334, allocations: 19.98 kB / 416 MB, free: 180 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.617e-05/0.1334, allocations: 20 kB / 416 MB, free: 160 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.1336, allocations: 53.67 kB / 416 MB, free: 100 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1336, allocations: 0 / 416 MB, free: 100 kB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002717/0.1339, allocations: 131.2 kB / 416.2 MB, free: 15.96 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.249e-05/0.1339, allocations: 33.7 kB / 416.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1339, allocations: 0 / 416.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.134, allocations: 0 / 416.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.732e-05/0.134, allocations: 15.92 kB / 416.2 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1341, allocations: 0 / 416.2 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.478e-05/0.1341, allocations: 11.95 kB / 416.2 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.1342, allocations: 4.062 kB / 416.2 MB, free: 15.89 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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001472/0.1343, allocations: 130.9 kB / 416.4 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.1344, allocations: 11.91 kB / 416.4 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.018e-05/0.1344, allocations: 17 kB / 416.4 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.1344, allocations: 3.984 kB / 416.4 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1345, allocations: 0 / 416.4 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1345, allocations: 0 / 416.4 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004804/0.135, allocations: 354.5 kB / 416.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.135, allocations: 0 / 416.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.316e-05/0.135, allocations: 4 kB / 416.7 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.135, allocations: 0 / 416.7 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1351, allocations: 8 kB / 416.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1351, allocations: 0 / 416.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.1351, allocations: 3.953 kB / 416.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.1353, allocations: 167.4 kB / 416.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.959e-05/0.1354, allocations: 92.91 kB / 417 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.1354, allocations: 0 / 417 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.756e-05/0.1355, allocations: 7.938 kB / 417 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.1356, allocations: 4 kB / 417 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/0.1356, allocations: 15.94 kB / 417 MB, free: 14.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002366/0.1359, allocations: 189.1 kB / 417.2 MB, free: 14.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1359, allocations: 0 / 417.2 MB, free: 14.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003654/0.1363, allocations: 31.94 kB / 417.2 MB, free: 14.77 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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.00147/0.1377, allocations: 0.9416 MB / 418.2 MB, free: 13.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002454/0.138, allocations: 111.3 kB / 418.3 MB, free: 13.72 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.138, allocations: 0 / 418.3 MB, free: 13.72 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.2e-05/0.1381, allocations: 19.98 kB / 418.3 MB, free: 13.7 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.1386, allocations: 20.11 kB / 418.3 MB, free: 13.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.1402, allocations: 0.7909 MB / 419.1 MB, free: 12.85 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.1406, allocations: 0.7158 MB / 419.8 MB, free: 12.11 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.392e-05/0.1407, allocations: 8 kB / 419.8 MB, free: 12.1 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.439e-05/0.1408, allocations: 31.42 kB / 419.9 MB, free: 12.07 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.1408, allocations: 0 / 419.9 MB, free: 12.07 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02596/0.1668, allocations: 2.883 MB / 422.8 MB, free: 9.207 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004035/0.1673, allocations: 239.7 kB / 423 MB, free: 8.898 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.64/2.807, allocations: 3.938 kB / 423 MB, free: 8.895 MB / 330.7 MB "" Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),t_new.columns[1],t_new.extrapolation,t_new.nextTimeEvent,t_new.nout,t_new.offset[1],t_new.p_offset[1],t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_min,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.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.verboseRead,t_new.y[1],time