Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,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.Test7") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005272/0.005271, allocations: 371.4 kB / 15.97 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.283/4.283, allocations: 388.9 MB / 405.6 MB, free: 9.578 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.003499/0.003499, allocations: 227 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.5164/0.5164, allocations: 80.01 MB / 0.5627 GB, free: 19.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006888/0.000689, allocations: 19.98 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1016, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002044/0.1037, allocations: 1.363 MB / 0.6814 GB, free: 40.28 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.1052, allocations: 0.7112 MB / 0.6821 GB, free: 39.56 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.534e-05/0.1053, allocations: 0 / 0.6821 GB, free: 39.56 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003432/0.1057, allocations: 95.78 kB / 0.6822 GB, free: 39.47 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002/0.1059, allocations: 71.78 kB / 0.6823 GB, free: 39.4 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.1061, allocations: 43.89 kB / 0.6823 GB, free: 39.36 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.1063, allocations: 99.67 kB / 0.6824 GB, free: 39.26 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.912e-05/0.1064, allocations: 15.97 kB / 0.6824 GB, free: 39.24 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.714e-05/0.1065, allocations: 43.84 kB / 0.6825 GB, free: 39.2 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.1066, allocations: 51.81 kB / 0.6825 GB, free: 39.15 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.1066, allocations: 8 kB / 0.6825 GB, free: 39.14 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.1068, allocations: 35.98 kB / 0.6826 GB, free: 39.11 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.613e-05/0.1068, allocations: 23.86 kB / 0.6826 GB, free: 39.08 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.224e-05/0.1069, allocations: 41.64 kB / 0.6826 GB, free: 39.04 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.1071, allocations: 100 kB / 0.6827 GB, free: 38.94 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1071, allocations: 4 kB / 0.6827 GB, free: 38.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1071, allocations: 0 / 0.6827 GB, free: 38.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1071, allocations: 0 / 0.6827 GB, free: 38.93 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.0005065/0.1076, allocations: 466 kB / 0.6832 GB, free: 38.42 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.1077, allocations: 12.83 kB / 0.6832 GB, free: 38.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.84e-05/0.1077, allocations: 11.91 kB / 0.6832 GB, free: 38.39 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.108, allocations: 206.2 kB / 0.6834 GB, free: 38.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/0.108, allocations: 4 kB / 0.6834 GB, free: 38.15 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.707e-05/0.1081, allocations: 7.984 kB / 0.6834 GB, free: 38.14 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.1084, allocations: 53.67 kB / 0.6835 GB, free: 38.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.1084, allocations: 4 kB / 0.6835 GB, free: 38.08 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.1084, allocations: 0 / 0.6835 GB, free: 38.08 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.1085, allocations: 3.953 kB / 0.6835 GB, free: 38.08 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.1087, allocations: 23.92 kB / 0.6835 GB, free: 38.05 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005765/0.1093, allocations: 304.8 kB / 0.6838 GB, free: 37.71 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003582/0.1097, allocations: 58.67 kB / 0.6838 GB, free: 37.64 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.1098, allocations: 16.86 kB / 0.6839 GB, free: 37.62 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.698e-05/0.1099, allocations: 0 / 0.6839 GB, free: 37.62 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003264/0.1102, allocations: 83.28 kB / 0.6839 GB, free: 37.53 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 3.707e-06/0.1102, allocations: 0 / 0.6839 GB, free: 37.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.00108/0.1113, allocations: 189.1 kB / 0.6841 GB, free: 37.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.1114, allocations: 55.34 kB / 0.6842 GB, free: 37.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/0.1118, allocations: 240.1 kB / 0.6844 GB, free: 37.03 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.1118, allocations: 25.7 kB / 0.6844 GB, free: 37 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.037e-05/0.1119, allocations: 116 kB / 0.6845 GB, free: 36.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/0.112, allocations: 23.66 kB / 0.6846 GB, free: 36.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.261e-05/0.112, allocations: 4 kB / 0.6846 GB, free: 36.85 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.422e-05/0.1121, allocations: 322.8 kB / 0.6849 GB, free: 36.53 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.1123, allocations: 31.98 kB / 0.6849 GB, free: 36.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.1124, allocations: 49.69 kB / 0.6849 GB, free: 36.44 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.1126, allocations: 65.7 kB / 0.685 GB, free: 36.37 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1127, allocations: 0 / 0.685 GB, free: 36.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004812/0.1132, allocations: 166.2 kB / 0.6852 GB, free: 36.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.14e-05/0.1132, allocations: 41.64 kB / 0.6852 GB, free: 36.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.1132, allocations: 0 / 0.6852 GB, free: 36.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.1133, allocations: 0 / 0.6852 GB, free: 36.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.1135, allocations: 23.98 kB / 0.6852 GB, free: 36.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.1135, allocations: 0 / 0.6852 GB, free: 36.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.1137, allocations: 4.094 kB / 0.6852 GB, free: 36.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.1137, allocations: 7.938 kB / 0.6852 GB, free: 36.12 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.0001628/0.1139, allocations: 145.2 kB / 0.6854 GB, free: 35.97 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.1139, allocations: 11.81 kB / 0.6854 GB, free: 35.96 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.96e-05/0.114, allocations: 21.36 kB / 0.6854 GB, free: 35.94 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.114, allocations: 3.984 kB / 0.6854 GB, free: 35.94 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.114, allocations: 0 / 0.6854 GB, free: 35.94 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.1142, allocations: 96.91 kB / 0.6855 GB, free: 35.82 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.651e-05/0.1143, allocations: 7.938 kB / 0.6855 GB, free: 35.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.1144, allocations: 0 / 0.6855 GB, free: 35.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/0.1145, allocations: 15.97 kB / 0.6855 GB, free: 35.8 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004453/0.1149, allocations: 176.9 kB / 0.6857 GB, free: 35.62 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004183/0.1154, allocations: 278.6 kB / 0.686 GB, free: 35.33 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001558/0.1156, allocations: 27.97 kB / 0.686 GB, free: 35.3 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002795/0.1159, allocations: 177.1 kB / 0.6862 GB, free: 35.13 MB / 346.7 MB Notification: Performance of Backend: time 9.81e-07/0.1159, allocations: 0 / 0.6862 GB, free: 35.13 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00323/0.1191, allocations: 0.5429 MB / 0.6867 GB, free: 34.74 MB / 346.7 MB Notification: Performance of SimCode: time 0.00115/0.1203, allocations: 0.7087 MB / 0.6874 GB, free: 33.98 MB / 346.7 MB Notification: Performance of Templates: time 0.008148/0.1285, allocations: 1.653 MB / 0.689 GB, free: 32.34 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[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.timeScale,t_new.verboseRead,t_new.y[1],time