Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,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.Test9") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003934/0.00394, allocations: 362.6 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.005/4.005, allocations: 388.9 MB / 405.6 MB, free: 10.23 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.00493/0.00493, allocations: 228.2 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.5057/0.5057, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006888/0.0006891, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1206, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.001992/0.1226, allocations: 1.351 MB / 0.6814 GB, free: 40.27 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.124, allocations: 0.719 MB / 0.6821 GB, free: 39.55 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.469e-05/0.1241, allocations: 3.938 kB / 0.6821 GB, free: 39.54 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003157/0.1245, allocations: 67.84 kB / 0.6822 GB, free: 39.48 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002004/0.1247, allocations: 55.86 kB / 0.6823 GB, free: 39.42 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/0.1249, allocations: 47.89 kB / 0.6823 GB, free: 39.38 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.1251, allocations: 91.67 kB / 0.6824 GB, free: 39.29 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.137e-05/0.1252, allocations: 16 kB / 0.6824 GB, free: 39.27 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.018e-05/0.1253, allocations: 39.84 kB / 0.6824 GB, free: 39.23 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.1254, allocations: 51.8 kB / 0.6825 GB, free: 39.18 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.1254, allocations: 4 kB / 0.6825 GB, free: 39.18 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.1255, allocations: 35.94 kB / 0.6825 GB, free: 39.14 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.791e-05/0.1256, allocations: 23.91 kB / 0.6826 GB, free: 39.12 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.789e-05/0.1257, allocations: 41.64 kB / 0.6826 GB, free: 39.07 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.1258, allocations: 92.03 kB / 0.6827 GB, free: 38.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1259, allocations: 4 kB / 0.6827 GB, free: 38.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1259, allocations: 0 / 0.6827 GB, free: 38.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.1259, allocations: 0 / 0.6827 GB, free: 38.98 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.0005304/0.1265, allocations: 461.6 kB / 0.6831 GB, free: 38.47 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.1265, allocations: 8.828 kB / 0.6831 GB, free: 38.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.921e-05/0.1266, allocations: 11.89 kB / 0.6831 GB, free: 38.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.1268, allocations: 206.3 kB / 0.6833 GB, free: 38.21 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.1268, allocations: 0 / 0.6833 GB, free: 38.21 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.1269, allocations: 8 kB / 0.6833 GB, free: 38.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.1271, allocations: 53.67 kB / 0.6834 GB, free: 38.14 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.1271, allocations: 4 kB / 0.6834 GB, free: 38.14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.1271, allocations: 4 kB / 0.6834 GB, free: 38.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1271, allocations: 3.953 kB / 0.6834 GB, free: 38.13 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.1272, allocations: 23.92 kB / 0.6834 GB, free: 38.11 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003597/0.1276, allocations: 296.8 kB / 0.6837 GB, free: 37.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.1278, allocations: 66.61 kB / 0.6838 GB, free: 37.7 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.451e-05/0.1279, allocations: 20.84 kB / 0.6838 GB, free: 37.67 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.128, allocations: 4 kB / 0.6838 GB, free: 37.67 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.1282, allocations: 71.34 kB / 0.6839 GB, free: 37.59 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 3.507e-06/0.1282, allocations: 3.984 kB / 0.6839 GB, free: 37.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006822/0.1289, allocations: 181.2 kB / 0.684 GB, free: 37.4 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.1289, allocations: 55.41 kB / 0.6841 GB, free: 37.33 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.1291, allocations: 204.3 kB / 0.6843 GB, free: 37.12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.1292, allocations: 29.7 kB / 0.6843 GB, free: 37.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.816e-05/0.1292, allocations: 107.9 kB / 0.6844 GB, free: 36.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.1293, allocations: 27.64 kB / 0.6845 GB, free: 36.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-06/0.1293, allocations: 4 kB / 0.6845 GB, free: 36.95 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.63e-05/0.1294, allocations: 326.8 kB / 0.6848 GB, free: 36.62 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.1295, allocations: 31.98 kB / 0.6848 GB, free: 36.59 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.1296, allocations: 43.81 kB / 0.6848 GB, free: 36.54 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.1298, allocations: 61.7 kB / 0.6849 GB, free: 36.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1298, allocations: 0 / 0.6849 GB, free: 36.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003385/0.1301, allocations: 159.2 kB / 0.6851 GB, free: 36.31 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.793e-05/0.1302, allocations: 41.66 kB / 0.6851 GB, free: 36.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1302, allocations: 0 / 0.6851 GB, free: 36.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.1302, allocations: 4.031 kB / 0.6851 GB, free: 36.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.1304, allocations: 19.98 kB / 0.6851 GB, free: 36.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1304, allocations: 96 / 0.6851 GB, free: 36.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.131e-05/0.1305, allocations: 7.938 kB / 0.6851 GB, free: 36.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.1305, allocations: 8 kB / 0.6851 GB, free: 36.22 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.0001036/0.1306, allocations: 129.8 kB / 0.6853 GB, free: 36.09 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.1306, allocations: 15.81 kB / 0.6853 GB, free: 36.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.209e-05/0.1307, allocations: 21.34 kB / 0.6853 GB, free: 36.05 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1307, allocations: 0 / 0.6853 GB, free: 36.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1307, allocations: 4 kB / 0.6853 GB, free: 36.05 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/0.1308, allocations: 93 kB / 0.6854 GB, free: 35.94 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.1308, allocations: 7.938 kB / 0.6854 GB, free: 35.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.126e-05/0.1309, allocations: 4 kB / 0.6854 GB, free: 35.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.131, allocations: 7.984 kB / 0.6854 GB, free: 35.92 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002719/0.1312, allocations: 172.9 kB / 0.6856 GB, free: 35.75 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002817/0.1315, allocations: 290.5 kB / 0.6858 GB, free: 35.45 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.071e-05/0.1316, allocations: 23.98 kB / 0.6859 GB, free: 35.42 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001361/0.1318, allocations: 153.5 kB / 0.686 GB, free: 35.27 MB / 346.7 MB Notification: Performance of Backend: time 1.032e-06/0.1318, allocations: 0 / 0.686 GB, free: 35.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001648/0.1335, allocations: 0.5337 MB / 0.6865 GB, free: 34.89 MB / 346.7 MB Notification: Performance of SimCode: time 0.0006794/0.1342, allocations: 0.6897 MB / 0.6872 GB, free: 34.15 MB / 346.7 MB Notification: Performance of Templates: time 0.005748/0.1399, allocations: 1.632 MB / 0.6888 GB, free: 32.53 MB / 346.7 MB "Warning: Resultfile and Reference have different end time points! Reffile[5006]=3.500000 File[7147]=5.000100 " 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.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.timeScale,t_new.verboseRead,t_new.y[1],time