Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,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.Test71") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00399/0.003994, allocations: 370.3 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.36/4.36, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.003608/0.003608, allocations: 237.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.5227/0.5227, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007415/0.0007422, allocations: 15.75 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1091, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002232/0.1114, allocations: 1.429 MB / 0.6815 GB, free: 40.21 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.1134, allocations: 0.937 MB / 0.6824 GB, free: 39.27 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.1136, allocations: 3.938 kB / 0.6824 GB, free: 39.27 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006285/0.1142, allocations: 291.4 kB / 0.6827 GB, free: 38.98 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004183/0.1147, allocations: 183.5 kB / 0.6829 GB, free: 38.8 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000482/0.1152, allocations: 99.78 kB / 0.683 GB, free: 38.7 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003373/0.1155, allocations: 207.4 kB / 0.6832 GB, free: 38.5 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.912e-05/0.1156, allocations: 5.562 kB / 0.6832 GB, free: 38.5 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.1158, allocations: 111.6 kB / 0.6833 GB, free: 38.39 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002559/0.1161, allocations: 163.6 kB / 0.6834 GB, free: 38.23 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.763e-05/0.1161, allocations: 8 kB / 0.6834 GB, free: 38.22 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003022/0.1165, allocations: 55.98 kB / 0.6835 GB, free: 38.16 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001938/0.1167, allocations: 143.5 kB / 0.6836 GB, free: 38.02 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.1168, allocations: 81.44 kB / 0.6837 GB, free: 37.94 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005543/0.1174, allocations: 303.8 kB / 0.684 GB, free: 37.64 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1174, allocations: 0 / 0.684 GB, free: 37.64 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.1174, allocations: 4 kB / 0.684 GB, free: 37.64 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1174, allocations: 0 / 0.684 GB, free: 37.64 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.001371/0.1188, allocations: 0.7996 MB / 0.6848 GB, free: 36.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/0.1189, allocations: 8.031 kB / 0.6848 GB, free: 36.76 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.119, allocations: 43.44 kB / 0.6848 GB, free: 36.71 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009791/0.12, allocations: 411.2 kB / 0.6852 GB, free: 36.28 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.922e-05/0.1201, allocations: 8 kB / 0.6852 GB, free: 36.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.1202, allocations: 4 kB / 0.6852 GB, free: 36.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003445/0.1205, allocations: 91.34 kB / 0.6853 GB, free: 36.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1206, allocations: 3.938 kB / 0.6853 GB, free: 36.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.1206, allocations: 4 kB / 0.6853 GB, free: 36.16 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.1206, allocations: 3.953 kB / 0.6853 GB, free: 36.15 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002124/0.1208, allocations: 27.97 kB / 0.6854 GB, free: 36.12 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006699/0.1215, allocations: 398.2 kB / 0.6857 GB, free: 35.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000485/0.122, allocations: 105.2 kB / 0.6858 GB, free: 35.56 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.1222, allocations: 45.69 kB / 0.6859 GB, free: 35.51 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.1223, allocations: 4 kB / 0.6859 GB, free: 35.51 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003862/0.1227, allocations: 109 kB / 0.686 GB, free: 35.38 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 3.937e-06/0.1227, allocations: 0 / 0.686 GB, free: 35.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009271/0.1236, allocations: 196.9 kB / 0.6862 GB, free: 35.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.1237, allocations: 97.05 kB / 0.6863 GB, free: 35.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001847/0.1256, allocations: 1.018 MB / 0.6873 GB, free: 34.04 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.89e-05/0.1257, allocations: 33.64 kB / 0.6873 GB, free: 34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000282/0.126, allocations: 240.3 kB / 0.6875 GB, free: 33.77 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.89e-05/0.126, allocations: 39.56 kB / 0.6876 GB, free: 33.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.72e-05/0.1261, allocations: 4 kB / 0.6876 GB, free: 33.72 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1262, allocations: 366.8 kB / 0.6879 GB, free: 33.36 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/0.1265, allocations: 47.97 kB / 0.688 GB, free: 33.31 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.1268, allocations: 83.06 kB / 0.688 GB, free: 33.22 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003394/0.1271, allocations: 115.3 kB / 0.6882 GB, free: 33.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.1272, allocations: 0 / 0.6882 GB, free: 33.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008795/0.1281, allocations: 276.4 kB / 0.6884 GB, free: 32.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.302e-05/0.1282, allocations: 63.39 kB / 0.6885 GB, free: 32.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.1282, allocations: 8.062 kB / 0.6885 GB, free: 32.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.1282, allocations: 0 / 0.6885 GB, free: 32.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002621/0.1285, allocations: 28.61 kB / 0.6885 GB, free: 32.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.1285, allocations: 0 / 0.6885 GB, free: 32.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/0.1288, allocations: 23.7 kB / 0.6885 GB, free: 32.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/0.1289, allocations: 8 kB / 0.6885 GB, free: 32.66 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.0004137/0.1293, allocations: 231.1 kB / 0.6888 GB, free: 32.43 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.1294, allocations: 43.44 kB / 0.6888 GB, free: 32.39 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/0.1296, allocations: 64 kB / 0.6889 GB, free: 32.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.1296, allocations: 3.938 kB / 0.6889 GB, free: 32.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.1296, allocations: 4 kB / 0.6889 GB, free: 32.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002723/0.1299, allocations: 156.3 kB / 0.689 GB, free: 32.14 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.13, allocations: 3.953 kB / 0.689 GB, free: 32.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.1303, allocations: 11.98 kB / 0.689 GB, free: 32.13 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.216e-05/0.1304, allocations: 7.984 kB / 0.689 GB, free: 32.12 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006914/0.1311, allocations: 296.1 kB / 0.6893 GB, free: 31.82 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007225/0.1318, allocations: 425.3 kB / 0.6897 GB, free: 31.39 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002113/0.1321, allocations: 35.98 kB / 0.6898 GB, free: 31.36 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00157/0.1337, allocations: 0.7604 MB / 0.6905 GB, free: 30.6 MB / 346.7 MB Notification: Performance of Backend: time 1.683e-06/0.1337, allocations: 4 kB / 0.6905 GB, free: 30.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004212/0.1379, allocations: 0.9714 MB / 0.6915 GB, free: 29.81 MB / 346.7 MB Notification: Performance of SimCode: time 0.002355/0.1404, allocations: 1.267 MB / 0.6927 GB, free: 28.5 MB / 346.7 MB Notification: Performance of Templates: time 0.01636/0.1568, allocations: 3.941 MB / 0.6966 GB, free: 24.58 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[29,1],startTime.table[29,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[29,1],startTime_0.table[29,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