Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008186/0.008186, allocations: 349.1 kB / 15.95 MB, free: 6.219 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.689/3.689, allocations: 341.5 MB / 358.2 MB, free: 12.64 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.003484/0.003484, allocations: 221.2 kB / 397.9 MB, free: 4.988 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.4849/0.4849, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004792/0.0004794, allocations: 19.98 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08862/0.08912, allocations: 48.7 MB / 0.6068 GB, free: 4.648 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.001939/0.09112, allocations: 1.264 MB / 0.608 GB, free: 3.371 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009072/0.09208, allocations: 407.5 kB / 0.6084 GB, free: 2.969 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.015e-05/0.09217, allocations: 0 / 0.6084 GB, free: 2.969 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002982/0.09248, allocations: 47.86 kB / 0.6084 GB, free: 2.922 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.0927, allocations: 35.89 kB / 0.6085 GB, free: 2.887 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.09293, allocations: 59.81 kB / 0.6085 GB, free: 2.828 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.09307, allocations: 55.83 kB / 0.6086 GB, free: 2.773 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.707e-05/0.09314, allocations: 4 kB / 0.6086 GB, free: 2.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.393e-05/0.09323, allocations: 39.78 kB / 0.6086 GB, free: 2.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.524e-05/0.09332, allocations: 27.91 kB / 0.6086 GB, free: 2.703 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.09335, allocations: 0 / 0.6086 GB, free: 2.703 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.09346, allocations: 24 kB / 0.6087 GB, free: 2.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.669e-05/0.09352, allocations: 23.91 kB / 0.6087 GB, free: 2.656 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.181e-05/0.09357, allocations: 37.64 kB / 0.6087 GB, free: 2.613 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.09375, allocations: 88.05 kB / 0.6088 GB, free: 2.527 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.09377, allocations: 0 / 0.6088 GB, free: 2.527 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.09378, allocations: 0 / 0.6088 GB, free: 2.527 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.09379, allocations: 4 kB / 0.6088 GB, free: 2.523 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000475/0.09428, allocations: 416.5 kB / 0.6092 GB, free: 2.062 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.09433, allocations: 8.031 kB / 0.6092 GB, free: 2.055 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.758e-05/0.09439, allocations: 19.77 kB / 0.6092 GB, free: 2.035 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.09459, allocations: 198.8 kB / 0.6094 GB, free: 1.801 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.09462, allocations: 0 / 0.6094 GB, free: 1.801 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.09465, allocations: 7.984 kB / 0.6094 GB, free: 1.793 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.09477, allocations: 33.69 kB / 0.6095 GB, free: 1.754 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.09479, allocations: 4 kB / 0.6095 GB, free: 1.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.09481, allocations: 0 / 0.6095 GB, free: 1.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.09483, allocations: 0 / 0.6095 GB, free: 1.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.24e-05/0.09489, allocations: 15.95 kB / 0.6095 GB, free: 1.734 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001799/0.09508, allocations: 185.6 kB / 0.6097 GB, free: 1.504 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.504e-05/0.09516, allocations: 30.5 kB / 0.6097 GB, free: 1.465 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.055e-05/0.0952, allocations: 8.922 kB / 0.6097 GB, free: 1.453 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.09524, allocations: 4 kB / 0.6097 GB, free: 1.449 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.0954, allocations: 63.33 kB / 0.6098 GB, free: 1.375 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.763e-06/0.09541, allocations: 0 / 0.6098 GB, free: 1.375 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002214/0.09564, allocations: 77.41 kB / 0.6098 GB, free: 1.293 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.09568, allocations: 55.41 kB / 0.6099 GB, free: 1.227 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00026/0.09595, allocations: 240.3 kB / 0.6101 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.09598, allocations: 33.7 kB / 0.6101 GB, free: 0.9375 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.591e-05/0.09604, allocations: 100.1 kB / 0.6102 GB, free: 0.8359 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.09608, allocations: 15.89 kB / 0.6103 GB, free: 0.8203 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/0.0961, allocations: 4 kB / 0.6103 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.615e-05/0.09617, allocations: 326.8 kB / 0.6106 GB, free: 500 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.499e-05/0.09623, allocations: 12 kB / 0.6106 GB, free: 488 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.915e-05/0.09628, allocations: 12 kB / 0.6106 GB, free: 476 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.474e-05/0.09635, allocations: 45.69 kB / 0.6106 GB, free: 424 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.09637, allocations: 0 / 0.6106 GB, free: 424 kB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000173/0.09655, allocations: 103.3 kB / 0.6107 GB, free: 308 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.377e-05/0.09659, allocations: 29.7 kB / 0.6108 GB, free: 272 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.83e-05/0.09664, allocations: 4 kB / 0.6108 GB, free: 268 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.09667, allocations: 7.875 kB / 0.6108 GB, free: 260 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.058e-05/0.09677, allocations: 15.98 kB / 0.6108 GB, free: 244 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.09679, allocations: 4.062 kB / 0.6108 GB, free: 240 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.267e-05/0.09688, allocations: 3.906 kB / 0.6108 GB, free: 236 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.0969, allocations: 4 kB / 0.6108 GB, free: 232 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 (5): * Single equations (assignments): 4 * 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.0001053/0.09701, allocations: 136.2 kB / 0.6109 GB, free: 88 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.09704, allocations: 7.906 kB / 0.6109 GB, free: 80 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.58e-05/0.0971, allocations: 12.94 kB / 0.6109 GB, free: 68 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.09711, allocations: 11.98 kB / 0.611 GB, free: 56 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.09712, allocations: 0 / 0.611 GB, free: 56 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2586/0.3558, allocations: 84.77 kB / 0.611 GB, free: 90.51 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.835e-05/0.3559, allocations: 1.688 kB / 0.611 GB, free: 90.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.199e-05/0.356, allocations: 3.25 kB / 0.611 GB, free: 90.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.636e-05/0.356, allocations: 2.266 kB / 0.611 GB, free: 90.51 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002029/0.3562, allocations: 131.3 kB / 0.6112 GB, free: 90.4 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001674/0.3564, allocations: 239.2 kB / 0.6114 GB, free: 90.2 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.284e-05/0.3565, allocations: 10.94 kB / 0.6114 GB, free: 90.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002203/0.3567, allocations: 182.2 kB / 0.6116 GB, free: 90.12 MB / 362.7 MB Notification: Performance of Backend: time 1.894e-06/0.3567, allocations: 1.25 kB / 0.6116 GB, free: 90.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001305/0.358, allocations: 401.7 kB / 0.612 GB, free: 90 MB / 362.7 MB Notification: Performance of SimCode: time 0.0006974/0.3588, allocations: 0.6784 MB / 0.6126 GB, free: 89.38 MB / 362.7 MB Notification: Performance of Templates: time 0.005712/0.3645, allocations: 1.225 MB / 0.6138 GB, free: 89.38 MB / 362.7 MB "" Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1] Variables in the result: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.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.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.verboseRead,t_new.y[1],time