Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,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.Test17") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002816/0.002815, allocations: 348.4 kB / 15.94 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.943/3.943, 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.003519/0.003519, allocations: 233.1 kB / 397.9 MB, free: 4.98 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.5563/0.5563, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004665/0.0004669, allocations: 16 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08957/0.09006, allocations: 48.7 MB / 0.6067 GB, free: 4.656 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002002/0.09212, allocations: 1.303 MB / 0.608 GB, free: 3.34 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008968/0.09306, allocations: 427.5 kB / 0.6084 GB, free: 2.918 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.674e-05/0.09315, allocations: 0 / 0.6084 GB, free: 2.918 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.09344, allocations: 27.91 kB / 0.6085 GB, free: 2.891 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.09364, allocations: 23.91 kB / 0.6085 GB, free: 2.867 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.09393, allocations: 67.8 kB / 0.6085 GB, free: 2.801 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.09408, allocations: 55.84 kB / 0.6086 GB, free: 2.746 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.0942, allocations: 7.984 kB / 0.6086 GB, free: 2.738 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.738e-05/0.09428, allocations: 31.86 kB / 0.6086 GB, free: 2.707 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.062e-05/0.09436, allocations: 23.91 kB / 0.6087 GB, free: 2.684 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.0944, allocations: 4 kB / 0.6087 GB, free: 2.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.09453, allocations: 35.94 kB / 0.6087 GB, free: 2.645 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.002e-05/0.09458, allocations: 11.92 kB / 0.6087 GB, free: 2.633 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.01e-05/0.09463, allocations: 37.64 kB / 0.6087 GB, free: 2.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.09482, allocations: 80.11 kB / 0.6088 GB, free: 2.512 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.09483, allocations: 0 / 0.6088 GB, free: 2.512 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.09485, allocations: 0 / 0.6088 GB, free: 2.512 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.09486, 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.0004765/0.09534, allocations: 412.6 kB / 0.6092 GB, free: 2.055 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.0954, allocations: 11.97 kB / 0.6092 GB, free: 2.043 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.09545, allocations: 11.86 kB / 0.6092 GB, free: 2.031 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.09565, allocations: 187 kB / 0.6094 GB, free: 1.809 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.09568, allocations: 0 / 0.6094 GB, free: 1.809 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.09571, allocations: 4 kB / 0.6094 GB, free: 1.805 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.09585, allocations: 53.55 kB / 0.6095 GB, free: 1.746 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.09587, allocations: 0 / 0.6095 GB, free: 1.746 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.09589, allocations: 0 / 0.6095 GB, free: 1.746 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.09591, allocations: 4 kB / 0.6095 GB, free: 1.742 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.448e-05/0.09598, allocations: 19.94 kB / 0.6095 GB, free: 1.723 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003417/0.09633, allocations: 276.8 kB / 0.6098 GB, free: 1.402 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.09657, allocations: 50.48 kB / 0.6098 GB, free: 1.344 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.257e-05/0.09662, allocations: 8.859 kB / 0.6098 GB, free: 1.332 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.09666, allocations: 0 / 0.6098 GB, free: 1.332 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001571/0.09682, allocations: 59.48 kB / 0.6099 GB, free: 1.262 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.174e-06/0.09684, allocations: 4 kB / 0.6099 GB, free: 1.258 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004452/0.09729, allocations: 125.3 kB / 0.61 GB, free: 1.129 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.09733, allocations: 51.41 kB / 0.61 GB, free: 1.066 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.0975, allocations: 154.1 kB / 0.6102 GB, free: 0.9023 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.09753, allocations: 29.7 kB / 0.6102 GB, free: 0.8672 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.814e-05/0.09759, allocations: 92.12 kB / 0.6103 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.09763, allocations: 19.75 kB / 0.6103 GB, free: 0.7539 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-06/0.09764, allocations: 4 kB / 0.6103 GB, free: 0.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.671e-05/0.09774, allocations: 322.8 kB / 0.6106 GB, free: 436 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.533e-05/0.0978, allocations: 12 kB / 0.6106 GB, free: 424 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.113e-05/0.09787, allocations: 23.98 kB / 0.6107 GB, free: 400 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.521e-05/0.09795, allocations: 49.64 kB / 0.6107 GB, free: 344 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.09796, allocations: 0 / 0.6107 GB, free: 344 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002057/0.09818, allocations: 115.4 kB / 0.6108 GB, free: 216 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/0.09823, allocations: 45.58 kB / 0.6109 GB, free: 164 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.09825, allocations: 0 / 0.6109 GB, free: 164 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.09827, allocations: 4 kB / 0.6109 GB, free: 160 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.269e-05/0.09836, allocations: 11.94 kB / 0.6109 GB, free: 148 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.09838, allocations: 4 kB / 0.6109 GB, free: 144 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.401e-05/0.09845, allocations: 0 / 0.6109 GB, free: 144 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.09847, allocations: 4 kB / 0.6109 GB, free: 140 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 9.253e-05/0.09858, allocations: 124.2 kB / 0.611 GB, free: 8 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.0986, allocations: 7.906 kB / 0.611 GB, free: 0 / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2719/0.3706, allocations: 8.203 kB / 0.611 GB, free: 90.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.3706, allocations: 4.094 kB / 0.611 GB, free: 90.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.3707, allocations: 0.7031 kB / 0.611 GB, free: 90.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.346e-05/0.3708, allocations: 86.69 kB / 0.6111 GB, free: 90.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.837e-05/0.3708, allocations: 7.172 kB / 0.6111 GB, free: 90.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.3709, allocations: 2.75 kB / 0.6111 GB, free: 90.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.594e-05/0.371, allocations: 4.422 kB / 0.6111 GB, free: 90.43 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003379/0.3714, allocations: 149 kB / 0.6113 GB, free: 90.32 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003088/0.3717, allocations: 243.7 kB / 0.6115 GB, free: 90.12 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.036e-05/0.3718, allocations: 13.56 kB / 0.6115 GB, free: 90.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001794/0.372, allocations: 128.2 kB / 0.6116 GB, free: 90.05 MB / 362.7 MB Notification: Performance of Backend: time 1.062e-06/0.372, allocations: 0 / 0.6116 GB, free: 90.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002264/0.3743, allocations: 433.8 kB / 0.612 GB, free: 89.92 MB / 362.7 MB Notification: Performance of SimCode: time 0.0007845/0.3752, allocations: 0.6204 MB / 0.6127 GB, free: 89.32 MB / 362.7 MB Notification: Performance of Templates: time 0.007497/0.3827, allocations: 1.421 MB / 0.614 GB, free: 89.31 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