Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,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.Test45") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002718/0.002723, allocations: 365.1 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.111/4.111, 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.003561/0.00356, allocations: 236.4 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.5377/0.5377, allocations: 80.03 MB / 0.5627 GB, free: 19.83 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006599/0.0006602, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1146, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002868/0.1176, allocations: 1.351 MB / 0.6814 GB, free: 40.27 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002039/0.1197, allocations: 0.7151 MB / 0.6821 GB, free: 39.54 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.1198, allocations: 4 kB / 0.6821 GB, free: 39.54 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003876/0.1202, allocations: 39.81 kB / 0.6822 GB, free: 39.5 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002431/0.1205, allocations: 27.91 kB / 0.6822 GB, free: 39.47 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.1208, allocations: 55.88 kB / 0.6823 GB, free: 39.42 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.121, allocations: 87.7 kB / 0.6823 GB, free: 39.33 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.1212, allocations: 4 kB / 0.6823 GB, free: 39.33 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.1213, allocations: 43.83 kB / 0.6824 GB, free: 39.29 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.1214, allocations: 27.86 kB / 0.6824 GB, free: 39.26 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.1215, allocations: 4 kB / 0.6824 GB, free: 39.25 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.1217, allocations: 39.97 kB / 0.6824 GB, free: 39.21 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.937e-05/0.1217, allocations: 19.86 kB / 0.6825 GB, free: 39.2 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.297e-05/0.1218, allocations: 37.64 kB / 0.6825 GB, free: 39.15 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.1221, allocations: 92.03 kB / 0.6826 GB, free: 39.06 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1221, allocations: 4 kB / 0.6826 GB, free: 39.06 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1221, allocations: 0 / 0.6826 GB, free: 39.06 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1221, allocations: 0 / 0.6826 GB, free: 39.06 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.0006767/0.1228, allocations: 461.8 kB / 0.683 GB, free: 38.55 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/0.1229, allocations: 8.828 kB / 0.683 GB, free: 38.54 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.654e-05/0.123, allocations: 7.906 kB / 0.6831 GB, free: 38.54 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003861/0.1234, allocations: 202.8 kB / 0.6832 GB, free: 38.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.1234, allocations: 3.938 kB / 0.6832 GB, free: 38.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.935e-05/0.1235, allocations: 11.98 kB / 0.6833 GB, free: 38.28 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.1237, allocations: 53.67 kB / 0.6833 GB, free: 38.22 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.1238, allocations: 0 / 0.6833 GB, free: 38.22 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.1238, allocations: 4 kB / 0.6833 GB, free: 38.22 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.1238, allocations: 3.953 kB / 0.6833 GB, free: 38.21 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.124, allocations: 19.92 kB / 0.6833 GB, free: 38.2 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005396/0.1245, allocations: 296.8 kB / 0.6836 GB, free: 37.86 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003198/0.1249, allocations: 62.62 kB / 0.6837 GB, free: 37.79 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.125, allocations: 20.84 kB / 0.6837 GB, free: 37.76 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.313e-05/0.1251, allocations: 0 / 0.6837 GB, free: 37.76 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002883/0.1254, allocations: 71.34 kB / 0.6838 GB, free: 37.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.875e-06/0.1254, allocations: 0 / 0.6838 GB, free: 37.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009764/0.1264, allocations: 189.1 kB / 0.6839 GB, free: 37.49 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.1264, allocations: 51.41 kB / 0.684 GB, free: 37.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.1267, allocations: 190.2 kB / 0.6842 GB, free: 37.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.1268, allocations: 29.7 kB / 0.6842 GB, free: 37.2 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.273e-05/0.1269, allocations: 104 kB / 0.6843 GB, free: 37.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.1269, allocations: 23.66 kB / 0.6843 GB, free: 37.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.241e-05/0.1269, allocations: 4 kB / 0.6843 GB, free: 37.07 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.109e-05/0.127, allocations: 322.8 kB / 0.6846 GB, free: 36.74 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.1272, allocations: 35.98 kB / 0.6847 GB, free: 36.71 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.1274, allocations: 56.86 kB / 0.6847 GB, free: 36.65 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.1276, allocations: 61.7 kB / 0.6848 GB, free: 36.58 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1276, allocations: 0 / 0.6848 GB, free: 36.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005282/0.1282, allocations: 163.1 kB / 0.6849 GB, free: 36.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.413e-05/0.1283, allocations: 41.64 kB / 0.685 GB, free: 36.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.1283, allocations: 0 / 0.685 GB, free: 36.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.1283, allocations: 4.031 kB / 0.685 GB, free: 36.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.1285, allocations: 16.36 kB / 0.685 GB, free: 36.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.1286, allocations: 8.062 kB / 0.685 GB, free: 36.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.1287, allocations: 12.08 kB / 0.685 GB, free: 36.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.1288, allocations: 11.94 kB / 0.685 GB, free: 36.31 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.0001545/0.1289, allocations: 121.8 kB / 0.6852 GB, free: 36.18 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.089e-05/0.129, allocations: 15.91 kB / 0.6852 GB, free: 36.17 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.282e-05/0.1291, allocations: 21.3 kB / 0.6852 GB, free: 36.15 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.892e-06/0.1291, allocations: 4 kB / 0.6852 GB, free: 36.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1291, allocations: 0 / 0.6852 GB, free: 36.15 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.431e-05/0.1292, allocations: 89 kB / 0.6853 GB, free: 36.04 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.18e-05/0.1293, allocations: 15.92 kB / 0.6853 GB, free: 36.03 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.172e-05/0.1294, allocations: 0 / 0.6853 GB, free: 36.03 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.1295, allocations: 4 kB / 0.6853 GB, free: 36.02 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004168/0.1299, allocations: 176.9 kB / 0.6855 GB, free: 35.84 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004365/0.1303, allocations: 282.5 kB / 0.6857 GB, free: 35.55 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001383/0.1305, allocations: 27.98 kB / 0.6858 GB, free: 35.52 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002015/0.1307, allocations: 149.8 kB / 0.6859 GB, free: 35.38 MB / 346.7 MB Notification: Performance of Backend: time 1.233e-06/0.1307, allocations: 0 / 0.6859 GB, free: 35.38 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00269/0.1334, allocations: 0.5271 MB / 0.6864 GB, free: 35 MB / 346.7 MB Notification: Performance of SimCode: time 0.0009109/0.1344, allocations: 0.6778 MB / 0.6871 GB, free: 34.28 MB / 346.7 MB Notification: Performance of Templates: time 0.008338/0.1428, allocations: 1.638 MB / 0.6887 GB, free: 32.65 MB / 346.7 MB "Warning: Resultfile and Reference have different end time points! Reffile[5007]=2.500000 File[6005]=3.000500 " 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.timeScale,t_new.verboseRead,t_new.y[1],time