Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.nextTimeEvent|startTime_0.y.1.|startTime.nextTimeEvent|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002722/0.002726, allocations: 367.1 kB / 15.97 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.086/4.086, allocations: 388.9 MB / 405.6 MB, free: 10.23 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.003846/0.003845, allocations: 230.8 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.583/0.583, allocations: 80.02 MB / 0.5627 GB, free: 19.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006445/0.0006447, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1394, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002791/0.1423, allocations: 1.429 MB / 0.6815 GB, free: 40.2 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002475/0.1448, allocations: 0.9447 MB / 0.6824 GB, free: 39.25 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.145, allocations: 0 / 0.6824 GB, free: 39.25 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006777/0.1457, allocations: 287.4 kB / 0.6827 GB, free: 38.97 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004569/0.1461, allocations: 167.6 kB / 0.6829 GB, free: 38.8 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004528/0.1466, allocations: 103.8 kB / 0.683 GB, free: 38.7 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003782/0.147, allocations: 207.4 kB / 0.6832 GB, free: 38.5 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.304e-05/0.1471, allocations: 13.55 kB / 0.6832 GB, free: 38.49 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.1474, allocations: 107.6 kB / 0.6833 GB, free: 38.38 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003076/0.1477, allocations: 163.5 kB / 0.6834 GB, free: 38.22 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.352e-05/0.1477, allocations: 4 kB / 0.6834 GB, free: 38.22 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002842/0.148, allocations: 59.98 kB / 0.6835 GB, free: 38.16 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.1482, allocations: 131.6 kB / 0.6836 GB, free: 38.03 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.1484, allocations: 81.44 kB / 0.6837 GB, free: 37.95 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005568/0.1489, allocations: 295.8 kB / 0.684 GB, free: 37.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.149, allocations: 0 / 0.684 GB, free: 37.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.149, allocations: 4 kB / 0.684 GB, free: 37.65 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.149, allocations: 0 / 0.684 GB, free: 37.65 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001301/0.1503, allocations: 0.7769 MB / 0.6847 GB, free: 36.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.1504, allocations: 8.031 kB / 0.6847 GB, free: 36.79 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.1505, allocations: 47.34 kB / 0.6848 GB, free: 36.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008908/0.1514, allocations: 407.2 kB / 0.6852 GB, free: 36.31 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.471e-05/0.1515, allocations: 11.98 kB / 0.6852 GB, free: 36.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.406e-05/0.1515, allocations: 4 kB / 0.6852 GB, free: 36.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003329/0.1519, allocations: 91.36 kB / 0.6853 GB, free: 36.2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1519, allocations: 3.984 kB / 0.6853 GB, free: 36.19 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.152, allocations: 0 / 0.6853 GB, free: 36.19 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.152, allocations: 3.953 kB / 0.6853 GB, free: 36.19 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/0.1522, allocations: 31.92 kB / 0.6853 GB, free: 36.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006505/0.1529, allocations: 382.3 kB / 0.6857 GB, free: 35.73 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005055/0.1534, allocations: 113.2 kB / 0.6858 GB, free: 35.6 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.1536, allocations: 41.69 kB / 0.6858 GB, free: 35.55 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.1536, allocations: 3.984 kB / 0.6858 GB, free: 35.55 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003935/0.1541, allocations: 113.1 kB / 0.6859 GB, free: 35.42 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 2.815e-06/0.1541, allocations: 3.938 kB / 0.6859 GB, free: 35.42 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.000899/0.155, allocations: 201 kB / 0.6861 GB, free: 35.21 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.155, allocations: 92.92 kB / 0.6862 GB, free: 35.11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001927/0.157, allocations: 0.9988 MB / 0.6872 GB, free: 34.1 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.696e-05/0.1571, allocations: 33.7 kB / 0.6872 GB, free: 34.06 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003026/0.1574, allocations: 236.3 kB / 0.6875 GB, free: 33.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.048e-05/0.1575, allocations: 27.64 kB / 0.6875 GB, free: 33.8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.777e-05/0.1575, allocations: 0 / 0.6875 GB, free: 33.8 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1577, allocations: 370.8 kB / 0.6878 GB, free: 33.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/0.158, allocations: 43.97 kB / 0.6879 GB, free: 33.38 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/0.1583, allocations: 87 kB / 0.688 GB, free: 33.29 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.1586, allocations: 111.4 kB / 0.6881 GB, free: 33.17 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.1586, allocations: 0 / 0.6881 GB, free: 33.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00087/0.1595, allocations: 276.4 kB / 0.6883 GB, free: 32.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.707e-05/0.1596, allocations: 67.39 kB / 0.6884 GB, free: 32.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.1596, allocations: 4 kB / 0.6884 GB, free: 32.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.1597, allocations: 64 / 0.6884 GB, free: 32.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.1599, allocations: 31.92 kB / 0.6884 GB, free: 32.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.16, allocations: 0 / 0.6884 GB, free: 32.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.1602, allocations: 27.7 kB / 0.6885 GB, free: 32.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.1603, allocations: 8 kB / 0.6885 GB, free: 32.73 MB / 346.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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * 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.0003923/0.1607, allocations: 223.1 kB / 0.6887 GB, free: 32.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.1608, allocations: 47.38 kB / 0.6887 GB, free: 32.46 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.161, allocations: 55.77 kB / 0.6888 GB, free: 32.4 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.161, allocations: 4 kB / 0.6888 GB, free: 32.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.161, allocations: 4 kB / 0.6888 GB, free: 32.39 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002522/0.1613, allocations: 148.4 kB / 0.6889 GB, free: 32.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.1614, allocations: 8.578 kB / 0.6889 GB, free: 32.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.1616, allocations: 7.984 kB / 0.6889 GB, free: 32.21 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.498e-05/0.1617, allocations: 7.984 kB / 0.6889 GB, free: 32.21 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000625/0.1623, allocations: 304.1 kB / 0.6892 GB, free: 31.9 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006436/0.163, allocations: 417.4 kB / 0.6896 GB, free: 31.48 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001929/0.1632, allocations: 39.97 kB / 0.6897 GB, free: 31.44 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001103/0.1643, allocations: 0.7331 MB / 0.6904 GB, free: 30.71 MB / 346.7 MB Notification: Performance of Backend: time 1.182e-06/0.1643, allocations: 0 / 0.6904 GB, free: 30.71 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002977/0.1673, allocations: 0.9804 MB / 0.6913 GB, free: 29.9 MB / 346.7 MB Notification: Performance of SimCode: time 0.00178/0.1691, allocations: 1.244 MB / 0.6926 GB, free: 28.61 MB / 346.7 MB Notification: Performance of Templates: time 0.01353/0.1827, allocations: 3.898 MB / 0.6964 GB, free: 24.74 MB / 346.7 MB "" Variables in the reference:time,startTime_0.nextTimeEvent,startTime_0.y[1],startTime.nextTimeEvent,startTime.y[1] Variables in the result:startTime.columns[1],startTime.extrapolation,startTime.nextTimeEvent,startTime.nout,startTime.offset[1],startTime.p_offset[1],startTime.smoothness,startTime.startTime,startTime.t_max,startTime.t_maxScaled,startTime.t_min,startTime.t_minScaled,startTime.tableOnFile,startTime.tableOnFileRead,startTime.table[1,1],startTime.table[1,2],startTime.table[10,1],startTime.table[10,2],startTime.table[11,1],startTime.table[11,2],startTime.table[12,1],startTime.table[12,2],startTime.table[13,1],startTime.table[13,2],startTime.table[14,1],startTime.table[14,2],startTime.table[15,1],startTime.table[15,2],startTime.table[16,1],startTime.table[16,2],startTime.table[17,1],startTime.table[17,2],startTime.table[18,1],startTime.table[18,2],startTime.table[19,1],startTime.table[19,2],startTime.table[2,1],startTime.table[2,2],startTime.table[20,1],startTime.table[20,2],startTime.table[21,1],startTime.table[21,2],startTime.table[22,1],startTime.table[22,2],startTime.table[23,1],startTime.table[23,2],startTime.table[24,1],startTime.table[24,2],startTime.table[25,1],startTime.table[25,2],startTime.table[26,1],startTime.table[26,2],startTime.table[27,1],startTime.table[27,2],startTime.table[28,1],startTime.table[28,2],startTime.table[3,1],startTime.table[3,2],startTime.table[4,1],startTime.table[4,2],startTime.table[5,1],startTime.table[5,2],startTime.table[6,1],startTime.table[6,2],startTime.table[7,1],startTime.table[7,2],startTime.table[8,1],startTime.table[8,2],startTime.table[9,1],startTime.table[9,2],startTime.timeScale,startTime.verboseRead,startTime.y[1],startTime_0.columns[1],startTime_0.extrapolation,startTime_0.nextTimeEvent,startTime_0.nout,startTime_0.offset[1],startTime_0.p_offset[1],startTime_0.smoothness,startTime_0.startTime,startTime_0.t_max,startTime_0.t_maxScaled,startTime_0.t_min,startTime_0.t_minScaled,startTime_0.tableOnFile,startTime_0.tableOnFileRead,startTime_0.table[1,1],startTime_0.table[1,2],startTime_0.table[10,1],startTime_0.table[10,2],startTime_0.table[11,1],startTime_0.table[11,2],startTime_0.table[12,1],startTime_0.table[12,2],startTime_0.table[13,1],startTime_0.table[13,2],startTime_0.table[14,1],startTime_0.table[14,2],startTime_0.table[15,1],startTime_0.table[15,2],startTime_0.table[16,1],startTime_0.table[16,2],startTime_0.table[17,1],startTime_0.table[17,2],startTime_0.table[18,1],startTime_0.table[18,2],startTime_0.table[19,1],startTime_0.table[19,2],startTime_0.table[2,1],startTime_0.table[2,2],startTime_0.table[20,1],startTime_0.table[20,2],startTime_0.table[21,1],startTime_0.table[21,2],startTime_0.table[22,1],startTime_0.table[22,2],startTime_0.table[23,1],startTime_0.table[23,2],startTime_0.table[24,1],startTime_0.table[24,2],startTime_0.table[25,1],startTime_0.table[25,2],startTime_0.table[26,1],startTime_0.table[26,2],startTime_0.table[27,1],startTime_0.table[27,2],startTime_0.table[28,1],startTime_0.table[28,2],startTime_0.table[3,1],startTime_0.table[3,2],startTime_0.table[4,1],startTime_0.table[4,2],startTime_0.table[5,1],startTime_0.table[5,2],startTime_0.table[6,1],startTime_0.table[6,2],startTime_0.table[7,1],startTime_0.table[7,2],startTime_0.table[8,1],startTime_0.table[8,2],startTime_0.table[9,1],startTime_0.table[9,2],startTime_0.timeScale,startTime_0.verboseRead,startTime_0.y[1],time