Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002688/0.002688, allocations: 369.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 3.955/3.955, allocations: 388.9 MB / 405.6 MB, free: 10.24 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.003492/0.003492, allocations: 235.9 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.5662/0.5662, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007375/0.0007378, allocations: 15.98 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1304, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002617/0.133, allocations: 1.359 MB / 0.6814 GB, free: 40.28 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.1349, allocations: 0.7073 MB / 0.6821 GB, free: 39.56 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.076e-05/0.135, allocations: 0 / 0.6821 GB, free: 39.56 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003111/0.1353, allocations: 39.83 kB / 0.6822 GB, free: 39.52 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002064/0.1355, allocations: 27.89 kB / 0.6822 GB, free: 39.5 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.1358, allocations: 55.89 kB / 0.6822 GB, free: 39.44 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.136, allocations: 83.7 kB / 0.6823 GB, free: 39.36 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.1362, allocations: 8 kB / 0.6823 GB, free: 39.35 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.1363, allocations: 39.83 kB / 0.6824 GB, free: 39.31 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.383e-05/0.1364, allocations: 31.86 kB / 0.6824 GB, free: 39.28 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.1364, allocations: 4 kB / 0.6824 GB, free: 39.28 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.1366, allocations: 35.98 kB / 0.6824 GB, free: 39.24 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.415e-05/0.1367, allocations: 15.91 kB / 0.6825 GB, free: 39.23 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.964e-05/0.1367, allocations: 41.64 kB / 0.6825 GB, free: 39.18 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.1369, allocations: 88.03 kB / 0.6826 GB, free: 39.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.137, allocations: 0 / 0.6826 GB, free: 39.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.137, allocations: 0 / 0.6826 GB, free: 39.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.137, allocations: 0 / 0.6826 GB, free: 39.09 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005794/0.1376, allocations: 462.1 kB / 0.683 GB, free: 38.58 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.1377, allocations: 8.828 kB / 0.683 GB, free: 38.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.192e-05/0.1377, allocations: 7.906 kB / 0.683 GB, free: 38.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.138, allocations: 206.4 kB / 0.6832 GB, free: 38.33 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.138, allocations: 4 kB / 0.6832 GB, free: 38.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.1381, allocations: 4 kB / 0.6832 GB, free: 38.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.1383, allocations: 57.61 kB / 0.6833 GB, free: 38.26 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.1383, allocations: 0 / 0.6833 GB, free: 38.26 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.1384, allocations: 7.984 kB / 0.6833 GB, free: 38.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.1384, allocations: 7.953 kB / 0.6833 GB, free: 38.24 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.1385, allocations: 15.94 kB / 0.6833 GB, free: 38.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004329/0.139, allocations: 292.9 kB / 0.6836 GB, free: 37.89 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.1393, allocations: 62.59 kB / 0.6837 GB, free: 37.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.883e-05/0.1394, allocations: 28.84 kB / 0.6837 GB, free: 37.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.1394, allocations: 0 / 0.6837 GB, free: 37.79 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002293/0.1397, allocations: 67.34 kB / 0.6838 GB, free: 37.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.264e-06/0.1397, allocations: 0 / 0.6838 GB, free: 37.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008323/0.1405, allocations: 189.1 kB / 0.6839 GB, free: 37.52 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.1406, allocations: 55.41 kB / 0.684 GB, free: 37.45 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.1408, allocations: 178.2 kB / 0.6842 GB, free: 37.27 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.1409, allocations: 25.7 kB / 0.6842 GB, free: 37.24 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.593e-05/0.1409, allocations: 108 kB / 0.6843 GB, free: 37.13 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.141, allocations: 23.73 kB / 0.6843 GB, free: 37.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.111e-05/0.141, allocations: 0 / 0.6843 GB, free: 37.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.67e-05/0.1411, allocations: 322.8 kB / 0.6846 GB, free: 36.78 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.1413, allocations: 27.98 kB / 0.6846 GB, free: 36.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.1414, allocations: 53.64 kB / 0.6847 GB, free: 36.7 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.1416, allocations: 61.7 kB / 0.6848 GB, free: 36.63 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1416, allocations: 0 / 0.6848 GB, free: 36.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004466/0.1421, allocations: 163.1 kB / 0.6849 GB, free: 36.46 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.254e-05/0.1422, allocations: 41.66 kB / 0.6849 GB, free: 36.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1422, allocations: 0 / 0.6849 GB, free: 36.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1422, allocations: 0 / 0.6849 GB, free: 36.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.1424, allocations: 19.98 kB / 0.685 GB, free: 36.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1424, allocations: 0 / 0.685 GB, free: 36.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.1425, allocations: 8.031 kB / 0.685 GB, free: 36.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.1426, allocations: 4 kB / 0.685 GB, free: 36.38 MB / 346.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 (11): * Single equations (assignments): 10 * 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.0001261/0.1427, allocations: 129.8 kB / 0.6851 GB, free: 36.24 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.1428, allocations: 8.281 kB / 0.6851 GB, free: 36.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.796e-05/0.1428, allocations: 16.67 kB / 0.6851 GB, free: 36.22 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1428, allocations: 96 / 0.6851 GB, free: 36.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1429, allocations: 3.938 kB / 0.6851 GB, free: 36.21 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.068e-05/0.1429, allocations: 100.9 kB / 0.6852 GB, free: 36.1 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.143, allocations: 15.86 kB / 0.6852 GB, free: 36.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.423e-05/0.1431, allocations: 4 kB / 0.6852 GB, free: 36.08 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.1432, allocations: 4 kB / 0.6853 GB, free: 36.07 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003649/0.1435, allocations: 176.9 kB / 0.6854 GB, free: 35.89 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003861/0.1439, allocations: 270.7 kB / 0.6857 GB, free: 35.61 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001314/0.1441, allocations: 39.92 kB / 0.6857 GB, free: 35.57 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001562/0.1443, allocations: 134.1 kB / 0.6858 GB, free: 35.45 MB / 346.7 MB Notification: Performance of Backend: time 6.91e-07/0.1443, allocations: 0 / 0.6858 GB, free: 35.45 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002402/0.1467, allocations: 0.5259 MB / 0.6864 GB, free: 35.06 MB / 346.7 MB Notification: Performance of SimCode: time 0.0007495/0.1475, allocations: 0.6704 MB / 0.687 GB, free: 34.35 MB / 346.7 MB Notification: Performance of Templates: time 0.006349/0.1538, allocations: 1.624 MB / 0.6886 GB, free: 32.73 MB / 346.7 MB "" Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,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.timeScale,t_new.verboseRead,t_new.y[1],time