Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,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.Test32") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002625/0.002625, 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.8/3.8, 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.003669/0.003668, allocations: 229.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.5186/0.5186, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005225/0.0005227, allocations: 12 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09173/0.09228, allocations: 48.71 MB / 0.6068 GB, free: 4.648 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.00214/0.09449, allocations: 1.296 MB / 0.608 GB, free: 3.34 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009316/0.09547, allocations: 419.5 kB / 0.6084 GB, free: 2.926 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.998e-05/0.09557, allocations: 0 / 0.6084 GB, free: 2.926 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.09588, allocations: 31.89 kB / 0.6084 GB, free: 2.895 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.09608, allocations: 27.91 kB / 0.6085 GB, free: 2.867 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.09635, allocations: 55.81 kB / 0.6085 GB, free: 2.812 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.0965, allocations: 67.83 kB / 0.6086 GB, free: 2.746 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.09663, allocations: 7.984 kB / 0.6086 GB, free: 2.738 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.161e-05/0.09671, allocations: 31.8 kB / 0.6086 GB, free: 2.707 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.777e-05/0.09679, allocations: 23.91 kB / 0.6087 GB, free: 2.684 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.09682, allocations: 4 kB / 0.6087 GB, free: 2.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.09698, allocations: 39.88 kB / 0.6087 GB, free: 2.641 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.263e-05/0.09703, allocations: 11.98 kB / 0.6087 GB, free: 2.629 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.439e-05/0.09709, allocations: 33.64 kB / 0.6087 GB, free: 2.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.09729, allocations: 88.09 kB / 0.6088 GB, free: 2.504 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.09731, allocations: 4 kB / 0.6088 GB, free: 2.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.09732, allocations: 0 / 0.6088 GB, free: 2.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.09733, allocations: 0 / 0.6088 GB, free: 2.5 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.0005202/0.09786, allocations: 404.6 kB / 0.6092 GB, free: 2.051 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.09792, allocations: 8.031 kB / 0.6092 GB, free: 2.043 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.784e-05/0.09798, allocations: 15.84 kB / 0.6092 GB, free: 2.027 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.09818, allocations: 190.9 kB / 0.6094 GB, free: 1.801 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.09822, allocations: 7.938 kB / 0.6094 GB, free: 1.793 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.09827, allocations: 11.94 kB / 0.6094 GB, free: 1.781 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.09841, allocations: 41.69 kB / 0.6095 GB, free: 1.734 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.09844, allocations: 0 / 0.6095 GB, free: 1.734 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.09846, allocations: 3.953 kB / 0.6095 GB, free: 1.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.09847, allocations: 0 / 0.6095 GB, free: 1.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.363e-05/0.09855, allocations: 19.97 kB / 0.6095 GB, free: 1.711 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003565/0.09891, allocations: 272.9 kB / 0.6098 GB, free: 1.395 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.09916, allocations: 42.52 kB / 0.6098 GB, free: 1.344 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.531e-05/0.09921, allocations: 16.94 kB / 0.6098 GB, free: 1.324 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.09924, allocations: 0 / 0.6098 GB, free: 1.324 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.09941, allocations: 63.36 kB / 0.6099 GB, free: 1.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.873e-06/0.09943, allocations: 0 / 0.6099 GB, free: 1.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004578/0.09989, allocations: 117.3 kB / 0.61 GB, free: 1.129 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.09993, allocations: 51.41 kB / 0.61 GB, free: 1.066 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.1001, allocations: 171.9 kB / 0.6102 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.1002, allocations: 33.7 kB / 0.6102 GB, free: 0.8516 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.439e-05/0.1002, allocations: 108 kB / 0.6103 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.1002, allocations: 3.906 kB / 0.6103 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-06/0.1003, allocations: 8 kB / 0.6103 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.397e-05/0.1003, allocations: 318.8 kB / 0.6107 GB, free: 420 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.599e-05/0.1004, allocations: 16 kB / 0.6107 GB, free: 404 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.329e-05/0.1005, allocations: 23.92 kB / 0.6107 GB, free: 380 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.739e-05/0.1006, allocations: 49.73 kB / 0.6107 GB, free: 324 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1006, allocations: 4 kB / 0.6107 GB, free: 320 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002166/0.1008, allocations: 115.3 kB / 0.6109 GB, free: 192 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.57e-05/0.1009, allocations: 41.64 kB / 0.6109 GB, free: 144 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.1009, allocations: 0 / 0.6109 GB, free: 144 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.1009, allocations: 0 / 0.6109 GB, free: 144 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.527e-05/0.101, allocations: 15.94 kB / 0.6109 GB, free: 128 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.101, allocations: 0 / 0.6109 GB, free: 128 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.407e-05/0.1011, allocations: 4 kB / 0.6109 GB, free: 124 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.1011, allocations: 0 / 0.6109 GB, free: 124 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 0.2635/0.3646, allocations: 127 kB / 0.611 GB, free: 90.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.949e-05/0.3647, allocations: 11.19 kB / 0.611 GB, free: 90.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.328e-05/0.3648, allocations: 14.19 kB / 0.6111 GB, free: 90.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.3648, allocations: 2.047 kB / 0.6111 GB, free: 90.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3648, allocations: 1.75 kB / 0.6111 GB, free: 90.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.526e-05/0.3649, allocations: 84.94 kB / 0.6111 GB, free: 90.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.3649, allocations: 4.844 kB / 0.6111 GB, free: 90.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.34e-05/0.365, allocations: 3.812 kB / 0.6111 GB, free: 90.26 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.3651, allocations: 5.609 kB / 0.6112 GB, free: 90.26 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002245/0.3653, allocations: 147.1 kB / 0.6113 GB, free: 90.15 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002025/0.3655, allocations: 239.6 kB / 0.6115 GB, free: 89.95 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.426e-05/0.3656, allocations: 15.97 kB / 0.6115 GB, free: 89.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001669/0.3658, allocations: 135.6 kB / 0.6117 GB, free: 89.87 MB / 362.7 MB Notification: Performance of Backend: time 7.61e-07/0.3658, allocations: 0 / 0.6117 GB, free: 89.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001474/0.3673, allocations: 443.8 kB / 0.6121 GB, free: 89.75 MB / 362.7 MB Notification: Performance of SimCode: time 0.0006565/0.368, allocations: 0.6336 MB / 0.6127 GB, free: 89.14 MB / 362.7 MB Notification: Performance of Templates: time 0.006319/0.3743, allocations: 1.423 MB / 0.6141 GB, free: 89.12 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.table[3,1],t_new.table[3,2],t_new.verboseRead,t_new.y[1],time