Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,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.Test33") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002616/0.002615, 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.734/3.734, 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.003756/0.003756, 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.522/0.522, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004728/0.000473, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0916/0.09209, allocations: 48.7 MB / 0.6067 GB, free: 4.648 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002121/0.09427, allocations: 1.303 MB / 0.608 GB, free: 3.332 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.000944/0.09527, allocations: 415.5 kB / 0.6084 GB, free: 2.922 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.589e-05/0.09536, allocations: 4 kB / 0.6084 GB, free: 2.918 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002794/0.09565, allocations: 27.89 kB / 0.6084 GB, free: 2.891 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.09585, allocations: 31.91 kB / 0.6085 GB, free: 2.859 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.09611, allocations: 59.8 kB / 0.6085 GB, free: 2.801 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.09626, allocations: 63.84 kB / 0.6086 GB, free: 2.738 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.09638, allocations: 11.97 kB / 0.6086 GB, free: 2.727 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.313e-05/0.09647, allocations: 27.86 kB / 0.6086 GB, free: 2.699 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.828e-05/0.09655, allocations: 27.84 kB / 0.6087 GB, free: 2.672 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.09658, allocations: 3.938 kB / 0.6087 GB, free: 2.668 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.09674, allocations: 39.98 kB / 0.6087 GB, free: 2.629 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.194e-05/0.09679, allocations: 7.938 kB / 0.6087 GB, free: 2.621 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.336e-05/0.09684, allocations: 37.64 kB / 0.6087 GB, free: 2.578 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.09703, allocations: 84.09 kB / 0.6088 GB, free: 2.496 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.09705, allocations: 4 kB / 0.6088 GB, free: 2.492 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.09706, allocations: 0 / 0.6088 GB, free: 2.492 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.09708, allocations: 0 / 0.6088 GB, free: 2.492 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.0004893/0.09757, allocations: 408.6 kB / 0.6092 GB, free: 2.039 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.09763, allocations: 8.031 kB / 0.6092 GB, free: 2.031 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/0.09768, allocations: 15.84 kB / 0.6092 GB, free: 2.016 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.09789, allocations: 190.9 kB / 0.6094 GB, free: 1.789 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.09792, allocations: 3.938 kB / 0.6094 GB, free: 1.785 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.09795, allocations: 4 kB / 0.6094 GB, free: 1.781 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.09809, allocations: 53.62 kB / 0.6095 GB, free: 1.723 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.09812, allocations: 0 / 0.6095 GB, free: 1.723 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.09814, allocations: 3.953 kB / 0.6095 GB, free: 1.719 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.09815, allocations: 0 / 0.6095 GB, free: 1.719 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.995e-05/0.09826, allocations: 11.98 kB / 0.6095 GB, free: 1.707 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003509/0.09863, allocations: 280.9 kB / 0.6098 GB, free: 1.383 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.09886, allocations: 42.52 kB / 0.6098 GB, free: 1.332 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.37e-05/0.09891, allocations: 16.94 kB / 0.6098 GB, free: 1.312 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.09895, allocations: 0 / 0.6098 GB, free: 1.312 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.09911, allocations: 55.36 kB / 0.6099 GB, free: 1.246 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.014e-06/0.09913, allocations: 0 / 0.6099 GB, free: 1.246 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004463/0.09958, allocations: 125.3 kB / 0.61 GB, free: 1.117 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/0.09962, allocations: 51.41 kB / 0.61 GB, free: 1.055 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.09981, allocations: 171.9 kB / 0.6102 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.09984, allocations: 25.7 kB / 0.6102 GB, free: 0.8477 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/0.0999, allocations: 108 kB / 0.6103 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.09993, allocations: 7.906 kB / 0.6103 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.692e-06/0.09995, allocations: 0 / 0.6103 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.387e-05/0.1, allocations: 322.8 kB / 0.6107 GB, free: 416 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.535e-05/0.1001, allocations: 16 kB / 0.6107 GB, free: 400 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.173e-05/0.1001, allocations: 23.92 kB / 0.6107 GB, free: 376 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.63e-05/0.1002, allocations: 53.73 kB / 0.6107 GB, free: 316 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1002, allocations: 4 kB / 0.6107 GB, free: 312 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002091/0.1005, allocations: 115.3 kB / 0.6109 GB, free: 184 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/0.1005, allocations: 37.64 kB / 0.6109 GB, free: 140 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1005, allocations: 0 / 0.6109 GB, free: 140 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.1006, allocations: 4 kB / 0.6109 GB, free: 136 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.784e-05/0.1006, allocations: 11.94 kB / 0.6109 GB, free: 124 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.1007, allocations: 0 / 0.6109 GB, free: 124 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.974e-05/0.1007, allocations: 4 kB / 0.6109 GB, free: 120 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.1008, allocations: 4 kB / 0.6109 GB, free: 116 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.2817/0.3825, allocations: 123.1 kB / 0.611 GB, free: 90.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.942e-05/0.3825, allocations: 10.05 kB / 0.611 GB, free: 90.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8e-05/0.3826, allocations: 14.77 kB / 0.6111 GB, free: 90.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.3826, allocations: 0 / 0.6111 GB, free: 90.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.3827, allocations: 0 / 0.6111 GB, free: 90.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-05/0.3827, allocations: 88.89 kB / 0.6111 GB, free: 90.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.3828, allocations: 5.969 kB / 0.6111 GB, free: 90.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.877e-05/0.3828, allocations: 6.812 kB / 0.6112 GB, free: 90.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.3829, allocations: 4.016 kB / 0.6112 GB, free: 90.21 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002324/0.3831, allocations: 145.2 kB / 0.6113 GB, free: 90.11 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002022/0.3834, allocations: 239.5 kB / 0.6115 GB, free: 89.91 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.374e-05/0.3834, allocations: 18.16 kB / 0.6115 GB, free: 89.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001402/0.3836, allocations: 138.8 kB / 0.6117 GB, free: 89.83 MB / 362.7 MB Notification: Performance of Backend: time 1.112e-06/0.3836, allocations: 0 / 0.6117 GB, free: 89.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001383/0.385, allocations: 441 kB / 0.6121 GB, free: 89.7 MB / 362.7 MB Notification: Performance of SimCode: time 0.0006073/0.3856, allocations: 0.6399 MB / 0.6127 GB, free: 89.09 MB / 362.7 MB Notification: Performance of Templates: time 0.006953/0.3926, allocations: 1.411 MB / 0.6141 GB, free: 89.08 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