Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002683/0.002687, allocations: 364.4 kB / 15.96 MB, free: 6.199 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.328/4.328, allocations: 388.9 MB / 405.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.005024/0.005023, allocations: 222.2 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5713/0.5713, allocations: 80.03 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004975/0.0004976, allocations: 19.44 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1456, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002843/0.1485, allocations: 1.363 MB / 0.6814 GB, free: 40.28 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.1506, allocations: 0.7151 MB / 0.6821 GB, free: 39.56 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.937e-05/0.1508, allocations: 0 / 0.6821 GB, free: 39.56 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003747/0.1512, allocations: 47.86 kB / 0.6822 GB, free: 39.51 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002572/0.1514, allocations: 47.81 kB / 0.6822 GB, free: 39.46 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.1518, allocations: 47.89 kB / 0.6823 GB, free: 39.42 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.152, allocations: 87.7 kB / 0.6824 GB, free: 39.33 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.1521, allocations: 15.92 kB / 0.6824 GB, free: 39.32 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.1522, allocations: 39.84 kB / 0.6824 GB, free: 39.28 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.1524, allocations: 31.84 kB / 0.6824 GB, free: 39.25 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.1524, allocations: 4 kB / 0.6824 GB, free: 39.24 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.1526, allocations: 36 kB / 0.6825 GB, free: 39.21 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.614e-05/0.1527, allocations: 31.89 kB / 0.6825 GB, free: 39.18 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.821e-05/0.1528, allocations: 37.64 kB / 0.6825 GB, free: 39.13 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.153, allocations: 100 kB / 0.6826 GB, free: 39.04 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.153, allocations: 0 / 0.6826 GB, free: 39.04 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1531, allocations: 0 / 0.6826 GB, free: 39.04 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.1531, allocations: 0 / 0.6826 GB, free: 39.04 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006635/0.1538, allocations: 478 kB / 0.6831 GB, free: 38.51 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.1538, allocations: 12.83 kB / 0.6831 GB, free: 38.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.642e-05/0.1539, allocations: 15.81 kB / 0.6831 GB, free: 38.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.1542, allocations: 203.5 kB / 0.6833 GB, free: 38.24 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.1543, allocations: 4 kB / 0.6833 GB, free: 38.24 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.1543, allocations: 4 kB / 0.6833 GB, free: 38.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.1546, allocations: 53.67 kB / 0.6834 GB, free: 38.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.1546, allocations: 0 / 0.6834 GB, free: 38.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.1546, allocations: 0 / 0.6834 GB, free: 38.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.1546, allocations: 7.891 kB / 0.6834 GB, free: 38.17 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.1548, allocations: 23.92 kB / 0.6834 GB, free: 38.14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005227/0.1553, allocations: 316.8 kB / 0.6837 GB, free: 37.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002975/0.1557, allocations: 54.69 kB / 0.6838 GB, free: 37.72 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.1558, allocations: 24.84 kB / 0.6838 GB, free: 37.7 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.1558, allocations: 0 / 0.6838 GB, free: 37.7 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002654/0.1561, allocations: 75.28 kB / 0.6839 GB, free: 37.61 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 3.246e-06/0.1561, allocations: 0 / 0.6839 GB, free: 37.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009521/0.1571, allocations: 185.1 kB / 0.684 GB, free: 37.42 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.1572, allocations: 51.41 kB / 0.6841 GB, free: 37.36 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003778/0.1575, allocations: 252.7 kB / 0.6843 GB, free: 37.1 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.1576, allocations: 25.7 kB / 0.6843 GB, free: 37.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.595e-05/0.1577, allocations: 116 kB / 0.6845 GB, free: 36.95 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.1578, allocations: 31.64 kB / 0.6845 GB, free: 36.92 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.266e-05/0.1578, allocations: 4 kB / 0.6845 GB, free: 36.92 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.682e-05/0.1579, allocations: 322.8 kB / 0.6848 GB, free: 36.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.158, allocations: 31.98 kB / 0.6848 GB, free: 36.56 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.1582, allocations: 45.64 kB / 0.6849 GB, free: 36.51 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.1584, allocations: 65.69 kB / 0.6849 GB, free: 36.44 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1585, allocations: 0 / 0.6849 GB, free: 36.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000493/0.159, allocations: 171.1 kB / 0.6851 GB, free: 36.26 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.031e-05/0.159, allocations: 37.75 kB / 0.6851 GB, free: 36.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.1591, allocations: 7.938 kB / 0.6851 GB, free: 36.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.1591, allocations: 0 / 0.6851 GB, free: 36.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.1593, allocations: 15.98 kB / 0.6852 GB, free: 36.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.1593, allocations: 0 / 0.6852 GB, free: 36.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.1595, allocations: 4 kB / 0.6852 GB, free: 36.19 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.1595, allocations: 7.938 kB / 0.6852 GB, free: 36.18 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001668/0.1597, allocations: 141.9 kB / 0.6853 GB, free: 36.04 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.1598, allocations: 11.81 kB / 0.6853 GB, free: 36.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.537e-05/0.1598, allocations: 29.72 kB / 0.6853 GB, free: 36 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.1599, allocations: 3.984 kB / 0.6853 GB, free: 36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.1599, allocations: 0 / 0.6853 GB, free: 36 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.922e-05/0.16, allocations: 96.84 kB / 0.6854 GB, free: 35.88 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.837e-05/0.1601, allocations: 12 kB / 0.6855 GB, free: 35.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.254e-05/0.1602, allocations: 3.984 kB / 0.6855 GB, free: 35.87 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.1602, allocations: 4 kB / 0.6855 GB, free: 35.86 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004068/0.1607, allocations: 188.9 kB / 0.6856 GB, free: 35.67 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004291/0.1611, allocations: 278.6 kB / 0.6859 GB, free: 35.38 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001351/0.1613, allocations: 23.98 kB / 0.6859 GB, free: 35.36 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002765/0.1616, allocations: 190 kB / 0.6861 GB, free: 35.18 MB / 346.7 MB Notification: Performance of Backend: time 1.413e-06/0.1616, allocations: 0 / 0.6861 GB, free: 35.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002635/0.1642, allocations: 0.5491 MB / 0.6866 GB, free: 34.77 MB / 346.7 MB Notification: Performance of SimCode: time 0.0009378/0.1652, allocations: 0.7217 MB / 0.6874 GB, free: 34 MB / 346.7 MB Notification: Performance of Templates: time 0.008082/0.1733, allocations: 1.653 MB / 0.689 GB, free: 32.36 MB / 346.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,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_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[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],time