Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002628/0.002633, allocations: 366 kB / 15.96 MB, free: 6.18 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.013/4.013, allocations: 388.9 MB / 405.6 MB, free: 48.53 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003469/0.003469, allocations: 228.7 kB / 451 MB, free: 3.008 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 1.043/1.043, allocations: 80.02 MB / 0.5627 GB, free: 5.953 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007577/0.000758, allocations: 12 kB / 0.6265 GB, free: 4.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1385, allocations: 54.89 MB / 0.6801 GB, free: 13.5 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002867/0.1414, allocations: 1.487 MB / 0.6816 GB, free: 12 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002401/0.1439, allocations: 0.9448 MB / 0.6825 GB, free: 11.05 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.1441, allocations: 4 kB / 0.6825 GB, free: 11.04 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006133/0.1447, allocations: 239.5 kB / 0.6827 GB, free: 10.81 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004078/0.1451, allocations: 155.6 kB / 0.6829 GB, free: 10.66 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004685/0.1456, allocations: 103.8 kB / 0.683 GB, free: 10.55 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003685/0.146, allocations: 207.3 kB / 0.6832 GB, free: 10.35 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.1461, allocations: 21.53 kB / 0.6832 GB, free: 10.33 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.1463, allocations: 103.6 kB / 0.6833 GB, free: 10.23 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002685/0.1466, allocations: 155.5 kB / 0.6834 GB, free: 10.07 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.972e-05/0.1467, allocations: 7.984 kB / 0.6834 GB, free: 10.07 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002473/0.1469, allocations: 63.94 kB / 0.6835 GB, free: 10 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.579e-05/0.147, allocations: 55.81 kB / 0.6836 GB, free: 9.949 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 7.762e-05/0.1471, allocations: 61.58 kB / 0.6836 GB, free: 9.883 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003666/0.1475, allocations: 183.9 kB / 0.6838 GB, free: 9.703 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.1475, allocations: 4 kB / 0.6838 GB, free: 9.699 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1475, allocations: 0 / 0.6838 GB, free: 9.699 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1476, allocations: 4 kB / 0.6838 GB, free: 9.695 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009641/0.1485, allocations: 0.6373 MB / 0.6844 GB, free: 8.984 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.1486, allocations: 8.031 kB / 0.6844 GB, free: 8.977 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.225e-05/0.1487, allocations: 31.62 kB / 0.6845 GB, free: 8.945 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004113/0.1491, allocations: 259.1 kB / 0.6847 GB, free: 8.652 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.623e-05/0.1492, allocations: 7.953 kB / 0.6847 GB, free: 8.645 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.351e-05/0.1492, allocations: 12 kB / 0.6847 GB, free: 8.633 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003313/0.1496, allocations: 103.3 kB / 0.6848 GB, free: 8.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.1496, allocations: 3.938 kB / 0.6848 GB, free: 8.516 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.1496, allocations: 7.984 kB / 0.6848 GB, free: 8.508 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.1496, allocations: 4 kB / 0.6848 GB, free: 8.504 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001948/0.1499, allocations: 35.97 kB / 0.6849 GB, free: 8.469 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007714/0.1506, allocations: 472.8 kB / 0.6853 GB, free: 7.953 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004373/0.1511, allocations: 121.3 kB / 0.6854 GB, free: 7.816 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.1513, allocations: 41.7 kB / 0.6855 GB, free: 7.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.927e-05/0.1514, allocations: 7.938 kB / 0.6855 GB, free: 7.762 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003582/0.1517, allocations: 109.1 kB / 0.6856 GB, free: 7.637 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 3.106e-06/0.1517, allocations: 4 kB / 0.6856 GB, free: 7.633 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001429/0.1532, allocations: 387.6 kB / 0.686 GB, free: 7.246 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.1533, allocations: 81.11 kB / 0.686 GB, free: 7.148 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007078/0.154, allocations: 476.4 kB / 0.6865 GB, free: 6.668 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/0.154, allocations: 33.7 kB / 0.6865 GB, free: 6.629 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.1542, allocations: 152.5 kB / 0.6867 GB, free: 6.473 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.888e-05/0.1543, allocations: 55.28 kB / 0.6867 GB, free: 6.418 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.64e-05/0.1543, allocations: 4 kB / 0.6867 GB, free: 6.414 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1545, allocations: 342.8 kB / 0.6871 GB, free: 6.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.1547, allocations: 60.16 kB / 0.6871 GB, free: 6.012 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.155, allocations: 99.77 kB / 0.6872 GB, free: 5.902 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003185/0.1553, allocations: 135.3 kB / 0.6873 GB, free: 5.758 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.654e-06/0.1554, allocations: 0 / 0.6873 GB, free: 5.758 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007684/0.1561, allocations: 296.6 kB / 0.6876 GB, free: 5.449 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.896e-05/0.1562, allocations: 71.3 kB / 0.6877 GB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.1562, allocations: 4.062 kB / 0.6877 GB, free: 5.363 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.1563, allocations: 7.984 kB / 0.6877 GB, free: 5.355 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/0.1566, allocations: 31.92 kB / 0.6877 GB, free: 5.324 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.93e-05/0.1566, allocations: 4 kB / 0.6877 GB, free: 5.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.1568, allocations: 19.92 kB / 0.6878 GB, free: 5.301 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/0.1568, allocations: 11.95 kB / 0.6878 GB, free: 5.289 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * 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.0002695/0.1571, allocations: 173.7 kB / 0.6879 GB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.528e-05/0.1572, allocations: 27.62 kB / 0.688 GB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.1573, allocations: 43.56 kB / 0.688 GB, free: 5.039 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.1573, allocations: 3.984 kB / 0.688 GB, free: 5.035 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.1573, allocations: 4 kB / 0.688 GB, free: 5.031 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.1575, allocations: 112.7 kB / 0.6881 GB, free: 4.902 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.387e-05/0.1576, allocations: 11.95 kB / 0.6881 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.1577, allocations: 4 kB / 0.6881 GB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.846e-05/0.1578, allocations: 19.98 kB / 0.6882 GB, free: 4.867 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006514/0.1584, allocations: 328.1 kB / 0.6885 GB, free: 4.539 MB / 394.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000649/0.1591, allocations: 437.9 kB / 0.6889 GB, free: 4.094 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002276/0.1593, allocations: 63.88 kB / 0.6889 GB, free: 4.031 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005313/0.1599, allocations: 351.2 kB / 0.6893 GB, free: 3.691 MB / 394.7 MB Notification: Performance of Backend: time 8.12e-07/0.1599, allocations: 0 / 0.6893 GB, free: 3.691 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002964/0.1629, allocations: 0.9177 MB / 0.6902 GB, free: 2.738 MB / 394.7 MB Notification: Performance of SimCode: time 0.001481/0.1644, allocations: 0.9444 MB / 0.6911 GB, free: 1.75 MB / 394.7 MB Notification: Performance of Templates: time 0.3184/0.4828, allocations: 3.002 MB / 0.694 GB, free: 80.27 MB / 394.7 MB "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y Variables in the result:d_t_new.u,d_t_new.y,d_t_new_2.u,d_t_new_2.y,t_new.columns[1],t_new.extrapolation,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_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.tableOnFileRead,t_new.table[1,1],t_new.table[1,2],t_new.table[10,1],t_new.table[10,2],t_new.table[11,1],t_new.table[11,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.timeScale,t_new.verboseRead,t_new.y[1],t_new_2.columns[1],t_new_2.extrapolation,t_new_2.nout,t_new_2.offset[1],t_new_2.p_offset[1],t_new_2.smoothness,t_new_2.startTime,t_new_2.t_max,t_new_2.t_maxScaled,t_new_2.t_min,t_new_2.t_minScaled,t_new_2.tableOnFile,t_new_2.tableOnFileRead,t_new_2.table[1,1],t_new_2.table[1,2],t_new_2.table[10,1],t_new_2.table[10,2],t_new_2.table[11,1],t_new_2.table[11,2],t_new_2.table[2,1],t_new_2.table[2,2],t_new_2.table[3,1],t_new_2.table[3,2],t_new_2.table[4,1],t_new_2.table[4,2],t_new_2.table[5,1],t_new_2.table[5,2],t_new_2.table[6,1],t_new_2.table[6,2],t_new_2.table[7,1],t_new_2.table[7,2],t_new_2.table[8,1],t_new_2.table[8,2],t_new_2.table[9,1],t_new_2.table[9,2],t_new_2.timeScale,t_new_2.verboseRead,t_new_2.y[1],time