Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test28",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.009612/0.009617, 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.641/1.641, 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.003135/0.003134, 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.4508/0.4508, allocations: 38.05 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004647/0.0004649, allocations: 12 kB / 363 MB, free: 5.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1019, allocations: 48.72 MB / 411.7 MB, free: 4.684 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002301/0.1043, allocations: 1.294 MB / 413 MB, free: 3.375 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.1054, allocations: 423.5 kB / 413.4 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.152e-05/0.1055, allocations: 0 / 413.4 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002625/0.1057, allocations: 31.89 kB / 413.5 MB, free: 2.926 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001709/0.1059, allocations: 27.91 kB / 413.5 MB, free: 2.898 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.1062, allocations: 55.83 kB / 413.5 MB, free: 2.844 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.1064, allocations: 71.75 kB / 413.6 MB, free: 2.773 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.079e-05/0.1065, allocations: 7.984 kB / 413.6 MB, free: 2.766 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.403e-05/0.1065, allocations: 23.92 kB / 413.6 MB, free: 2.742 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.53e-05/0.1066, allocations: 35.77 kB / 413.7 MB, free: 2.707 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.1067, allocations: 4 kB / 413.7 MB, free: 2.703 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.1068, allocations: 32 kB / 413.7 MB, free: 2.672 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.618e-05/0.1069, allocations: 19.92 kB / 413.7 MB, free: 2.652 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.045e-05/0.1069, allocations: 33.7 kB / 413.8 MB, free: 2.613 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.1071, allocations: 80.11 kB / 413.8 MB, free: 2.535 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1072, allocations: 3.938 kB / 413.8 MB, free: 2.531 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1072, allocations: 0 / 413.8 MB, free: 2.531 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1072, allocations: 0 / 413.8 MB, free: 2.531 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.0005586/0.1078, allocations: 412.7 kB / 414.2 MB, free: 2.074 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.1078, allocations: 8.031 kB / 414.3 MB, free: 2.066 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.381e-05/0.1079, allocations: 34.5 kB / 414.3 MB, free: 2.023 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.1079, allocations: 7.906 kB / 414.3 MB, free: 2.016 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.1082, allocations: 202.8 kB / 414.5 MB, free: 1.777 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.1082, allocations: 4 kB / 414.5 MB, free: 1.773 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.1082, allocations: 4 kB / 414.5 MB, free: 1.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.1084, allocations: 41.69 kB / 414.5 MB, free: 1.723 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1084, allocations: 0 / 414.5 MB, free: 1.723 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.1084, allocations: 0 / 414.5 MB, free: 1.723 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1084, allocations: 4 kB / 414.5 MB, free: 1.719 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.468e-05/0.1085, allocations: 11.98 kB / 414.6 MB, free: 1.707 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.1089, allocations: 280.8 kB / 414.8 MB, free: 1.383 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.1092, allocations: 38.56 kB / 414.9 MB, free: 1.336 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.066e-05/0.1092, allocations: 16.94 kB / 414.9 MB, free: 1.316 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.1093, allocations: 4 kB / 414.9 MB, free: 1.312 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.1095, allocations: 55.34 kB / 414.9 MB, free: 1.246 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 4.308e-06/0.1095, allocations: 0 / 414.9 MB, free: 1.246 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004691/0.11, allocations: 129.2 kB / 415.1 MB, free: 1.113 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.11, allocations: 59.34 kB / 415.1 MB, free: 1.043 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.1102, allocations: 170.3 kB / 415.3 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.1103, allocations: 25.7 kB / 415.3 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.474e-05/0.1104, allocations: 104 kB / 415.4 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.1104, allocations: 11.89 kB / 415.4 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-06/0.1104, allocations: 4 kB / 415.4 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1105, allocations: 322.8 kB / 415.8 MB, free: 400 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.311e-05/0.1106, allocations: 16 kB / 415.8 MB, free: 384 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.889e-05/0.1107, allocations: 23.98 kB / 415.8 MB, free: 360 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.63e-05/0.1108, allocations: 49.73 kB / 415.8 MB, free: 304 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1108, allocations: 0 / 415.8 MB, free: 304 kB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002316/0.111, allocations: 115.2 kB / 416 MB, free: 176 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.29e-05/0.1111, allocations: 37.69 kB / 416 MB, free: 132 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1111, allocations: 0 / 416 MB, free: 132 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1111, allocations: 0 / 416 MB, free: 132 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.163e-05/0.1112, allocations: 12 kB / 416 MB, free: 120 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.1112, allocations: 3.953 kB / 416 MB, free: 116 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.782e-05/0.1113, allocations: 8 kB / 416 MB, free: 108 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.1114, allocations: 8.062 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.0001401/0.1115, allocations: 122.9 kB / 416.1 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.1115, allocations: 11.81 kB / 416.2 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.401e-05/0.1116, allocations: 12.31 kB / 416.2 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1116, allocations: 0 / 416.2 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1116, allocations: 0 / 416.2 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.1116, allocations: 7.938 kB / 416.2 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004253/0.1121, allocations: 334.5 kB / 416.5 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1121, allocations: 0 / 416.5 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.411e-05/0.1121, allocations: 8 kB / 416.5 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1122, allocations: 0 / 416.5 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.1122, allocations: 0 / 416.5 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.1122, allocations: 3.953 kB / 416.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1122, allocations: 0 / 416.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.1124, allocations: 175.4 kB / 416.7 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.642e-05/0.1125, allocations: 85.02 kB / 416.8 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.1125, allocations: 4 kB / 416.8 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.111e-05/0.1126, allocations: 7.938 kB / 416.8 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.1127, allocations: 7.938 kB / 416.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.1127, allocations: 4 kB / 416.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001416/0.1129, allocations: 127.8 kB / 416.9 MB, free: 15.11 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.1129, allocations: 0 / 416.9 MB, free: 15.11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000406/0.1133, allocations: 27.98 kB / 416.9 MB, free: 15.08 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.001407/0.1147, allocations: 0.951 MB / 417.9 MB, free: 14.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000243/0.115, allocations: 111.4 kB / 418 MB, free: 14.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.115, allocations: 0 / 418 MB, free: 14.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.856e-05/0.1151, allocations: 12 kB / 418 MB, free: 14.01 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.1155, allocations: 31.81 kB / 418 MB, free: 13.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.1169, allocations: 0.607 MB / 418.7 MB, free: 13.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.1172, allocations: 0.7005 MB / 419.4 MB, free: 12.59 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.199e-05/0.1173, allocations: 15.92 kB / 419.4 MB, free: 12.58 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.223e-05/0.1174, allocations: 23.42 kB / 419.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1174, allocations: 0 / 419.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02252/0.1399, allocations: 2.543 MB / 421.9 MB, free: 10.04 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005625/0.1406, allocations: 251.7 kB / 422.2 MB, free: 9.715 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.65/2.791, allocations: 3.938 kB / 422.2 MB, free: 9.711 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