Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test46",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.009878/0.009883, allocations: 162.4 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.815/1.815, 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.001759/0.001759, 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.4525/0.4525, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004831/0.0004834, allocations: 16 kB / 363 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.112, allocations: 48.71 MB / 411.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002637/0.1147, allocations: 1.298 MB / 413 MB, free: 3.379 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.1159, allocations: 427.4 kB / 413.4 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.611e-05/0.116, allocations: 0 / 413.4 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.1163, allocations: 47.86 kB / 413.5 MB, free: 2.91 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.1165, allocations: 39.83 kB / 413.5 MB, free: 2.871 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.1168, allocations: 55.89 kB / 413.6 MB, free: 2.816 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.117, allocations: 71.75 kB / 413.6 MB, free: 2.746 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.1171, allocations: 7.984 kB / 413.6 MB, free: 2.738 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.1172, allocations: 27.91 kB / 413.7 MB, free: 2.711 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.1174, allocations: 31.78 kB / 413.7 MB, free: 2.68 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.1174, allocations: 4 kB / 413.7 MB, free: 2.676 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002104/0.1177, allocations: 35.98 kB / 413.7 MB, free: 2.641 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.772e-05/0.1178, allocations: 31.92 kB / 413.8 MB, free: 2.609 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.078e-05/0.1179, allocations: 37.64 kB / 413.8 MB, free: 2.566 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003017/0.1182, allocations: 92.09 kB / 413.9 MB, free: 2.477 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1182, allocations: 3.938 kB / 413.9 MB, free: 2.473 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1182, allocations: 0 / 413.9 MB, free: 2.473 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1182, allocations: 0 / 413.9 MB, free: 2.473 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.000628/0.1189, allocations: 432.5 kB / 414.3 MB, free: 1.996 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.1189, allocations: 12.03 kB / 414.3 MB, free: 1.984 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.764e-05/0.119, allocations: 34.55 kB / 414.4 MB, free: 1.941 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.597e-05/0.119, allocations: 11.81 kB / 414.4 MB, free: 1.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.1193, allocations: 210.8 kB / 414.6 MB, free: 1.684 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.1194, allocations: 0 / 414.6 MB, free: 1.684 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.1194, allocations: 8 kB / 414.6 MB, free: 1.676 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.1195, allocations: 45.67 kB / 414.6 MB, free: 1.625 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1196, allocations: 0 / 414.6 MB, free: 1.625 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1196, allocations: 3.984 kB / 414.6 MB, free: 1.621 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1196, allocations: 0 / 414.6 MB, free: 1.621 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.403e-05/0.1197, allocations: 12 kB / 414.7 MB, free: 1.609 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004348/0.1201, allocations: 292.8 kB / 414.9 MB, free: 1.273 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.1203, allocations: 38.56 kB / 415 MB, free: 1.227 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.8e-05/0.1204, allocations: 16.94 kB / 415 MB, free: 1.207 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.1204, allocations: 0 / 415 MB, free: 1.207 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.1206, allocations: 59.31 kB / 415 MB, free: 1.137 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 5.06e-06/0.1206, allocations: 0 / 415 MB, free: 1.137 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006009/0.1212, allocations: 129.1 kB / 415.2 MB, free: 1.004 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.1213, allocations: 55.39 kB / 415.2 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.1217, allocations: 243.5 kB / 415.5 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.1217, allocations: 29.7 kB / 415.5 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.752e-05/0.1218, allocations: 108.1 kB / 415.6 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.1218, allocations: 11.81 kB / 415.6 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.664e-05/0.1219, allocations: 4 kB / 415.6 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.122, allocations: 330.8 kB / 415.9 MB, free: 196 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.942e-05/0.1221, allocations: 20 kB / 416 MB, free: 176 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.7e-05/0.1221, allocations: 19.98 kB / 416 MB, free: 156 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.346e-05/0.1223, allocations: 53.73 kB / 416 MB, free: 96 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1223, allocations: 0 / 416 MB, free: 96 kB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002707/0.1225, allocations: 123.1 kB / 416.2 MB, free: 15.96 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.452e-05/0.1226, allocations: 29.7 kB / 416.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.1226, allocations: 3.984 kB / 416.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.1227, allocations: 4 kB / 416.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.074e-05/0.1227, allocations: 8 kB / 416.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.1228, allocations: 64 / 416.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.728e-05/0.1228, allocations: 11.95 kB / 416.2 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.1229, allocations: 8 kB / 416.2 MB, free: 15.89 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.0001415/0.123, allocations: 130.9 kB / 416.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.1231, allocations: 7.906 kB / 416.4 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.91e-05/0.1231, allocations: 20.98 kB / 416.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1232, allocations: 0 / 416.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1232, allocations: 0 / 416.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1232, allocations: 0 / 416.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000493/0.1237, allocations: 358.5 kB / 416.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1237, allocations: 0 / 416.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.663e-05/0.1238, allocations: 4 kB / 416.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1238, allocations: 0 / 416.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.1238, allocations: 4 kB / 416.7 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.1238, allocations: 0 / 416.7 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.1238, allocations: 3.953 kB / 416.7 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.1241, allocations: 179.6 kB / 416.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.287e-05/0.1241, allocations: 92.92 kB / 417 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.059e-05/0.1242, allocations: 0 / 417 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.485e-05/0.1243, allocations: 7.938 kB / 417 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/0.1243, allocations: 7.969 kB / 417 MB, free: 14.99 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.1244, allocations: 7.953 kB / 417 MB, free: 14.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002312/0.1246, allocations: 189.1 kB / 417.2 MB, free: 14.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1246, allocations: 0 / 417.2 MB, free: 14.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004247/0.1251, allocations: 31.94 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.00145/0.1265, allocations: 0.9514 MB / 418.2 MB, free: 13.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000245/0.1268, allocations: 111.3 kB / 418.3 MB, free: 13.72 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.1268, allocations: 0 / 418.3 MB, free: 13.72 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.624e-05/0.1269, allocations: 16 kB / 418.3 MB, free: 13.7 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.1273, allocations: 20.17 kB / 418.3 MB, free: 13.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.1293, allocations: 0.7987 MB / 419.1 MB, free: 12.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.1297, allocations: 0.708 MB / 419.8 MB, free: 12.11 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.671e-05/0.1297, allocations: 11.98 kB / 419.9 MB, free: 12.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.318e-05/0.1298, allocations: 31.42 kB / 419.9 MB, free: 12.06 MB / 330.7 MB Notification: Performance of SimCode: time 9.52e-07/0.1299, allocations: 0 / 419.9 MB, free: 12.06 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/0.153, allocations: 2.889 MB / 422.8 MB, free: 9.195 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003935/0.1534, allocations: 243.6 kB / 423 MB, free: 8.883 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.599/2.753, allocations: 4 kB / 423 MB, free: 8.879 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