Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test29",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.01346/0.01347, allocations: 162.4 kB / 15.12 MB, free: 5.957 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.695/1.695, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.001795/0.001796, allocations: 102.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.5112/0.5112, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006481/0.0006486, allocations: 16 kB / 363 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1198, allocations: 48.71 MB / 411.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002466/0.1223, allocations: 1.302 MB / 413 MB, free: 3.375 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.1235, allocations: 423.5 kB / 413.4 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.644e-05/0.1235, allocations: 4 kB / 413.4 MB, free: 2.953 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002852/0.1238, allocations: 27.91 kB / 413.5 MB, free: 2.926 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001751/0.124, allocations: 31.83 kB / 413.5 MB, free: 2.895 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.1243, allocations: 55.88 kB / 413.5 MB, free: 2.84 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.1244, allocations: 67.77 kB / 413.6 MB, free: 2.773 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.823e-05/0.1246, allocations: 7.984 kB / 413.6 MB, free: 2.766 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.974e-05/0.1246, allocations: 27.92 kB / 413.6 MB, free: 2.738 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.436e-05/0.1248, allocations: 31.78 kB / 413.7 MB, free: 2.707 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.1248, allocations: 4 kB / 413.7 MB, free: 2.703 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.1249, allocations: 35.98 kB / 413.7 MB, free: 2.668 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.676e-05/0.125, allocations: 15.92 kB / 413.7 MB, free: 2.652 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.896e-05/0.1251, allocations: 33.7 kB / 413.8 MB, free: 2.613 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.1253, allocations: 80.11 kB / 413.8 MB, free: 2.535 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1253, allocations: 7.875 kB / 413.8 MB, free: 2.527 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1253, allocations: 0 / 413.8 MB, free: 2.527 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.1253, allocations: 0 / 413.8 MB, free: 2.527 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.0005968/0.1259, allocations: 416.7 kB / 414.2 MB, free: 2.066 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.126, allocations: 8.031 kB / 414.3 MB, free: 2.059 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.156e-05/0.1261, allocations: 30.56 kB / 414.3 MB, free: 2.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.776e-05/0.1261, allocations: 7.906 kB / 414.3 MB, free: 2.012 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.1264, allocations: 198.5 kB / 414.5 MB, free: 1.781 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.1264, allocations: 0 / 414.5 MB, free: 1.781 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.1264, allocations: 8 kB / 414.5 MB, free: 1.773 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.1266, allocations: 49.66 kB / 414.5 MB, free: 1.719 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1266, allocations: 0 / 414.5 MB, free: 1.719 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.1266, allocations: 4 kB / 414.5 MB, free: 1.715 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1266, allocations: 3.938 kB / 414.6 MB, free: 1.711 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.801e-05/0.1267, allocations: 12 kB / 414.6 MB, free: 1.699 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.1271, allocations: 280.9 kB / 414.8 MB, free: 1.375 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.1274, allocations: 38.56 kB / 414.9 MB, free: 1.328 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.599e-05/0.1274, allocations: 12.86 kB / 414.9 MB, free: 1.312 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.1275, allocations: 7.938 kB / 414.9 MB, free: 1.305 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.1276, allocations: 59.48 kB / 415 MB, free: 1.234 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 4.588e-06/0.1276, allocations: 0 / 415 MB, free: 1.234 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004547/0.1281, allocations: 117.2 kB / 415.1 MB, free: 1.113 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.1282, allocations: 51.41 kB / 415.1 MB, free: 1.051 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.1284, allocations: 174.3 kB / 415.3 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.1284, allocations: 25.7 kB / 415.3 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.263e-05/0.1285, allocations: 112 kB / 415.4 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.1286, allocations: 7.906 kB / 415.4 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-06/0.1286, allocations: 0 / 415.4 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1287, allocations: 322.8 kB / 415.7 MB, free: 404 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.321e-05/0.1289, allocations: 19.98 kB / 415.8 MB, free: 384 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.607e-05/0.1289, allocations: 20 kB / 415.8 MB, free: 364 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.474e-05/0.129, allocations: 49.73 kB / 415.8 MB, free: 308 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.129, allocations: 0 / 415.8 MB, free: 308 kB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002405/0.1293, allocations: 119.2 kB / 416 MB, free: 176 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.704e-05/0.1293, allocations: 33.7 kB / 416 MB, free: 136 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1294, allocations: 4 kB / 416 MB, free: 132 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1294, allocations: 0 / 416 MB, free: 132 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.161e-05/0.1295, allocations: 11.98 kB / 416 MB, free: 120 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.1295, allocations: 4.016 kB / 416 MB, free: 116 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.29e-05/0.1296, allocations: 12 kB / 416 MB, free: 104 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.1296, allocations: 4 kB / 416 MB, free: 100 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: 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.0001482/0.1297, allocations: 122.8 kB / 416.1 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.1298, allocations: 11.81 kB / 416.2 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.448e-05/0.1298, allocations: 16.3 kB / 416.2 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1299, allocations: 4 kB / 416.2 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.1299, allocations: 0 / 416.2 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.1299, allocations: 3.953 kB / 416.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004188/0.1303, allocations: 326.6 kB / 416.5 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1303, allocations: 0 / 416.5 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.645e-05/0.1304, allocations: 11.98 kB / 416.5 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.1304, allocations: 0 / 416.5 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.1304, allocations: 3.938 kB / 416.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.1304, allocations: 3.953 kB / 416.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1304, allocations: 4 kB / 416.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.1307, allocations: 167.7 kB / 416.7 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.004e-05/0.1308, allocations: 89 kB / 416.8 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.1308, allocations: 0 / 416.8 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.588e-05/0.1309, allocations: 7.938 kB / 416.8 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.1309, allocations: 7.938 kB / 416.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.131, allocations: 4 kB / 416.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001487/0.1311, allocations: 135.8 kB / 416.9 MB, free: 15.1 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1311, allocations: 0 / 416.9 MB, free: 15.1 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003602/0.1315, allocations: 24 kB / 416.9 MB, free: 15.07 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.001468/0.133, allocations: 0.9634 MB / 417.9 MB, free: 14.13 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002238/0.1332, allocations: 103.4 kB / 418 MB, free: 14.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1333, allocations: 0 / 418 MB, free: 14.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.765e-05/0.1333, allocations: 19.92 kB / 418 MB, free: 14 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.1337, allocations: 15.95 kB / 418 MB, free: 13.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.135, allocations: 0.6147 MB / 418.7 MB, free: 13.31 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.1354, allocations: 0.6965 MB / 419.4 MB, free: 12.59 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.361e-05/0.1354, allocations: 8 kB / 419.4 MB, free: 12.58 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.334e-05/0.1355, allocations: 31.42 kB / 419.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of SimCode: time 7.91e-07/0.1355, allocations: 0 / 419.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02732/0.1629, allocations: 2.551 MB / 421.9 MB, free: 10.02 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00042/0.1634, allocations: 255.5 kB / 422.2 MB, free: 9.699 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.588/2.751, allocations: 4.062 kB / 422.2 MB, free: 9.695 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.verboseRead,t_new.y[1],time