Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,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.Test4") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00266/0.002664, allocations: 366.1 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 3.951/3.951, allocations: 388.9 MB / 405.6 MB, free: 9.637 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.003575/0.003575, allocations: 231.7 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.6493/0.6493, allocations: 80.02 MB / 0.5627 GB, free: 19.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004694/0.0004695, allocations: 13.38 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09665/0.09714, allocations: 54.88 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.001961/0.09916, allocations: 1.351 MB / 0.6814 GB, free: 40.28 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.1005, allocations: 0.719 MB / 0.6821 GB, free: 39.55 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.591e-05/0.1006, allocations: 3.938 kB / 0.6821 GB, free: 39.55 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003091/0.1009, allocations: 71.83 kB / 0.6822 GB, free: 39.48 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001903/0.1011, allocations: 55.86 kB / 0.6823 GB, free: 39.42 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.1013, allocations: 47.89 kB / 0.6823 GB, free: 39.38 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.1015, allocations: 91.67 kB / 0.6824 GB, free: 39.29 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.563e-05/0.1016, allocations: 23.92 kB / 0.6824 GB, free: 39.26 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.696e-05/0.1017, allocations: 39.84 kB / 0.6825 GB, free: 39.22 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.831e-05/0.1018, allocations: 47.81 kB / 0.6825 GB, free: 39.18 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.1019, allocations: 4 kB / 0.6825 GB, free: 39.17 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.102, allocations: 32 kB / 0.6825 GB, free: 39.14 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.652e-05/0.1021, allocations: 27.89 kB / 0.6826 GB, free: 39.11 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.361e-05/0.1021, allocations: 37.64 kB / 0.6826 GB, free: 39.07 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.1023, allocations: 88.05 kB / 0.6827 GB, free: 38.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1023, allocations: 4 kB / 0.6827 GB, free: 38.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1023, allocations: 0 / 0.6827 GB, free: 38.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1023, allocations: 4 kB / 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.0004956/0.1028, allocations: 462.2 kB / 0.6831 GB, free: 38.46 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1029, allocations: 8.828 kB / 0.6831 GB, free: 38.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.103, allocations: 7.906 kB / 0.6831 GB, free: 38.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.1032, allocations: 206.3 kB / 0.6833 GB, free: 38.21 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.1032, allocations: 0 / 0.6833 GB, free: 38.21 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.1032, allocations: 8 kB / 0.6833 GB, free: 38.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.1034, allocations: 49.67 kB / 0.6834 GB, free: 38.15 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1035, allocations: 4 kB / 0.6834 GB, free: 38.14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.1035, allocations: 11.98 kB / 0.6834 GB, free: 38.13 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1035, allocations: 3.953 kB / 0.6834 GB, free: 38.13 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.1036, allocations: 19.92 kB / 0.6834 GB, free: 38.11 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003498/0.104, allocations: 300.8 kB / 0.6837 GB, free: 37.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.1042, allocations: 62.62 kB / 0.6838 GB, free: 37.7 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.522e-05/0.1043, allocations: 20.84 kB / 0.6838 GB, free: 37.67 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.1043, allocations: 0 / 0.6838 GB, free: 37.67 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002057/0.1045, allocations: 71.34 kB / 0.6839 GB, free: 37.59 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.813e-06/0.1045, allocations: 0 / 0.6839 GB, free: 37.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006883/0.1052, allocations: 181.2 kB / 0.684 GB, free: 37.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.1053, allocations: 55.41 kB / 0.6841 GB, free: 37.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.1055, allocations: 199.8 kB / 0.6843 GB, free: 37.14 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.1055, allocations: 37.69 kB / 0.6843 GB, free: 37.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.817e-05/0.1056, allocations: 103.9 kB / 0.6844 GB, free: 36.99 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.262e-05/0.1057, allocations: 27.64 kB / 0.6844 GB, free: 36.96 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.928e-06/0.1057, allocations: 4 kB / 0.6845 GB, free: 36.96 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.439e-05/0.1058, allocations: 322.8 kB / 0.6848 GB, free: 36.63 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.1059, allocations: 27.98 kB / 0.6848 GB, free: 36.61 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.106, allocations: 49.7 kB / 0.6848 GB, free: 36.55 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.1062, allocations: 69.19 kB / 0.6849 GB, free: 36.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1062, allocations: 0 / 0.6849 GB, free: 36.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003239/0.1065, allocations: 155.2 kB / 0.685 GB, free: 36.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.888e-05/0.1066, allocations: 41.75 kB / 0.6851 GB, free: 36.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.1066, allocations: 3.938 kB / 0.6851 GB, free: 36.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1066, allocations: 0 / 0.6851 GB, free: 36.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.1067, allocations: 20.36 kB / 0.6851 GB, free: 36.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1068, allocations: 4.031 kB / 0.6851 GB, free: 36.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.078e-05/0.1069, allocations: 4 kB / 0.6851 GB, free: 36.24 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.1069, allocations: 12 kB / 0.6851 GB, free: 36.23 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.0001078/0.107, allocations: 129.8 kB / 0.6853 GB, free: 36.09 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.107, allocations: 11.81 kB / 0.6853 GB, free: 36.08 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.223e-05/0.1071, allocations: 25.34 kB / 0.6853 GB, free: 36.06 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1071, allocations: 0 / 0.6853 GB, free: 36.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1071, allocations: 0 / 0.6853 GB, free: 36.06 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.226e-05/0.1072, allocations: 93 kB / 0.6854 GB, free: 35.95 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.1072, allocations: 11.94 kB / 0.6854 GB, free: 35.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.075e-05/0.1073, allocations: 4 kB / 0.6854 GB, free: 35.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.1074, allocations: 7.984 kB / 0.6854 GB, free: 35.93 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002703/0.1076, allocations: 172.9 kB / 0.6856 GB, free: 35.75 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002854/0.1079, allocations: 286.5 kB / 0.6858 GB, free: 35.45 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.412e-05/0.108, allocations: 36.19 kB / 0.6859 GB, free: 35.42 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001409/0.1082, allocations: 154 kB / 0.686 GB, free: 35.27 MB / 346.7 MB Notification: Performance of Backend: time 1.092e-06/0.1082, allocations: 0 / 0.686 GB, free: 35.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001764/0.11, allocations: 0.5377 MB / 0.6865 GB, free: 34.88 MB / 346.7 MB Notification: Performance of SimCode: time 0.0006391/0.1106, allocations: 0.6862 MB / 0.6872 GB, free: 34.14 MB / 346.7 MB Notification: Performance of Templates: time 0.005621/0.1163, allocations: 1.624 MB / 0.6888 GB, free: 32.53 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.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