Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test51",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.009848/0.009853, allocations: 162 kB / 15.12 MB, free: 6.027 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.766/1.766, 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.001714/0.001713, allocations: 117.9 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.4424/0.4424, allocations: 38.05 MB / 303.7 MB, free: 42.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006672/0.0006676, allocations: 15.94 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1043, allocations: 48.71 MB / 411.7 MB, free: 4.695 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002443/0.1068, allocations: 1.298 MB / 413 MB, free: 3.383 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.108, allocations: 423.5 kB / 413.4 MB, free: 2.965 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.277e-05/0.1081, allocations: 0 / 413.4 MB, free: 2.965 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.1084, allocations: 39.88 kB / 413.5 MB, free: 2.926 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001893/0.1086, allocations: 39.89 kB / 413.5 MB, free: 2.887 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.1088, allocations: 55.81 kB / 413.6 MB, free: 2.832 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.109, allocations: 67.77 kB / 413.6 MB, free: 2.766 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.508e-05/0.1091, allocations: 7.984 kB / 413.6 MB, free: 2.758 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.153e-05/0.1092, allocations: 23.92 kB / 413.7 MB, free: 2.734 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.418e-05/0.1093, allocations: 31.84 kB / 413.7 MB, free: 2.703 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.1094, allocations: 0 / 413.7 MB, free: 2.703 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.1095, allocations: 43.98 kB / 413.7 MB, free: 2.66 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.786e-05/0.1096, allocations: 23.86 kB / 413.8 MB, free: 2.637 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.655e-05/0.1096, allocations: 37.64 kB / 413.8 MB, free: 2.594 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.1098, allocations: 92.03 kB / 413.9 MB, free: 2.504 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1099, allocations: 0 / 413.9 MB, free: 2.504 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1099, allocations: 4 kB / 413.9 MB, free: 2.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.1099, allocations: 0 / 413.9 MB, free: 2.5 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.0006001/0.1105, allocations: 420.6 kB / 414.3 MB, free: 2.035 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.1106, allocations: 8.031 kB / 414.3 MB, free: 2.027 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.414e-05/0.1106, allocations: 34.56 kB / 414.3 MB, free: 1.984 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.488e-05/0.1107, allocations: 11.91 kB / 414.3 MB, free: 1.973 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.1109, allocations: 204.1 kB / 414.5 MB, free: 1.734 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.111, allocations: 0 / 414.5 MB, free: 1.734 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.111, allocations: 4 kB / 414.5 MB, free: 1.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.1112, allocations: 45.62 kB / 414.6 MB, free: 1.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.1112, allocations: 0 / 414.6 MB, free: 1.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.1112, allocations: 4 kB / 414.6 MB, free: 1.676 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1112, allocations: 0 / 414.6 MB, free: 1.676 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.632e-05/0.1113, allocations: 15.98 kB / 414.6 MB, free: 1.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004595/0.1118, allocations: 288.8 kB / 414.9 MB, free: 1.328 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.112, allocations: 38.61 kB / 414.9 MB, free: 1.281 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.08e-05/0.1121, allocations: 16.84 kB / 414.9 MB, free: 1.262 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.1121, allocations: 4 kB / 415 MB, free: 1.258 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.1123, allocations: 59.39 kB / 415 MB, free: 1.188 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.953e-06/0.1123, allocations: 3.938 kB / 415 MB, free: 1.184 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004767/0.1128, allocations: 121.2 kB / 415.1 MB, free: 1.059 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.1129, allocations: 55.41 kB / 415.2 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003084/0.1132, allocations: 208 kB / 415.4 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.1132, allocations: 29.7 kB / 415.4 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.458e-05/0.1133, allocations: 104.1 kB / 415.5 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.1134, allocations: 15.75 kB / 415.5 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-06/0.1134, allocations: 4 kB / 415.5 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1135, allocations: 322.8 kB / 415.9 MB, free: 300 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.69e-05/0.1136, allocations: 23.98 kB / 415.9 MB, free: 276 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.578e-05/0.1137, allocations: 12 kB / 415.9 MB, free: 264 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.599e-05/0.1138, allocations: 57.66 kB / 415.9 MB, free: 200 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1138, allocations: 0 / 415.9 MB, free: 200 kB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002652/0.1141, allocations: 123.2 kB / 416.1 MB, free: 64 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.893e-05/0.1142, allocations: 33.7 kB / 416.1 MB, free: 24 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1142, allocations: 0 / 416.1 MB, free: 24 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1142, allocations: 0 / 416.1 MB, free: 24 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.383e-05/0.1143, allocations: 15.92 kB / 416.1 MB, free: 8 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1143, allocations: 4 kB / 416.1 MB, free: 4 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.649e-05/0.1144, allocations: 4.188 kB / 416.1 MB, free: 0 / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/0.1144, allocations: 8 kB / 416.1 MB, free: 15.99 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.0001419/0.1146, allocations: 126.8 kB / 416.3 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.1146, allocations: 11.91 kB / 416.3 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.579e-05/0.1147, allocations: 13 kB / 416.3 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.1147, allocations: 0 / 416.3 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1147, allocations: 0 / 416.3 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.1148, allocations: 3.984 kB / 416.3 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004839/0.1152, allocations: 346.5 kB / 416.6 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1153, allocations: 0 / 416.6 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.659e-05/0.1153, allocations: 8 kB / 416.6 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1153, allocations: 0 / 416.6 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.1154, allocations: 7.984 kB / 416.6 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1154, allocations: 0 / 416.6 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1154, allocations: 0 / 416.6 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.1156, allocations: 171.5 kB / 416.8 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.082e-05/0.1157, allocations: 88.98 kB / 416.9 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.1157, allocations: 7.938 kB / 416.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.471e-05/0.1158, allocations: 7.984 kB / 416.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.1159, allocations: 0 / 416.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.1159, allocations: 8 kB / 416.9 MB, free: 15.11 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000195/0.1161, allocations: 159.9 kB / 417.1 MB, free: 14.95 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.1161, allocations: 3.938 kB / 417.1 MB, free: 14.95 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003524/0.1165, allocations: 27.98 kB / 417.1 MB, free: 14.92 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.001437/0.118, allocations: 0.9526 MB / 418.1 MB, free: 13.99 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002423/0.1182, allocations: 103.3 kB / 418.2 MB, free: 13.88 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1182, allocations: 4 kB / 418.2 MB, free: 13.87 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.414e-05/0.1183, allocations: 16 kB / 418.2 MB, free: 13.86 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.1188, allocations: 15.98 kB / 418.2 MB, free: 13.84 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.1203, allocations: 0.6982 MB / 418.9 MB, free: 13.1 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.1206, allocations: 0.7043 MB / 419.6 MB, free: 12.37 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.891e-05/0.1207, allocations: 12.12 kB / 419.6 MB, free: 12.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.597e-05/0.1208, allocations: 27.44 kB / 419.6 MB, free: 12.33 MB / 330.7 MB Notification: Performance of SimCode: time 8.92e-07/0.1208, allocations: 0 / 419.6 MB, free: 12.33 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02314/0.144, allocations: 2.713 MB / 422.3 MB, free: 9.641 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003335/0.1443, allocations: 251.6 kB / 422.6 MB, free: 9.32 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.627/2.771, allocations: 0 / 422.6 MB, free: 9.32 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.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.verboseRead,t_new.y[1],time