Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004132/0.004132, allocations: 368.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.213/4.213, allocations: 388.9 MB / 405.6 MB, free: 48.56 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003519/0.003519, allocations: 228.8 kB / 451 MB, free: 3.031 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.9117/0.9117, allocations: 80.01 MB / 0.5627 GB, free: 6.27 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000481/0.0004811, allocations: 16 kB / 0.6265 GB, free: 4.832 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1289, allocations: 54.88 MB / 0.6801 GB, free: 13.81 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.004152/0.1331, allocations: 1.315 MB / 0.6814 GB, free: 12.48 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.135, allocations: 0.7072 MB / 0.6821 GB, free: 11.77 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.745e-05/0.1351, allocations: 4 kB / 0.6821 GB, free: 11.77 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003197/0.1355, allocations: 39.86 kB / 0.6821 GB, free: 11.73 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000211/0.1357, allocations: 43.83 kB / 0.6822 GB, free: 11.68 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.1359, allocations: 47.89 kB / 0.6822 GB, free: 11.64 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.1361, allocations: 83.75 kB / 0.6823 GB, free: 11.55 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.062e-05/0.1362, allocations: 7.984 kB / 0.6823 GB, free: 11.55 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.1363, allocations: 35.8 kB / 0.6823 GB, free: 11.51 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.1364, allocations: 31.91 kB / 0.6824 GB, free: 11.48 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.1365, allocations: 0 / 0.6824 GB, free: 11.48 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.1366, allocations: 35.92 kB / 0.6824 GB, free: 11.45 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.692e-05/0.1367, allocations: 23.91 kB / 0.6824 GB, free: 11.42 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.1e-05/0.1367, allocations: 45.64 kB / 0.6825 GB, free: 11.37 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.137, allocations: 84.11 kB / 0.6826 GB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.137, allocations: 0 / 0.6826 GB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.148e-06/0.137, allocations: 0 / 0.6826 GB, free: 11.29 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.137, allocations: 3.938 kB / 0.6826 GB, free: 11.29 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007131/0.1377, allocations: 470 kB / 0.683 GB, free: 10.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.1378, allocations: 8.031 kB / 0.683 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.418e-05/0.1379, allocations: 7.906 kB / 0.683 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.1382, allocations: 198.8 kB / 0.6832 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.595e-05/0.1382, allocations: 15.94 kB / 0.6832 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.1382, allocations: 4 kB / 0.6832 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.1385, allocations: 53.56 kB / 0.6833 GB, free: 10.44 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1385, allocations: 0 / 0.6833 GB, free: 10.44 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.1385, allocations: 3.984 kB / 0.6833 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.1385, allocations: 4 kB / 0.6833 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.91e-05/0.1386, allocations: 12 kB / 0.6833 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002741/0.1389, allocations: 197.7 kB / 0.6835 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002462/0.1392, allocations: 54.61 kB / 0.6835 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.926e-05/0.1393, allocations: 24.8 kB / 0.6836 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.1393, allocations: 0 / 0.6836 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002486/0.1396, allocations: 71.33 kB / 0.6836 GB, free: 10 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 2.474e-06/0.1396, allocations: 4 kB / 0.6836 GB, free: 10 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004162/0.14, allocations: 101.5 kB / 0.6837 GB, free: 9.895 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.1401, allocations: 51.41 kB / 0.6838 GB, free: 9.832 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003781/0.1405, allocations: 258.3 kB / 0.684 GB, free: 9.562 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.1405, allocations: 29.7 kB / 0.6841 GB, free: 9.527 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.022e-05/0.1406, allocations: 116 kB / 0.6842 GB, free: 9.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.1407, allocations: 19.73 kB / 0.6842 GB, free: 9.391 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.034e-05/0.1407, allocations: 4 kB / 0.6842 GB, free: 9.387 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1408, allocations: 326.8 kB / 0.6845 GB, free: 9.059 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.141, allocations: 31.92 kB / 0.6845 GB, free: 9.027 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.1411, allocations: 37.7 kB / 0.6846 GB, free: 8.984 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.1412, allocations: 53.7 kB / 0.6846 GB, free: 8.926 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1413, allocations: 0 / 0.6846 GB, free: 8.926 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003895/0.1417, allocations: 135.2 kB / 0.6848 GB, free: 8.781 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.93e-05/0.1417, allocations: 45.59 kB / 0.6848 GB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1418, allocations: 0 / 0.6848 GB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.1418, allocations: 8.031 kB / 0.6848 GB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.1419, allocations: 8 kB / 0.6848 GB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.1419, allocations: 0 / 0.6848 GB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.462e-05/0.142, allocations: 7.906 kB / 0.6848 GB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.1421, allocations: 7.984 kB / 0.6848 GB, free: 8.699 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001665/0.1423, allocations: 141.7 kB / 0.685 GB, free: 8.551 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.828e-05/0.1423, allocations: 19.77 kB / 0.685 GB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.869e-05/0.1424, allocations: 13 kB / 0.685 GB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1424, allocations: 0 / 0.685 GB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1424, allocations: 4 kB / 0.685 GB, free: 8.512 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.779e-05/0.1425, allocations: 100.8 kB / 0.6851 GB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/0.1426, allocations: 4 kB / 0.6851 GB, free: 8.391 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.642e-05/0.1426, allocations: 7.984 kB / 0.6851 GB, free: 8.383 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.1427, allocations: 0 / 0.6851 GB, free: 8.383 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003061/0.143, allocations: 153 kB / 0.6853 GB, free: 8.227 MB / 394.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003395/0.1434, allocations: 266.6 kB / 0.6855 GB, free: 7.949 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.904e-05/0.1435, allocations: 15.98 kB / 0.6855 GB, free: 7.934 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002387/0.1437, allocations: 188.5 kB / 0.6857 GB, free: 7.75 MB / 394.7 MB Notification: Performance of Backend: time 1.042e-06/0.1437, allocations: 0 / 0.6857 GB, free: 7.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001829/0.1456, allocations: 499.5 kB / 0.6862 GB, free: 7.238 MB / 394.7 MB Notification: Performance of SimCode: time 0.0009149/0.1465, allocations: 0.7096 MB / 0.6869 GB, free: 6.484 MB / 394.7 MB Notification: Performance of Templates: time 0.007706/0.1543, allocations: 1.408 MB / 0.6882 GB, free: 5.074 MB / 394.7 MB "" Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1] Variables in the result:t_new.columns[1],t_new.extrapolation,t_new.nextTimeEvent,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],time