Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003796/0.003802, allocations: 352.3 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.845/3.845, 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.003635/0.003635, 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.4696/0.4696, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000483/0.0004832, allocations: 20 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08598/0.0865, allocations: 48.7 MB / 0.6067 GB, free: 4.656 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.001891/0.08845, allocations: 1.268 MB / 0.608 GB, free: 3.375 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008859/0.08937, allocations: 411.5 kB / 0.6084 GB, free: 2.969 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.509e-05/0.08945, allocations: 0 / 0.6084 GB, free: 2.969 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003435/0.08981, allocations: 47.86 kB / 0.6084 GB, free: 2.922 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000186/0.09002, allocations: 35.91 kB / 0.6085 GB, free: 2.887 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.09029, allocations: 55.81 kB / 0.6085 GB, free: 2.832 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.09044, allocations: 59.81 kB / 0.6086 GB, free: 2.773 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.722e-05/0.09051, allocations: 4 kB / 0.6086 GB, free: 2.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.562e-05/0.09059, allocations: 27.86 kB / 0.6086 GB, free: 2.742 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.43e-05/0.09069, allocations: 23.92 kB / 0.6086 GB, free: 2.719 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.09072, allocations: 4 kB / 0.6086 GB, free: 2.715 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.09085, allocations: 31.97 kB / 0.6087 GB, free: 2.684 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.168e-05/0.09092, allocations: 19.92 kB / 0.6087 GB, free: 2.664 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.744e-05/0.09099, allocations: 41.64 kB / 0.6087 GB, free: 2.617 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.09118, allocations: 88.05 kB / 0.6088 GB, free: 2.531 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.0912, allocations: 0 / 0.6088 GB, free: 2.531 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.09121, allocations: 0 / 0.6088 GB, free: 2.531 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.09122, allocations: 3.938 kB / 0.6088 GB, free: 2.527 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.0005162/0.09175, allocations: 416.5 kB / 0.6092 GB, free: 2.066 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.09181, allocations: 8.031 kB / 0.6092 GB, free: 2.059 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.558e-05/0.09187, allocations: 19.77 kB / 0.6092 GB, free: 2.039 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.09211, allocations: 202.8 kB / 0.6094 GB, free: 1.801 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.09214, allocations: 4 kB / 0.6094 GB, free: 1.797 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.09216, allocations: 0 / 0.6094 GB, free: 1.797 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.09229, allocations: 41.69 kB / 0.6095 GB, free: 1.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.09232, allocations: 0 / 0.6095 GB, free: 1.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.09234, allocations: 0 / 0.6095 GB, free: 1.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.09235, allocations: 0 / 0.6095 GB, free: 1.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.768e-05/0.09242, allocations: 15.94 kB / 0.6095 GB, free: 1.734 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001974/0.09263, allocations: 185.6 kB / 0.6097 GB, free: 1.504 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.628e-05/0.09272, allocations: 34.52 kB / 0.6097 GB, free: 1.461 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.222e-05/0.09276, allocations: 8.922 kB / 0.6097 GB, free: 1.449 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.0928, allocations: 3.984 kB / 0.6097 GB, free: 1.445 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.09299, allocations: 59.33 kB / 0.6098 GB, free: 1.375 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.924e-06/0.09301, allocations: 0 / 0.6098 GB, free: 1.375 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002495/0.09326, allocations: 69.5 kB / 0.6098 GB, free: 1.301 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.09331, allocations: 63.33 kB / 0.6099 GB, free: 1.227 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002805/0.0936, allocations: 240.4 kB / 0.6101 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.09364, allocations: 29.7 kB / 0.6101 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.435e-05/0.09375, allocations: 108.1 kB / 0.6102 GB, free: 0.832 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.09378, allocations: 3.906 kB / 0.6102 GB, free: 0.8281 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/0.0938, allocations: 4 kB / 0.6103 GB, free: 0.8242 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.161e-05/0.09388, allocations: 326.8 kB / 0.6106 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.906e-05/0.09394, allocations: 15.98 kB / 0.6106 GB, free: 492 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.146e-05/0.09399, allocations: 12 kB / 0.6106 GB, free: 480 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.704e-05/0.09407, allocations: 53.69 kB / 0.6106 GB, free: 420 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.09408, allocations: 0 / 0.6106 GB, free: 420 kB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001734/0.09426, allocations: 103.3 kB / 0.6107 GB, free: 304 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.582e-05/0.09431, allocations: 33.7 kB / 0.6108 GB, free: 264 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.09433, allocations: 0 / 0.6108 GB, free: 264 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.09435, allocations: 0 / 0.6108 GB, free: 264 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.073e-05/0.09444, allocations: 11.94 kB / 0.6108 GB, free: 252 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.09446, allocations: 0 / 0.6108 GB, free: 252 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.779e-05/0.09454, allocations: 7.906 kB / 0.6108 GB, free: 244 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.09456, allocations: 7.984 kB / 0.6108 GB, free: 236 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.0001009/0.09467, allocations: 136.2 kB / 0.6109 GB, free: 92 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.009e-05/0.0947, allocations: 7.906 kB / 0.6109 GB, free: 84 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.63e-05/0.09475, allocations: 20.88 kB / 0.611 GB, free: 64 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.09477, allocations: 0 / 0.611 GB, free: 64 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.09478, allocations: 0 / 0.611 GB, free: 64 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2734/0.3682, allocations: 88.59 kB / 0.611 GB, free: 90.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.677e-05/0.3683, allocations: 0 / 0.611 GB, free: 90.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.3685, allocations: 9.625 kB / 0.611 GB, free: 90.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/0.3686, allocations: 2.969 kB / 0.6111 GB, free: 90.54 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003337/0.3689, allocations: 128.9 kB / 0.6112 GB, free: 90.43 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003583/0.3693, allocations: 234.8 kB / 0.6114 GB, free: 90.23 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.631e-05/0.3694, allocations: 8.922 kB / 0.6114 GB, free: 90.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004252/0.3699, allocations: 185.7 kB / 0.6116 GB, free: 90.15 MB / 362.7 MB Notification: Performance of Backend: time 2.425e-06/0.3699, allocations: 0 / 0.6116 GB, free: 90.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002387/0.3723, allocations: 402.8 kB / 0.612 GB, free: 90.02 MB / 362.7 MB Notification: Performance of SimCode: time 0.001036/0.3734, allocations: 0.6763 MB / 0.6126 GB, free: 89.41 MB / 362.7 MB Notification: Performance of Templates: time 0.008682/0.3821, allocations: 1.231 MB / 0.6138 GB, free: 89.4 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