Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,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.Test72") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002758/0.002758, allocations: 371.7 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.418/4.418, allocations: 388.9 MB / 405.6 MB, free: 9.562 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.003533/0.003533, allocations: 235.7 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.6062/0.6062, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004932/0.0004934, allocations: 19.98 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1169, allocations: 54.88 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002712/0.1197, allocations: 1.425 MB / 0.6815 GB, free: 40.2 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002464/0.1222, allocations: 0.9408 MB / 0.6824 GB, free: 39.25 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.1223, allocations: 4 kB / 0.6824 GB, free: 39.25 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006833/0.123, allocations: 287.4 kB / 0.6827 GB, free: 38.96 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004581/0.1235, allocations: 183.6 kB / 0.6829 GB, free: 38.79 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.124, allocations: 99.77 kB / 0.683 GB, free: 38.69 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003633/0.1243, allocations: 207.4 kB / 0.6832 GB, free: 38.48 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.391e-05/0.1244, allocations: 13.55 kB / 0.6832 GB, free: 38.47 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002238/0.1247, allocations: 111.6 kB / 0.6833 GB, free: 38.36 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003029/0.125, allocations: 159.6 kB / 0.6834 GB, free: 38.21 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.496e-05/0.1251, allocations: 4 kB / 0.6834 GB, free: 38.2 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000218/0.1253, allocations: 63.91 kB / 0.6835 GB, free: 38.14 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.1255, allocations: 135.6 kB / 0.6836 GB, free: 38.01 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.94e-05/0.1255, allocations: 81.45 kB / 0.6837 GB, free: 37.92 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003926/0.126, allocations: 303.8 kB / 0.684 GB, free: 37.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.126, allocations: 0 / 0.684 GB, free: 37.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.126, allocations: 0 / 0.684 GB, free: 37.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.126, allocations: 0 / 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.0009856/0.127, allocations: 0.7962 MB / 0.6848 GB, free: 36.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.1271, allocations: 8.562 kB / 0.6848 GB, free: 36.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.156e-05/0.1272, allocations: 47.44 kB / 0.6848 GB, free: 36.7 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006311/0.1278, allocations: 415.2 kB / 0.6852 GB, free: 36.26 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.1278, allocations: 0 / 0.6852 GB, free: 36.26 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.1279, allocations: 8 kB / 0.6852 GB, free: 36.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.1281, allocations: 83.36 kB / 0.6853 GB, free: 36.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1282, allocations: 3.938 kB / 0.6853 GB, free: 36.15 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.1282, allocations: 0 / 0.6853 GB, free: 36.15 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.1282, allocations: 7.953 kB / 0.6853 GB, free: 36.14 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.1284, allocations: 31.97 kB / 0.6854 GB, free: 36.11 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005015/0.1289, allocations: 398.2 kB / 0.6857 GB, free: 35.67 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003895/0.1293, allocations: 109.2 kB / 0.6858 GB, free: 35.55 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.1295, allocations: 41.7 kB / 0.6859 GB, free: 35.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.1295, allocations: 0 / 0.6859 GB, free: 35.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003111/0.1298, allocations: 116.9 kB / 0.686 GB, free: 35.37 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.923e-06/0.1298, allocations: 0 / 0.686 GB, free: 35.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006869/0.1305, allocations: 201.4 kB / 0.6862 GB, free: 35.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.1306, allocations: 85.06 kB / 0.6863 GB, free: 35.06 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/0.1319, allocations: 1.03 MB / 0.6873 GB, free: 34.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.132, allocations: 25.7 kB / 0.6873 GB, free: 33.99 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.1322, allocations: 248.2 kB / 0.6875 GB, free: 33.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.854e-05/0.1322, allocations: 27.64 kB / 0.6876 GB, free: 33.72 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.319e-05/0.1323, allocations: 4 kB / 0.6876 GB, free: 33.71 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.1324, allocations: 366.8 kB / 0.6879 GB, free: 33.35 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.1326, allocations: 51.97 kB / 0.688 GB, free: 33.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.1328, allocations: 71.41 kB / 0.688 GB, free: 33.21 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.133, allocations: 115.3 kB / 0.6881 GB, free: 33.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.133, allocations: 0 / 0.6881 GB, free: 33.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005911/0.1336, allocations: 276.4 kB / 0.6884 GB, free: 32.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.618e-05/0.1337, allocations: 75.39 kB / 0.6885 GB, free: 32.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.1337, allocations: 192 / 0.6885 GB, free: 32.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.1338, allocations: 3.984 kB / 0.6885 GB, free: 32.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.134, allocations: 31.92 kB / 0.6885 GB, free: 32.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.134, allocations: 0 / 0.6885 GB, free: 32.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.1342, allocations: 31.7 kB / 0.6885 GB, free: 32.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.1342, allocations: 4 kB / 0.6885 GB, free: 32.64 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.00027/0.1345, allocations: 230.3 kB / 0.6888 GB, free: 32.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.506e-05/0.1346, allocations: 47.44 kB / 0.6888 GB, free: 32.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.552e-05/0.1347, allocations: 60 kB / 0.6889 GB, free: 32.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1347, allocations: 0 / 0.6889 GB, free: 32.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1347, allocations: 0 / 0.6889 GB, free: 32.3 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001807/0.1349, allocations: 152.4 kB / 0.689 GB, free: 32.14 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.282e-05/0.135, allocations: 11.94 kB / 0.689 GB, free: 32.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.1351, allocations: 4 kB / 0.689 GB, free: 32.12 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/0.1352, allocations: 11.98 kB / 0.689 GB, free: 32.11 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000456/0.1357, allocations: 292.1 kB / 0.6893 GB, free: 31.82 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004683/0.1361, allocations: 425.3 kB / 0.6897 GB, free: 31.38 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000146/0.1363, allocations: 39.97 kB / 0.6898 GB, free: 31.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001015/0.1373, allocations: 0.7604 MB / 0.6905 GB, free: 30.59 MB / 346.7 MB Notification: Performance of Backend: time 9.11e-07/0.1373, allocations: 0 / 0.6905 GB, free: 30.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002849/0.1402, allocations: 0.9767 MB / 0.6915 GB, free: 29.8 MB / 346.7 MB Notification: Performance of SimCode: time 0.001896/0.1421, allocations: 1.263 MB / 0.6927 GB, free: 28.49 MB / 346.7 MB Notification: Performance of Templates: time 0.01174/0.1539, allocations: 3.949 MB / 0.6966 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