Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,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.Test70") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002704/0.002709, allocations: 365.4 kB / 15.96 MB, free: 6.191 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 3.966/3.966, allocations: 388.9 MB / 405.6 MB, free: 9.668 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.003609/0.003609, allocations: 233.3 kB / 451 MB, free: 145 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.6377/0.6377, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004584/0.0004586, allocations: 12 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1012, allocations: 54.86 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.00213/0.1034, allocations: 1.437 MB / 0.6815 GB, free: 40.19 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.1052, allocations: 0.9331 MB / 0.6824 GB, free: 39.25 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.1054, allocations: 11.88 kB / 0.6824 GB, free: 39.23 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000532/0.1059, allocations: 291.4 kB / 0.6827 GB, free: 38.95 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003658/0.1063, allocations: 179.5 kB / 0.6829 GB, free: 38.77 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003465/0.1066, allocations: 103.7 kB / 0.683 GB, free: 38.67 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003212/0.107, allocations: 203.4 kB / 0.6832 GB, free: 38.47 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.36e-05/0.1071, allocations: 5.562 kB / 0.6832 GB, free: 38.47 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.1072, allocations: 111.6 kB / 0.6833 GB, free: 38.36 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/0.1075, allocations: 171.5 kB / 0.6834 GB, free: 38.19 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.51e-05/0.1075, allocations: 12 kB / 0.6835 GB, free: 38.18 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/0.1078, allocations: 51.98 kB / 0.6835 GB, free: 38.13 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.1079, allocations: 135.6 kB / 0.6836 GB, free: 38 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.896e-05/0.108, allocations: 77.45 kB / 0.6837 GB, free: 37.91 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003823/0.1084, allocations: 299.8 kB / 0.684 GB, free: 37.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1084, allocations: 0 / 0.684 GB, free: 37.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1084, allocations: 0 / 0.684 GB, free: 37.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1084, allocations: 4 kB / 0.684 GB, free: 37.62 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.000958/0.1094, allocations: 0.7923 MB / 0.6848 GB, free: 36.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.1095, allocations: 12.03 kB / 0.6848 GB, free: 36.74 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.894e-05/0.1096, allocations: 43.44 kB / 0.6848 GB, free: 36.7 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006334/0.1102, allocations: 419.1 kB / 0.6852 GB, free: 36.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.1102, allocations: 7.984 kB / 0.6852 GB, free: 36.24 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.1103, allocations: 8 kB / 0.6852 GB, free: 36.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.1105, allocations: 91.34 kB / 0.6853 GB, free: 36.13 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1106, allocations: 0 / 0.6853 GB, free: 36.13 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.1106, allocations: 0 / 0.6853 GB, free: 36.13 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.1106, allocations: 7.953 kB / 0.6853 GB, free: 36.12 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.1108, allocations: 31.92 kB / 0.6854 GB, free: 36.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.1112, allocations: 398.1 kB / 0.6857 GB, free: 35.65 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003756/0.1116, allocations: 109.2 kB / 0.6858 GB, free: 35.53 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.1118, allocations: 41.7 kB / 0.6859 GB, free: 35.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.1118, allocations: 4 kB / 0.6859 GB, free: 35.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003086/0.1121, allocations: 109 kB / 0.686 GB, free: 35.35 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 2.545e-06/0.1122, allocations: 4 kB / 0.686 GB, free: 35.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006672/0.1128, allocations: 197 kB / 0.6862 GB, free: 35.15 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.1129, allocations: 89 kB / 0.6863 GB, free: 35.04 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/0.1142, allocations: 1.018 MB / 0.6873 GB, free: 34.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.1142, allocations: 33.7 kB / 0.6873 GB, free: 33.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.1145, allocations: 240.3 kB / 0.6875 GB, free: 33.74 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.944e-05/0.1145, allocations: 39.56 kB / 0.6876 GB, free: 33.7 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.266e-05/0.1145, allocations: 4 kB / 0.6876 GB, free: 33.7 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1147, allocations: 370.8 kB / 0.6879 GB, free: 33.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.1148, allocations: 43.98 kB / 0.688 GB, free: 33.28 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.1151, allocations: 79.39 kB / 0.688 GB, free: 33.19 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.1153, allocations: 111.4 kB / 0.6881 GB, free: 33.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1153, allocations: 0 / 0.6881 GB, free: 33.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005988/0.1159, allocations: 276.4 kB / 0.6884 GB, free: 32.78 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.18e-05/0.116, allocations: 67.39 kB / 0.6885 GB, free: 32.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.116, allocations: 7.984 kB / 0.6885 GB, free: 32.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.1161, allocations: 0 / 0.6885 GB, free: 32.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.1162, allocations: 23.94 kB / 0.6885 GB, free: 32.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.1163, allocations: 0 / 0.6885 GB, free: 32.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.1165, allocations: 27.69 kB / 0.6885 GB, free: 32.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.1165, allocations: 12.62 kB / 0.6885 GB, free: 32.63 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.0002677/0.1168, allocations: 231.2 kB / 0.6888 GB, free: 32.4 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.53e-05/0.1169, allocations: 43.44 kB / 0.6888 GB, free: 32.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.382e-05/0.117, allocations: 56 kB / 0.6889 GB, free: 32.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.117, allocations: 0 / 0.6889 GB, free: 32.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.117, allocations: 4 kB / 0.6889 GB, free: 32.3 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001772/0.1172, allocations: 156.3 kB / 0.689 GB, free: 32.12 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.501e-05/0.1173, allocations: 11.95 kB / 0.689 GB, free: 32.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.1174, allocations: 7.984 kB / 0.689 GB, free: 32.11 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.1175, allocations: 11.98 kB / 0.689 GB, free: 32.09 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004606/0.118, allocations: 288.2 kB / 0.6893 GB, free: 31.8 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004678/0.1184, allocations: 433.2 kB / 0.6897 GB, free: 31.36 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001437/0.1186, allocations: 43.95 kB / 0.6898 GB, free: 31.32 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009918/0.1196, allocations: 0.7565 MB / 0.6905 GB, free: 30.57 MB / 346.7 MB Notification: Performance of Backend: time 9.92e-07/0.1196, allocations: 0 / 0.6905 GB, free: 30.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002737/0.1224, allocations: 0.9699 MB / 0.6915 GB, free: 29.79 MB / 346.7 MB Notification: Performance of SimCode: time 0.001748/0.1241, allocations: 1.267 MB / 0.6927 GB, free: 28.48 MB / 346.7 MB Notification: Performance of Templates: time 0.01163/0.1358, allocations: 3.94 MB / 0.6965 GB, free: 24.56 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