Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009553/0.009553, allocations: 177.4 kB / 15.13 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.143/2.143, allocations: 194.5 MB / 210.3 MB, free: 7.613 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002781/0.002781, allocations: 124.1 kB / 255.6 MB, free: 10.22 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3065/0.3065, allocations: 40 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006415/0.0006416, allocations: 13.31 kB / 406.3 MB, free: 51.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1171, allocations: 54.88 MB / 461.2 MB, free: 3.156 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002017/0.1192, allocations: 1.361 MB / 462.5 MB, free: 1.777 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.1206, allocations: 0.7229 MB / 463.2 MB, free: 1.047 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.134e-05/0.1207, allocations: 0 / 463.2 MB, free: 1.047 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002653/0.121, allocations: 23.91 kB / 463.3 MB, free: 1.023 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.1212, allocations: 39.83 kB / 463.3 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/0.1214, allocations: 47.89 kB / 463.4 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.1216, allocations: 91.69 kB / 463.4 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.702e-05/0.1217, allocations: 15.98 kB / 463.5 MB, free: 0.832 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.929e-05/0.1218, allocations: 31.86 kB / 463.5 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.508e-05/0.1218, allocations: 35.83 kB / 463.5 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.1219, allocations: 0 / 463.5 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.122, allocations: 32 kB / 463.6 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.211e-05/0.1221, allocations: 15.92 kB / 463.6 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.286e-05/0.1221, allocations: 49.62 kB / 463.6 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.1223, allocations: 79.81 kB / 463.7 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1223, allocations: 4 kB / 463.7 MB, free: 0.582 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1223, allocations: 3.938 kB / 463.7 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.1223, allocations: 4 kB / 463.7 MB, free: 0.5742 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005055/0.1228, allocations: 446.3 kB / 464.2 MB, free: 80 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1229, allocations: 12.03 kB / 464.2 MB, free: 68 kB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.21e-05/0.1229, allocations: 42.55 kB / 464.2 MB, free: 16 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.123, allocations: 7.906 kB / 464.2 MB, free: 8 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.1233, allocations: 206.8 kB / 464.4 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.1233, allocations: 0 / 464.4 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.1234, allocations: 8 kB / 464.4 MB, free: 15.76 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.1236, allocations: 57.61 kB / 464.5 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1236, allocations: 0 / 464.5 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.1236, allocations: 11.95 kB / 464.5 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.1236, allocations: 0 / 464.5 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.1238, allocations: 19.98 kB / 464.5 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004443/0.1242, allocations: 300.7 kB / 464.8 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.1245, allocations: 62.61 kB / 464.9 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.524e-05/0.1246, allocations: 24.84 kB / 464.9 MB, free: 15.22 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.1246, allocations: 0 / 464.9 MB, free: 15.22 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002284/0.1249, allocations: 71.34 kB / 465 MB, free: 15.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.004e-06/0.1249, allocations: 0 / 465 MB, free: 15.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007496/0.1256, allocations: 173.2 kB / 465.1 MB, free: 14.96 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.1257, allocations: 59.41 kB / 465.2 MB, free: 14.89 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.126, allocations: 191.3 kB / 465.4 MB, free: 14.7 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.126, allocations: 29.7 kB / 465.4 MB, free: 14.66 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.23e-05/0.1261, allocations: 104 kB / 465.5 MB, free: 14.56 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.1262, allocations: 23.7 kB / 465.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.295e-06/0.1262, allocations: 0 / 465.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1263, allocations: 322.8 kB / 465.8 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.1265, allocations: 31.98 kB / 465.9 MB, free: 14.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.1266, allocations: 61.56 kB / 465.9 MB, free: 14.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.1268, allocations: 69.45 kB / 466 MB, free: 14.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1268, allocations: 0 / 466 MB, free: 14.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000396/0.1272, allocations: 163.1 kB / 466.2 MB, free: 13.87 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.952e-05/0.1273, allocations: 41.69 kB / 466.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.1273, allocations: 0 / 466.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.1273, allocations: 0 / 466.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.1275, allocations: 12 kB / 466.2 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.1275, allocations: 8.031 kB / 466.2 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.031e-05/0.1276, allocations: 7.984 kB / 466.2 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.1276, allocations: 4 kB / 466.2 MB, free: 13.79 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001351/0.1278, allocations: 125.5 kB / 466.4 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.1278, allocations: 15.95 kB / 466.4 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.956e-05/0.1279, allocations: 21.33 kB / 466.4 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.1279, allocations: 384 / 466.4 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.1279, allocations: 3.938 kB / 466.4 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1279, allocations: 4 kB / 466.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006513/0.1286, allocations: 391.4 kB / 466.8 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.423e-06/0.1286, allocations: 7.938 kB / 466.8 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.824e-05/0.1287, allocations: 11.94 kB / 466.8 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1287, allocations: 0 / 466.8 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.1287, allocations: 3.984 kB / 466.8 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.1287, allocations: 4 kB / 466.8 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1288, allocations: 0 / 466.8 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003398/0.1291, allocations: 212.2 kB / 467 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.464e-05/0.1292, allocations: 93 kB / 467.1 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.1292, allocations: 4 kB / 467.1 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.1294, allocations: 4 kB / 467.1 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.057e-05/0.1294, allocations: 11.92 kB / 467.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.1295, allocations: 4 kB / 467.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001674/0.1296, allocations: 150 kB / 467.3 MB, free: 12.65 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.1297, allocations: 0 / 467.3 MB, free: 12.65 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003768/0.13, allocations: 28 kB / 467.3 MB, free: 12.62 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00178/0.1318, allocations: 1.065 MB / 468.4 MB, free: 11.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003952/0.1323, allocations: 147.3 kB / 468.5 MB, free: 11.46 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1323, allocations: 0 / 468.5 MB, free: 11.46 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.1324, allocations: 35.91 kB / 468.5 MB, free: 11.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.1329, allocations: 24.12 kB / 468.6 MB, free: 11.4 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.1346, allocations: 0.7354 MB / 469.3 MB, free: 10.62 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.135, allocations: 0.7121 MB / 470 MB, free: 9.879 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.478e-05/0.1351, allocations: 20.53 kB / 470 MB, free: 9.859 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.333e-05/0.1352, allocations: 31.42 kB / 470.1 MB, free: 9.828 MB / 314.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1353, allocations: 0 / 470.1 MB, free: 9.828 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0309/0.1662, allocations: 2.951 MB / 473 MB, free: 6.906 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000318/0.1665, allocations: 243.8 kB / 473.3 MB, free: 6.594 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.513/2.679, allocations: 3.938 kB / 473.3 MB, free: 6.59 MB / 314.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),der(t_new.timeScaled),t_new.columns[1],t_new.extrapolation,t_new.nextTimeEvent,t_new.nextTimeEventScaled,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_maxScaled,t_new.t_min,t_new.t_minScaled,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.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time