Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test1",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.009695/0.009695, allocations: 163.6 kB / 15.12 MB, free: 5.953 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.699/1.699, 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.001758/0.001758, allocations: 102.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.4439/0.4439, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004616/0.0004618, allocations: 16 kB / 363 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1061, allocations: 48.72 MB / 411.7 MB, free: 4.684 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002437/0.1086, allocations: 1.294 MB / 413 MB, free: 3.375 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.1098, allocations: 423.5 kB / 413.4 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.46e-05/0.1099, allocations: 0 / 413.4 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00031/0.1102, allocations: 47.88 kB / 413.5 MB, free: 2.91 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.1104, allocations: 35.83 kB / 413.5 MB, free: 2.875 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.1106, allocations: 55.88 kB / 413.6 MB, free: 2.82 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.1108, allocations: 67.77 kB / 413.6 MB, free: 2.754 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.621e-05/0.1109, allocations: 11.98 kB / 413.6 MB, free: 2.742 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.277e-05/0.111, allocations: 35.89 kB / 413.7 MB, free: 2.707 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.645e-05/0.1111, allocations: 27.8 kB / 413.7 MB, free: 2.68 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.1111, allocations: 0 / 413.7 MB, free: 2.68 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.1113, allocations: 43.97 kB / 413.7 MB, free: 2.637 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.611e-05/0.1114, allocations: 23.92 kB / 413.8 MB, free: 2.613 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.835e-05/0.1114, allocations: 37.64 kB / 413.8 MB, free: 2.57 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.1117, allocations: 96.09 kB / 413.9 MB, free: 2.477 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1117, allocations: 3.938 kB / 413.9 MB, free: 2.473 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1117, allocations: 0 / 413.9 MB, free: 2.473 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1117, allocations: 4 kB / 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.0006136/0.1123, allocations: 432.5 kB / 414.3 MB, free: 1.992 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.1124, allocations: 12.02 kB / 414.3 MB, free: 1.98 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.804e-05/0.1124, allocations: 30.56 kB / 414.4 MB, free: 1.941 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.1125, allocations: 15.81 kB / 414.4 MB, free: 1.926 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.1128, allocations: 198.8 kB / 414.6 MB, free: 1.691 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.1128, allocations: 4 kB / 414.6 MB, free: 1.688 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.1129, allocations: 0 / 414.6 MB, free: 1.688 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.113, allocations: 53.67 kB / 414.6 MB, free: 1.629 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.113, allocations: 0 / 414.6 MB, free: 1.629 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1131, allocations: 4 kB / 414.6 MB, free: 1.625 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.1131, allocations: 0 / 414.6 MB, free: 1.625 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.33e-05/0.1131, allocations: 8 kB / 414.6 MB, free: 1.617 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004733/0.1136, allocations: 296.8 kB / 414.9 MB, free: 1.277 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.1139, allocations: 34.58 kB / 415 MB, free: 1.234 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.649e-05/0.1139, allocations: 16.94 kB / 415 MB, free: 1.215 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.114, allocations: 0 / 415 MB, free: 1.215 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.1142, allocations: 63.3 kB / 415 MB, free: 1.141 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 5.45e-06/0.1142, allocations: 0 / 415 MB, free: 1.141 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004889/0.1147, allocations: 133.1 kB / 415.2 MB, free: 1.004 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.1147, allocations: 55.41 kB / 415.2 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003406/0.1151, allocations: 239.5 kB / 415.5 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.1151, allocations: 33.7 kB / 415.5 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.328e-05/0.1152, allocations: 108.1 kB / 415.6 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.1153, allocations: 19.8 kB / 415.6 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-06/0.1153, allocations: 3.938 kB / 415.6 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1155, allocations: 322.8 kB / 415.9 MB, free: 196 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.177e-05/0.1155, allocations: 20 kB / 416 MB, free: 176 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.583e-05/0.1156, allocations: 15.98 kB / 416 MB, free: 160 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.396e-05/0.1157, allocations: 49.73 kB / 416 MB, free: 104 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1157, allocations: 0 / 416 MB, free: 104 kB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002761/0.116, allocations: 131.1 kB / 416.2 MB, free: 15.96 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.828e-05/0.1161, allocations: 37.69 kB / 416.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1161, allocations: 0 / 416.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1161, allocations: 0 / 416.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.429e-05/0.1162, allocations: 8 kB / 416.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1162, allocations: 0 / 416.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.985e-05/0.1163, allocations: 7.953 kB / 416.2 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.1163, allocations: 4 kB / 416.2 MB, free: 15.9 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.0001483/0.1165, allocations: 130.9 kB / 416.3 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.163e-05/0.1165, allocations: 15.91 kB / 416.4 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.951e-05/0.1166, allocations: 16.98 kB / 416.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.1166, allocations: 4 kB / 416.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1166, allocations: 0 / 416.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1166, allocations: 64 / 416.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004888/0.1171, allocations: 350.5 kB / 416.7 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.1171, allocations: 0 / 416.7 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.132e-05/0.1172, allocations: 8 kB / 416.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1172, allocations: 0 / 416.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.1172, allocations: 7.984 kB / 416.7 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1173, allocations: 0 / 416.7 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.1173, allocations: 3.953 kB / 416.7 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.1175, allocations: 175.3 kB / 416.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.547e-05/0.1176, allocations: 88.92 kB / 417 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.1177, allocations: 4 kB / 417 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.032e-05/0.1178, allocations: 7.922 kB / 417 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.1178, allocations: 4 kB / 417 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.1178, allocations: 7.953 kB / 417 MB, free: 14.99 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002381/0.1181, allocations: 189.1 kB / 417.2 MB, free: 14.81 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1181, allocations: 4 kB / 417.2 MB, free: 14.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000361/0.1185, allocations: 31.92 kB / 417.2 MB, free: 14.77 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.001429/0.1199, allocations: 0.9476 MB / 418.2 MB, free: 13.85 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000248/0.1202, allocations: 107.3 kB / 418.3 MB, free: 13.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1202, allocations: 0 / 418.3 MB, free: 13.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.928e-05/0.1203, allocations: 16 kB / 418.3 MB, free: 13.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.1207, allocations: 16.17 kB / 418.3 MB, free: 13.7 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.1224, allocations: 0.8027 MB / 419.1 MB, free: 12.85 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.1228, allocations: 0.7158 MB / 419.8 MB, free: 12.11 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.024e-05/0.1228, allocations: 12.14 kB / 419.8 MB, free: 12.1 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.82e-05/0.1229, allocations: 35.42 kB / 419.9 MB, free: 12.06 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.123, allocations: 0 / 419.9 MB, free: 12.06 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.1471, allocations: 2.875 MB / 422.8 MB, free: 9.215 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003859/0.1475, allocations: 246.5 kB / 423 MB, free: 8.93 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.419/2.566, allocations: 0 / 423 MB, free: 8.93 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.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