Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test24",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.01408/0.01408, allocations: 164.1 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.733/1.733, 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: 118.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.436/0.436, allocations: 38.06 MB / 303.7 MB, free: 42.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009294/0.0009297, allocations: 19.98 kB / 363 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1192, allocations: 48.71 MB / 411.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002643/0.122, allocations: 1.302 MB / 413 MB, free: 3.375 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.1232, allocations: 419.5 kB / 413.4 MB, free: 2.961 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.076e-05/0.1233, allocations: 3.938 kB / 413.4 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003329/0.1237, allocations: 39.89 kB / 413.5 MB, free: 2.918 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001976/0.1239, allocations: 23.86 kB / 413.5 MB, free: 2.895 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002929/0.1242, allocations: 59.86 kB / 413.5 MB, free: 2.836 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.1244, allocations: 67.78 kB / 413.6 MB, free: 2.77 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.1245, allocations: 11.97 kB / 413.6 MB, free: 2.758 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.483e-05/0.1246, allocations: 27.91 kB / 413.6 MB, free: 2.73 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.944e-05/0.1247, allocations: 23.86 kB / 413.7 MB, free: 2.707 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.1247, allocations: 0 / 413.7 MB, free: 2.707 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.1249, allocations: 35.98 kB / 413.7 MB, free: 2.672 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.125, allocations: 23.92 kB / 413.7 MB, free: 2.648 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.72e-05/0.1251, allocations: 37.64 kB / 413.8 MB, free: 2.605 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.1253, allocations: 88.05 kB / 413.9 MB, free: 2.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1253, allocations: 0 / 413.9 MB, free: 2.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1253, allocations: 0 / 413.9 MB, free: 2.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1253, allocations: 0 / 413.9 MB, free: 2.52 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.0006352/0.126, allocations: 412.7 kB / 414.3 MB, free: 2.062 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.126, allocations: 8.031 kB / 414.3 MB, free: 2.055 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.282e-05/0.1261, allocations: 30.56 kB / 414.3 MB, free: 2.016 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.697e-05/0.1262, allocations: 7.906 kB / 414.3 MB, free: 2.008 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.1264, allocations: 203.4 kB / 414.5 MB, free: 1.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.1265, allocations: 8 kB / 414.5 MB, free: 1.762 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.1265, allocations: 4 kB / 414.5 MB, free: 1.758 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.1267, allocations: 49.61 kB / 414.6 MB, free: 1.703 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.1267, allocations: 0 / 414.6 MB, free: 1.703 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.1267, allocations: 4 kB / 414.6 MB, free: 1.699 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1267, allocations: 0 / 414.6 MB, free: 1.699 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.216e-05/0.1268, allocations: 12 kB / 414.6 MB, free: 1.688 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004669/0.1273, allocations: 280.9 kB / 414.9 MB, free: 1.363 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.1276, allocations: 42.56 kB / 414.9 MB, free: 1.312 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.812e-05/0.1276, allocations: 16.8 kB / 414.9 MB, free: 1.293 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.1277, allocations: 0 / 414.9 MB, free: 1.293 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001915/0.1279, allocations: 59.39 kB / 415 MB, free: 1.223 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.114e-06/0.1279, allocations: 3.938 kB / 415 MB, free: 1.219 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005361/0.1284, allocations: 117.3 kB / 415.1 MB, free: 1.098 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.1285, allocations: 55.41 kB / 415.1 MB, free: 1.031 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.1287, allocations: 190.3 kB / 415.3 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.1288, allocations: 29.7 kB / 415.4 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.785e-05/0.1289, allocations: 100.1 kB / 415.5 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.1289, allocations: 7.812 kB / 415.5 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.896e-05/0.1289, allocations: 8 kB / 415.5 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1291, allocations: 318.8 kB / 415.8 MB, free: 372 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.163e-05/0.1292, allocations: 19.94 kB / 415.8 MB, free: 352 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.54e-05/0.1292, allocations: 27.97 kB / 415.8 MB, free: 324 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.717e-05/0.1293, allocations: 45.7 kB / 415.9 MB, free: 272 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1294, allocations: 0 / 415.9 MB, free: 272 kB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002414/0.1296, allocations: 119.2 kB / 416 MB, free: 140 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.076e-05/0.1297, allocations: 41.69 kB / 416 MB, free: 92 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1297, allocations: 0 / 416 MB, free: 92 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1297, allocations: 0 / 416 MB, free: 92 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.45e-05/0.1298, allocations: 8 kB / 416 MB, free: 84 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1298, allocations: 0 / 416 MB, free: 84 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.792e-05/0.1299, allocations: 7.953 kB / 416 MB, free: 76 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.1299, allocations: 4 kB / 416 MB, free: 72 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.000153/0.1301, allocations: 130.8 kB / 416.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.1301, allocations: 7.906 kB / 416.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.828e-05/0.1302, allocations: 16.3 kB / 416.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1302, allocations: 0 / 416.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1302, allocations: 0 / 416.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1302, allocations: 288 / 416.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004571/0.1307, allocations: 338.5 kB / 416.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1307, allocations: 4 kB / 416.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.423e-05/0.1308, allocations: 7.938 kB / 416.5 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.1308, allocations: 7.969 kB / 416.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.1308, allocations: 0 / 416.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1308, allocations: 4 kB / 416.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.1308, allocations: 3.953 kB / 416.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.131, allocations: 167.5 kB / 416.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.453e-05/0.1311, allocations: 81.11 kB / 416.8 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.1312, allocations: 19.88 kB / 416.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.513e-05/0.1313, allocations: 3.984 kB / 416.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.1313, allocations: 8 kB / 416.8 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.1313, allocations: 3.953 kB / 416.8 MB, free: 15.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001674/0.1315, allocations: 135.2 kB / 417 MB, free: 15.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1315, allocations: 0 / 417 MB, free: 15.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003461/0.1319, allocations: 35.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.001463/0.1334, allocations: 0.9447 MB / 417.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002276/0.1336, allocations: 103.4 kB / 418 MB, free: 13.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1336, allocations: 0 / 418 MB, free: 13.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.969e-05/0.1337, allocations: 19.92 kB / 418.1 MB, free: 13.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.1341, allocations: 19.98 kB / 418.1 MB, free: 13.94 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.1355, allocations: 0.6397 MB / 418.7 MB, free: 13.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.1359, allocations: 0.7004 MB / 419.4 MB, free: 12.52 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.21e-05/0.1359, allocations: 15.84 kB / 419.4 MB, free: 12.51 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.986e-05/0.136, allocations: 27.44 kB / 419.5 MB, free: 12.48 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1361, allocations: 0 / 419.5 MB, free: 12.48 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0245/0.1606, allocations: 2.611 MB / 422.1 MB, free: 9.895 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004836/0.1611, allocations: 251.6 kB / 422.3 MB, free: 9.574 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.448/2.609, allocations: 4.062 kB / 422.3 MB, free: 9.57 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