Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002667/0.002674, allocations: 353 kB / 15.95 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.707/3.707, allocations: 341.5 MB / 358.2 MB, free: 12.65 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003628/0.003628, allocations: 221.1 kB / 397.9 MB, free: 4.984 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5502/0.5502, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006394/0.0006396, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08592/0.0866, allocations: 48.7 MB / 0.6067 GB, free: 4.656 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.001944/0.0886, allocations: 1.295 MB / 0.608 GB, free: 3.348 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009127/0.08955, allocations: 423.5 kB / 0.6084 GB, free: 2.93 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.284e-05/0.08964, allocations: 0 / 0.6084 GB, free: 2.93 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002673/0.08992, allocations: 31.84 kB / 0.6084 GB, free: 2.898 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001607/0.0901, allocations: 31.91 kB / 0.6085 GB, free: 2.867 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.09033, allocations: 59.8 kB / 0.6085 GB, free: 2.809 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.09047, allocations: 59.84 kB / 0.6086 GB, free: 2.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.842e-05/0.09057, allocations: 7.984 kB / 0.6086 GB, free: 2.742 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.035e-05/0.09065, allocations: 27.86 kB / 0.6086 GB, free: 2.715 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.441e-05/0.09073, allocations: 23.91 kB / 0.6086 GB, free: 2.691 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.09076, allocations: 3.938 kB / 0.6087 GB, free: 2.688 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.0909, allocations: 36 kB / 0.6087 GB, free: 2.652 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.913e-05/0.09095, allocations: 11.98 kB / 0.6087 GB, free: 2.641 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.929e-05/0.091, allocations: 45.56 kB / 0.6087 GB, free: 2.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.09119, allocations: 80.11 kB / 0.6088 GB, free: 2.512 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.09122, allocations: 0 / 0.6088 GB, free: 2.512 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.09123, allocations: 0 / 0.6088 GB, free: 2.512 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.83e-06/0.09124, allocations: 0 / 0.6088 GB, free: 2.512 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004598/0.09171, allocations: 408.6 kB / 0.6092 GB, free: 2.059 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.09177, allocations: 8.031 kB / 0.6092 GB, free: 2.051 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.09182, allocations: 11.86 kB / 0.6092 GB, free: 2.039 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.09202, allocations: 187 kB / 0.6094 GB, free: 1.816 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.09205, allocations: 0 / 0.6094 GB, free: 1.816 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.09208, allocations: 8 kB / 0.6094 GB, free: 1.809 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.09222, allocations: 49.61 kB / 0.6095 GB, free: 1.754 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.09225, allocations: 3.938 kB / 0.6095 GB, free: 1.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.09226, allocations: 0 / 0.6095 GB, free: 1.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.09228, allocations: 0 / 0.6095 GB, free: 1.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.979e-05/0.09235, allocations: 19.94 kB / 0.6095 GB, free: 1.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003302/0.09269, allocations: 276.8 kB / 0.6097 GB, free: 1.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.09293, allocations: 50.5 kB / 0.6098 GB, free: 1.352 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.209e-05/0.09297, allocations: 8.859 kB / 0.6098 GB, free: 1.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.093, allocations: 0 / 0.6098 GB, free: 1.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/0.09317, allocations: 59.48 kB / 0.6099 GB, free: 1.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.964e-06/0.09319, allocations: 0 / 0.6099 GB, free: 1.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000437/0.09363, allocations: 125.3 kB / 0.61 GB, free: 1.141 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.09368, allocations: 55.41 kB / 0.61 GB, free: 1.074 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.09385, allocations: 154.1 kB / 0.6102 GB, free: 0.9102 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.09388, allocations: 25.7 kB / 0.6102 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.001e-05/0.09394, allocations: 96.12 kB / 0.6103 GB, free: 0.7812 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.09397, allocations: 19.75 kB / 0.6103 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.09399, allocations: 0 / 0.6103 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.031e-05/0.09406, allocations: 322.8 kB / 0.6106 GB, free: 448 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.408e-05/0.09412, allocations: 12 kB / 0.6106 GB, free: 436 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.189e-05/0.09419, allocations: 31.92 kB / 0.6107 GB, free: 404 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.544e-05/0.09427, allocations: 49.64 kB / 0.6107 GB, free: 348 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.09429, allocations: 0 / 0.6107 GB, free: 348 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000204/0.0945, allocations: 111.3 kB / 0.6108 GB, free: 224 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.684e-05/0.09455, allocations: 45.64 kB / 0.6109 GB, free: 172 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.09456, allocations: 0 / 0.6109 GB, free: 172 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.09459, allocations: 0 / 0.6109 GB, free: 172 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.614e-05/0.09467, allocations: 11.94 kB / 0.6109 GB, free: 160 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.0947, allocations: 0 / 0.6109 GB, free: 160 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.457e-05/0.09477, allocations: 4 kB / 0.6109 GB, free: 156 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.09479, allocations: 8 kB / 0.6109 GB, free: 148 kB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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 8.991e-05/0.09489, allocations: 120.4 kB / 0.611 GB, free: 20 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.09492, allocations: 7.906 kB / 0.611 GB, free: 12 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.018e-05/0.09498, allocations: 16.27 kB / 0.611 GB, free: 0 / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.095, allocations: 288 / 0.611 GB, free: 0 / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.3662/0.4612, allocations: 0.5781 kB / 0.611 GB, free: 90.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.997e-05/0.4614, allocations: 88.95 kB / 0.6111 GB, free: 90.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.77e-05/0.4614, allocations: 1.531 kB / 0.6111 GB, free: 90.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.832e-05/0.4615, allocations: 6.312 kB / 0.6111 GB, free: 90.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/0.4616, allocations: 5.844 kB / 0.6111 GB, free: 90.47 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002484/0.4618, allocations: 144.8 kB / 0.6113 GB, free: 90.37 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002128/0.4621, allocations: 242.2 kB / 0.6115 GB, free: 90.16 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.315e-05/0.4621, allocations: 18.12 kB / 0.6115 GB, free: 90.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001275/0.4623, allocations: 125.6 kB / 0.6116 GB, free: 90.09 MB / 362.7 MB Notification: Performance of Backend: time 9.32e-07/0.4623, allocations: 0.5938 kB / 0.6116 GB, free: 90.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00157/0.4639, allocations: 436.4 kB / 0.612 GB, free: 89.96 MB / 362.7 MB Notification: Performance of SimCode: time 0.0006365/0.4646, allocations: 0.6263 MB / 0.6127 GB, free: 89.36 MB / 362.7 MB Notification: Performance of Templates: time 0.009108/0.4737, allocations: 1.409 MB / 0.614 GB, free: 89.35 MB / 362.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_min,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.verboseRead,t_new.y[1],time