Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test18",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.009539/0.009543, allocations: 161.4 kB / 15.11 MB, free: 6.023 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.669/1.669, allocations: 170.8 MB / 186.7 MB, free: 1.109 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.001756/0.001756, allocations: 110.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.4859/0.4859, allocations: 38.06 MB / 303.7 MB, free: 42.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004529/0.0004531, allocations: 12 kB / 363 MB, free: 5.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1036, allocations: 48.71 MB / 411.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002599/0.1063, allocations: 1.298 MB / 413 MB, free: 3.375 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.1075, allocations: 423.5 kB / 413.4 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.029e-05/0.1075, allocations: 0 / 413.4 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002883/0.1078, allocations: 31.91 kB / 413.5 MB, free: 2.926 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001729/0.108, allocations: 23.86 kB / 413.5 MB, free: 2.902 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.1083, allocations: 59.86 kB / 413.5 MB, free: 2.844 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.1085, allocations: 67.77 kB / 413.6 MB, free: 2.777 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.1086, allocations: 11.97 kB / 413.6 MB, free: 2.766 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.926e-05/0.1087, allocations: 27.92 kB / 413.6 MB, free: 2.738 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.453e-05/0.1088, allocations: 23.8 kB / 413.7 MB, free: 2.715 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.1088, allocations: 4 kB / 413.7 MB, free: 2.711 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.1089, allocations: 35.98 kB / 413.7 MB, free: 2.676 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.742e-05/0.109, allocations: 19.92 kB / 413.7 MB, free: 2.656 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.651e-05/0.1091, allocations: 33.7 kB / 413.8 MB, free: 2.617 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.1093, allocations: 76.12 kB / 413.8 MB, free: 2.543 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1093, allocations: 3.938 kB / 413.8 MB, free: 2.539 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1093, allocations: 0 / 413.8 MB, free: 2.539 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.1093, allocations: 0 / 413.8 MB, free: 2.539 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.0005941/0.1099, allocations: 416.6 kB / 414.2 MB, free: 2.078 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.11, allocations: 12.03 kB / 414.2 MB, free: 2.066 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.517e-05/0.11, allocations: 34.56 kB / 414.3 MB, free: 2.023 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/0.1101, allocations: 7.906 kB / 414.3 MB, free: 2.016 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.1104, allocations: 188.8 kB / 414.5 MB, free: 1.793 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.1104, allocations: 7.984 kB / 414.5 MB, free: 1.785 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.1104, allocations: 0 / 414.5 MB, free: 1.785 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.1106, allocations: 45.67 kB / 414.5 MB, free: 1.734 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1106, allocations: 0 / 414.5 MB, free: 1.734 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.1106, allocations: 8 kB / 414.5 MB, free: 1.727 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1106, allocations: 0 / 414.5 MB, free: 1.727 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.595e-05/0.1107, allocations: 19.92 kB / 414.6 MB, free: 1.707 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004669/0.1112, allocations: 276.8 kB / 414.8 MB, free: 1.387 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.1114, allocations: 42.56 kB / 414.9 MB, free: 1.336 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.577e-05/0.1115, allocations: 8.859 kB / 414.9 MB, free: 1.324 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.1115, allocations: 4 kB / 414.9 MB, free: 1.32 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.1117, allocations: 63.42 kB / 414.9 MB, free: 1.246 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 4.408e-06/0.1117, allocations: 0 / 414.9 MB, free: 1.246 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004657/0.1122, allocations: 117.3 kB / 415.1 MB, free: 1.125 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.1123, allocations: 51.41 kB / 415.1 MB, free: 1.062 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.1125, allocations: 162.1 kB / 415.3 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.1125, allocations: 25.7 kB / 415.3 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.482e-05/0.1126, allocations: 100.1 kB / 415.4 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.1126, allocations: 15.75 kB / 415.4 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-06/0.1127, allocations: 4 kB / 415.4 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1128, allocations: 318.8 kB / 415.7 MB, free: 428 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.715e-05/0.1129, allocations: 16 kB / 415.7 MB, free: 412 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.858e-05/0.1129, allocations: 23.97 kB / 415.8 MB, free: 388 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.198e-05/0.113, allocations: 49.73 kB / 415.8 MB, free: 332 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1131, allocations: 0 / 415.8 MB, free: 332 kB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002388/0.1133, allocations: 119.2 kB / 415.9 MB, free: 200 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.943e-05/0.1134, allocations: 45.69 kB / 416 MB, free: 148 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1134, allocations: 0 / 416 MB, free: 148 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1134, allocations: 0 / 416 MB, free: 148 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.242e-05/0.1135, allocations: 8 kB / 416 MB, free: 140 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.1135, allocations: 3.953 kB / 416 MB, free: 136 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.666e-05/0.1136, allocations: 7.984 kB / 416 MB, free: 128 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.1136, allocations: 0 / 416 MB, free: 128 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.0001433/0.1138, allocations: 118.9 kB / 416.1 MB, free: 0 / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.1138, allocations: 8.016 kB / 416.1 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.583e-05/0.1139, allocations: 24.23 kB / 416.1 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1139, allocations: 0 / 416.1 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1139, allocations: 0 / 416.1 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1139, allocations: 3.953 kB / 416.1 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004324/0.1143, allocations: 326.6 kB / 416.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1144, allocations: 0 / 416.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.511e-05/0.1144, allocations: 8 kB / 416.5 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.1144, allocations: 0 / 416.5 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.1144, allocations: 0 / 416.5 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-05/0.1145, allocations: 7.938 kB / 416.5 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1145, allocations: 4 kB / 416.5 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.1147, allocations: 167.9 kB / 416.6 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.339e-05/0.1148, allocations: 89.02 kB / 416.7 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.1148, allocations: 4 kB / 416.7 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.403e-05/0.1149, allocations: 11.81 kB / 416.7 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.115, allocations: 7.938 kB / 416.7 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.115, allocations: 4 kB / 416.8 MB, free: 15.26 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001562/0.1152, allocations: 125 kB / 416.9 MB, free: 15.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1152, allocations: 0 / 416.9 MB, free: 15.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003603/0.1156, allocations: 28 kB / 416.9 MB, free: 15.11 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.001418/0.117, allocations: 0.953 MB / 417.9 MB, free: 14.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002265/0.1172, allocations: 99.39 kB / 418 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1173, allocations: 0 / 418 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.782e-05/0.1173, allocations: 23.92 kB / 418 MB, free: 14.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.1177, allocations: 19.94 kB / 418 MB, free: 14.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.1191, allocations: 0.5856 MB / 418.6 MB, free: 13.39 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.1194, allocations: 0.6965 MB / 419.3 MB, free: 12.66 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.292e-05/0.1195, allocations: 8 kB / 419.3 MB, free: 12.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.529e-05/0.1196, allocations: 23.42 kB / 419.3 MB, free: 12.63 MB / 330.7 MB Notification: Performance of SimCode: time 8.51e-07/0.1196, allocations: 4 kB / 419.3 MB, free: 12.63 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/0.1418, allocations: 2.502 MB / 421.8 MB, free: 10.15 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003857/0.1423, allocations: 243.8 kB / 422.1 MB, free: 9.836 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.596/2.738, allocations: 3.938 kB / 422.1 MB, free: 9.832 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.verboseRead,t_new.y[1],time