Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00388/0.00388, allocations: 364.3 kB / 15.96 MB, free: 6.203 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.057/4.057, allocations: 388.9 MB / 405.6 MB, free: 9.594 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.003663/0.003662, allocations: 223.8 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.5622/0.5622, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007819/0.000782, allocations: 16.95 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1356, allocations: 54.88 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003317/0.139, allocations: 1.487 MB / 0.6816 GB, free: 40.14 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002849/0.1419, allocations: 0.9486 MB / 0.6825 GB, free: 39.18 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001959/0.1421, allocations: 3.938 kB / 0.6825 GB, free: 39.18 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006379/0.1428, allocations: 211.6 kB / 0.6827 GB, free: 38.97 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004526/0.1433, allocations: 127.6 kB / 0.6828 GB, free: 38.84 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005555/0.1439, allocations: 111.7 kB / 0.6829 GB, free: 38.73 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003938/0.1443, allocations: 187.5 kB / 0.6831 GB, free: 38.55 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.1445, allocations: 21.55 kB / 0.6831 GB, free: 38.53 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002144/0.1447, allocations: 99.59 kB / 0.6832 GB, free: 38.43 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002733/0.145, allocations: 127.6 kB / 0.6833 GB, free: 38.31 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.201e-05/0.1451, allocations: 4 kB / 0.6833 GB, free: 38.3 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003113/0.1454, allocations: 55.98 kB / 0.6834 GB, free: 38.25 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.1455, allocations: 55.81 kB / 0.6835 GB, free: 38.2 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.557e-05/0.1456, allocations: 57.58 kB / 0.6835 GB, free: 38.13 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004229/0.146, allocations: 183.9 kB / 0.6837 GB, free: 37.95 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1461, allocations: 4 kB / 0.6837 GB, free: 37.95 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1461, allocations: 0 / 0.6837 GB, free: 37.95 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.1461, allocations: 0 / 0.6837 GB, free: 37.95 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009787/0.1471, allocations: 0.6179 MB / 0.6843 GB, free: 37.26 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/0.1472, allocations: 8.828 kB / 0.6843 GB, free: 37.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.995e-05/0.1473, allocations: 27.62 kB / 0.6843 GB, free: 37.22 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004387/0.1478, allocations: 263 kB / 0.6846 GB, free: 36.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.843e-05/0.1478, allocations: 4 kB / 0.6846 GB, free: 36.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.341e-05/0.1479, allocations: 16 kB / 0.6846 GB, free: 36.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004155/0.1484, allocations: 95.3 kB / 0.6847 GB, free: 36.8 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.1484, allocations: 4 kB / 0.6847 GB, free: 36.8 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/0.1485, allocations: 3.953 kB / 0.6847 GB, free: 36.8 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.1485, allocations: 0 / 0.6847 GB, free: 36.8 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002699/0.1488, allocations: 47.91 kB / 0.6847 GB, free: 36.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008735/0.1497, allocations: 468.9 kB / 0.6852 GB, free: 36.24 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005831/0.1503, allocations: 117.3 kB / 0.6853 GB, free: 36.11 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.1505, allocations: 41.7 kB / 0.6853 GB, free: 36.06 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.75e-05/0.1506, allocations: 7.953 kB / 0.6853 GB, free: 36.05 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004228/0.151, allocations: 113 kB / 0.6855 GB, free: 35.92 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 4.429e-06/0.151, allocations: 0 / 0.6855 GB, free: 35.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.001869/0.1529, allocations: 384.4 kB / 0.6858 GB, free: 35.54 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.153, allocations: 81.11 kB / 0.6859 GB, free: 35.44 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007432/0.1538, allocations: 416.5 kB / 0.6863 GB, free: 35.03 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.718e-05/0.1539, allocations: 33.69 kB / 0.6863 GB, free: 34.99 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.154, allocations: 148.5 kB / 0.6865 GB, free: 34.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.759e-05/0.1541, allocations: 47.3 kB / 0.6865 GB, free: 34.8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.983e-05/0.1542, allocations: 4 kB / 0.6865 GB, free: 34.79 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.1543, allocations: 346.7 kB / 0.6868 GB, free: 34.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/0.1546, allocations: 68.16 kB / 0.6869 GB, free: 34.38 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003109/0.155, allocations: 87.78 kB / 0.687 GB, free: 34.28 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003663/0.1553, allocations: 131.3 kB / 0.6871 GB, free: 34.14 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1554, allocations: 0 / 0.6871 GB, free: 34.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009706/0.1563, allocations: 299.4 kB / 0.6874 GB, free: 33.83 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.126e-05/0.1565, allocations: 71.39 kB / 0.6875 GB, free: 33.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.1565, allocations: 3.938 kB / 0.6875 GB, free: 33.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.76e-05/0.1565, allocations: 3.984 kB / 0.6875 GB, free: 33.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003366/0.1569, allocations: 36.11 kB / 0.6875 GB, free: 33.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.1569, allocations: 0 / 0.6875 GB, free: 33.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002701/0.1572, allocations: 16 kB / 0.6875 GB, free: 33.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.282e-05/0.1573, allocations: 8 kB / 0.6875 GB, free: 33.68 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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * 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.0002984/0.1576, allocations: 175.1 kB / 0.6877 GB, free: 33.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.692e-05/0.1577, allocations: 31.58 kB / 0.6877 GB, free: 33.47 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.1578, allocations: 30.61 kB / 0.6878 GB, free: 33.44 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.1578, allocations: 3.984 kB / 0.6878 GB, free: 33.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1579, allocations: 0 / 0.6878 GB, free: 33.44 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/0.158, allocations: 116.7 kB / 0.6879 GB, free: 33.3 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.198e-05/0.1581, allocations: 7.984 kB / 0.6879 GB, free: 33.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.1583, allocations: 8 kB / 0.6879 GB, free: 33.29 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.008e-05/0.1584, allocations: 7.984 kB / 0.6879 GB, free: 33.28 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007867/0.1592, allocations: 340 kB / 0.6882 GB, free: 32.94 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007634/0.16, allocations: 433.7 kB / 0.6886 GB, free: 32.5 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002487/0.1603, allocations: 55.97 kB / 0.6887 GB, free: 32.45 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000578/0.1609, allocations: 307 kB / 0.689 GB, free: 32.15 MB / 346.7 MB Notification: Performance of Backend: time 2.845e-06/0.1609, allocations: 0 / 0.689 GB, free: 32.15 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004147/0.1651, allocations: 0.9266 MB / 0.6899 GB, free: 31.41 MB / 346.7 MB Notification: Performance of SimCode: time 0.001545/0.1667, allocations: 0.9084 MB / 0.6908 GB, free: 30.45 MB / 346.7 MB Notification: Performance of Templates: time 0.01441/0.1811, allocations: 2.992 MB / 0.6937 GB, free: 27.48 MB / 346.7 MB "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y Variables in the result:d_t_new.u,d_t_new.y,d_t_new_2.u,d_t_new_2.y,t_new.columns[1],t_new.extrapolation,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],t_new_2.columns[1],t_new_2.extrapolation,t_new_2.nout,t_new_2.offset[1],t_new_2.p_offset[1],t_new_2.smoothness,t_new_2.startTime,t_new_2.t_max,t_new_2.t_maxScaled,t_new_2.t_min,t_new_2.t_minScaled,t_new_2.tableOnFile,t_new_2.tableOnFileRead,t_new_2.table[1,1],t_new_2.table[1,2],t_new_2.table[2,1],t_new_2.table[2,2],t_new_2.table[3,1],t_new_2.table[3,2],t_new_2.table[4,1],t_new_2.table[4,2],t_new_2.table[5,1],t_new_2.table[5,2],t_new_2.table[6,1],t_new_2.table[6,2],t_new_2.table[7,1],t_new_2.table[7,2],t_new_2.table[8,1],t_new_2.table[8,2],t_new_2.table[9,1],t_new_2.table[9,2],t_new_2.timeScale,t_new_2.verboseRead,t_new_2.y[1],time