Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test6",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.01493/0.01493, allocations: 165.7 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.627/1.627, 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.002348/0.002348, allocations: 98.84 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.4587/0.4587, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000642/0.0006423, allocations: 12 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1024, allocations: 48.72 MB / 411.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002444/0.1049, allocations: 1.298 MB / 413 MB, free: 3.375 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.1061, allocations: 419.5 kB / 413.4 MB, free: 2.961 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.689e-05/0.1061, allocations: 0 / 413.4 MB, free: 2.961 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.1065, allocations: 51.86 kB / 413.5 MB, free: 2.91 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001805/0.1067, allocations: 31.89 kB / 413.5 MB, free: 2.879 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.1069, allocations: 59.81 kB / 413.6 MB, free: 2.82 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.1071, allocations: 67.77 kB / 413.6 MB, free: 2.754 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.378e-05/0.1072, allocations: 15.97 kB / 413.6 MB, free: 2.738 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.705e-05/0.1073, allocations: 23.92 kB / 413.7 MB, free: 2.715 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.543e-05/0.1074, allocations: 31.84 kB / 413.7 MB, free: 2.684 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.1074, allocations: 0 / 413.7 MB, free: 2.684 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.1076, allocations: 39.98 kB / 413.7 MB, free: 2.645 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.471e-05/0.1076, allocations: 23.92 kB / 413.8 MB, free: 2.621 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.399e-05/0.1077, allocations: 49.58 kB / 413.8 MB, free: 2.566 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.1079, allocations: 96.08 kB / 413.9 MB, free: 2.473 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1079, allocations: 3.938 kB / 413.9 MB, free: 2.469 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.108, allocations: 0 / 413.9 MB, free: 2.469 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.108, allocations: 0 / 413.9 MB, free: 2.469 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.000637/0.1086, allocations: 440.4 kB / 414.3 MB, free: 1.984 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.1087, allocations: 8.031 kB / 414.3 MB, free: 1.977 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.957e-05/0.1087, allocations: 30.56 kB / 414.4 MB, free: 1.938 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.352e-05/0.1088, allocations: 11.91 kB / 414.4 MB, free: 1.926 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.1091, allocations: 207.7 kB / 414.6 MB, free: 1.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.1091, allocations: 4 kB / 414.6 MB, free: 1.676 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.1092, allocations: 0 / 414.6 MB, free: 1.676 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.1093, allocations: 49.62 kB / 414.6 MB, free: 1.621 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.1093, allocations: 3.906 kB / 414.6 MB, free: 1.617 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1093, allocations: 0 / 414.6 MB, free: 1.617 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.1094, allocations: 4 kB / 414.7 MB, free: 1.613 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.14e-05/0.1094, allocations: 7.984 kB / 414.7 MB, free: 1.605 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004337/0.1099, allocations: 296.9 kB / 414.9 MB, free: 1.266 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.1101, allocations: 42.5 kB / 415 MB, free: 1.215 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.739e-05/0.1102, allocations: 8.859 kB / 415 MB, free: 1.203 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.1102, allocations: 4 kB / 415 MB, free: 1.199 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.1104, allocations: 55.48 kB / 415.1 MB, free: 1.133 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 4.379e-06/0.1104, allocations: 4 kB / 415.1 MB, free: 1.129 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004976/0.1109, allocations: 137.1 kB / 415.2 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.111, allocations: 51.41 kB / 415.2 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003619/0.1114, allocations: 258.2 kB / 415.5 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.1114, allocations: 29.7 kB / 415.5 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.608e-05/0.1115, allocations: 112.1 kB / 415.6 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.1115, allocations: 15.8 kB / 415.7 MB, free: 0.5 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-06/0.1116, allocations: 0 / 415.7 MB, free: 0.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1117, allocations: 326.8 kB / 416 MB, free: 176 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.029e-05/0.1118, allocations: 20 kB / 416 MB, free: 156 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.193e-05/0.1119, allocations: 19.98 kB / 416 MB, free: 136 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.923e-05/0.112, allocations: 49.73 kB / 416.1 MB, free: 80 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.112, allocations: 7.938 kB / 416.1 MB, free: 72 kB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002823/0.1123, allocations: 119.5 kB / 416.2 MB, free: 15.94 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.894e-05/0.1123, allocations: 33.69 kB / 416.2 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1124, allocations: 0 / 416.2 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1124, allocations: 4 kB / 416.2 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.137e-05/0.1125, allocations: 7.938 kB / 416.2 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1125, allocations: 4 kB / 416.2 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.682e-05/0.1126, allocations: 15.72 kB / 416.2 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.1126, allocations: 8.062 kB / 416.3 MB, free: 15.86 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.0001488/0.1128, allocations: 130.9 kB / 416.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.1128, allocations: 15.8 kB / 416.4 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.357e-05/0.1129, allocations: 17 kB / 416.4 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1129, allocations: 0 / 416.4 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.1129, allocations: 0 / 416.4 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1129, allocations: 4 kB / 416.4 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004982/0.1134, allocations: 354.5 kB / 416.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1134, allocations: 0 / 416.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.527e-05/0.1135, allocations: 11.98 kB / 416.8 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1135, allocations: 0 / 416.8 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.1135, allocations: 0 / 416.8 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1135, allocations: 0 / 416.8 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.1136, allocations: 3.953 kB / 416.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.1138, allocations: 171.4 kB / 416.9 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.233e-05/0.1139, allocations: 89.02 kB / 417 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/0.1139, allocations: 3.984 kB / 417 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.104e-05/0.114, allocations: 3.938 kB / 417 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.1141, allocations: 11.95 kB / 417.1 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.1141, allocations: 7.938 kB / 417.1 MB, free: 14.96 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002421/0.1143, allocations: 196.2 kB / 417.3 MB, free: 14.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1144, allocations: 0 / 417.3 MB, free: 14.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003549/0.1147, allocations: 31.91 kB / 417.3 MB, free: 14.73 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.001402/0.1161, allocations: 0.9549 MB / 418.2 MB, free: 13.8 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002418/0.1164, allocations: 107.3 kB / 418.3 MB, free: 13.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1164, allocations: 0 / 418.3 MB, free: 13.68 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.906e-05/0.1165, allocations: 23.98 kB / 418.4 MB, free: 13.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004282/0.1169, allocations: 20.17 kB / 418.4 MB, free: 13.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.1187, allocations: 0.8045 MB / 419.2 MB, free: 12.79 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/0.1192, allocations: 0.7121 MB / 419.9 MB, free: 12.05 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.779e-05/0.1192, allocations: 12.12 kB / 419.9 MB, free: 12.04 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.403e-05/0.1194, allocations: 35.42 kB / 420 MB, free: 12.01 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/0.1194, allocations: 4 kB / 420 MB, free: 12 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/0.1477, allocations: 2.925 MB / 422.9 MB, free: 9.102 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003881/0.1482, allocations: 242.4 kB / 423.1 MB, free: 8.82 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.614/2.763, allocations: 0 / 423.1 MB, free: 8.82 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[10,1],t_new.table[10,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