Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test43",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.01393/0.01393, allocations: 163.8 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.842/1.842, allocations: 170.8 MB / 186.7 MB, free: 1.102 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.001773/0.001773, allocations: 106.8 kB / 226.2 MB, free: 10.08 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.5377/0.5377, allocations: 38.06 MB / 303.7 MB, free: 42.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000649/0.0006493, allocations: 16 kB / 363 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.112, allocations: 48.71 MB / 411.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002551/0.1146, allocations: 1.294 MB / 413 MB, free: 3.379 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.1159, allocations: 423.4 kB / 413.4 MB, free: 2.961 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.116, allocations: 0 / 413.4 MB, free: 2.961 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003196/0.1163, allocations: 43.88 kB / 413.5 MB, free: 2.918 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.1165, allocations: 23.92 kB / 413.5 MB, free: 2.895 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.1168, allocations: 67.8 kB / 413.6 MB, free: 2.828 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.117, allocations: 63.77 kB / 413.6 MB, free: 2.766 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1171, allocations: 11.97 kB / 413.6 MB, free: 2.754 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.943e-05/0.1172, allocations: 23.92 kB / 413.7 MB, free: 2.73 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.503e-05/0.1173, allocations: 23.86 kB / 413.7 MB, free: 2.707 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.1174, allocations: 3.984 kB / 413.7 MB, free: 2.703 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.1175, allocations: 35.98 kB / 413.7 MB, free: 2.668 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.518e-05/0.1176, allocations: 23.92 kB / 413.7 MB, free: 2.645 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.811e-05/0.1176, allocations: 37.7 kB / 413.8 MB, free: 2.602 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.1179, allocations: 84.05 kB / 413.9 MB, free: 2.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1179, allocations: 3.938 kB / 413.9 MB, free: 2.516 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1179, allocations: 0 / 413.9 MB, free: 2.516 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.1179, allocations: 0 / 413.9 MB, free: 2.516 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.0006255/0.1185, allocations: 412.7 kB / 414.3 MB, free: 2.059 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.1186, allocations: 8.031 kB / 414.3 MB, free: 2.051 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.047e-05/0.1187, allocations: 34.56 kB / 414.3 MB, free: 2.008 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.1187, allocations: 7.906 kB / 414.3 MB, free: 2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.119, allocations: 199.4 kB / 414.5 MB, free: 1.766 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.119, allocations: 0 / 414.5 MB, free: 1.766 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.119, allocations: 8 kB / 414.5 MB, free: 1.758 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.1192, allocations: 45.67 kB / 414.6 MB, free: 1.707 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.1192, allocations: 3.938 kB / 414.6 MB, free: 1.703 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1192, allocations: 0 / 414.6 MB, free: 1.703 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1193, allocations: 0 / 414.6 MB, free: 1.703 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.88e-05/0.1193, allocations: 19.97 kB / 414.6 MB, free: 1.684 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004328/0.1198, allocations: 276.9 kB / 414.9 MB, free: 1.363 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.1201, allocations: 38.56 kB / 414.9 MB, free: 1.316 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.966e-05/0.1201, allocations: 16.8 kB / 414.9 MB, free: 1.297 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.1201, allocations: 96 / 414.9 MB, free: 1.297 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000181/0.1203, allocations: 63.3 kB / 415 MB, free: 1.223 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 3.938e-06/0.1204, allocations: 0 / 415 MB, free: 1.223 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004859/0.1208, allocations: 121.2 kB / 415.1 MB, free: 1.098 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.1209, allocations: 55.41 kB / 415.1 MB, free: 1.031 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.1212, allocations: 186.3 kB / 415.3 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.1212, allocations: 29.7 kB / 415.4 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.975e-05/0.1213, allocations: 104.1 kB / 415.5 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.1214, allocations: 11.81 kB / 415.5 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.004e-05/0.1214, allocations: 7.938 kB / 415.5 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1215, allocations: 318.8 kB / 415.8 MB, free: 368 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.693e-05/0.1216, allocations: 20 kB / 415.8 MB, free: 348 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.063e-05/0.1217, allocations: 19.98 kB / 415.8 MB, free: 328 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.743e-05/0.1218, allocations: 45.7 kB / 415.9 MB, free: 276 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1218, allocations: 0 / 415.9 MB, free: 276 kB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002508/0.122, allocations: 123.2 kB / 416 MB, free: 140 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.07e-05/0.1221, allocations: 37.7 kB / 416 MB, free: 96 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.1221, allocations: 4.062 kB / 416 MB, free: 92 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1222, allocations: 0 / 416 MB, free: 92 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.68e-05/0.1222, allocations: 8 kB / 416 MB, free: 84 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1223, allocations: 0 / 416 MB, free: 84 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.358e-05/0.1223, allocations: 15.94 kB / 416.1 MB, free: 68 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.1224, allocations: 4 kB / 416.1 MB, free: 64 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.0001571/0.1225, allocations: 122.8 kB / 416.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.1226, allocations: 7.906 kB / 416.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.72e-05/0.1226, allocations: 16.3 kB / 416.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1226, allocations: 0 / 416.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1227, allocations: 0 / 416.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.1227, allocations: 0 / 416.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004577/0.1231, allocations: 342.5 kB / 416.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1232, allocations: 0 / 416.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.709e-05/0.1232, allocations: 11.92 kB / 416.5 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.1232, allocations: 0 / 416.5 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.1233, allocations: 4 kB / 416.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1233, allocations: 0 / 416.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.1233, allocations: 4.047 kB / 416.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.1235, allocations: 171.3 kB / 416.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.423e-05/0.1236, allocations: 89 kB / 416.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.1236, allocations: 4 kB / 416.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.665e-05/0.1237, allocations: 7.938 kB / 416.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.1238, allocations: 4 kB / 416.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-05/0.1238, allocations: 3.953 kB / 416.8 MB, free: 15.19 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001779/0.124, allocations: 139.2 kB / 417 MB, free: 15.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.124, allocations: 0 / 417 MB, free: 15.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003672/0.1244, allocations: 31.94 kB / 417 MB, free: 15.02 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.001478/0.1259, allocations: 0.953 MB / 417.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000264/0.1262, allocations: 107.4 kB / 418.1 MB, free: 13.97 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1262, allocations: 0 / 418.1 MB, free: 13.97 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.991e-05/0.1263, allocations: 19.94 kB / 418.1 MB, free: 13.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004452/0.1268, allocations: 15.98 kB / 418.1 MB, free: 13.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.1282, allocations: 0.6436 MB / 418.7 MB, free: 13.24 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.1286, allocations: 0.7004 MB / 419.4 MB, free: 12.52 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.64e-05/0.1287, allocations: 11.84 kB / 419.4 MB, free: 12.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.699e-05/0.1288, allocations: 31.42 kB / 419.5 MB, free: 12.47 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1288, allocations: 3.938 kB / 419.5 MB, free: 12.47 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02977/0.1586, allocations: 2.603 MB / 422.1 MB, free: 9.891 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003711/0.1591, allocations: 259.6 kB / 422.3 MB, free: 9.562 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.596/2.755, allocations: 0 / 422.3 MB, free: 9.562 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.verboseRead,t_new.y[1],time