Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,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.Test36") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003951/0.003951, allocations: 345.8 kB / 15.95 MB, free: 6.203 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.374/3.374, allocations: 341.5 MB / 358.2 MB, free: 28.61 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003621/0.003621, allocations: 229 kB / 397.9 MB, free: 6.016 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5019/0.5019, allocations: 76.09 MB / 0.5014 GB, free: 0.8242 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004576/0.0004578, allocations: 15.94 kB / 0.5592 GB, free: 60.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08685/0.08733, allocations: 48.72 MB / 0.6068 GB, free: 11.52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.001914/0.0893, allocations: 1.296 MB / 0.608 GB, free: 10.22 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009525/0.0903, allocations: 431.5 kB / 0.6084 GB, free: 9.793 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.184e-05/0.09039, allocations: 3.938 kB / 0.6084 GB, free: 9.789 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003158/0.09072, allocations: 75.83 kB / 0.6085 GB, free: 9.715 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001976/0.09093, allocations: 51.86 kB / 0.6086 GB, free: 9.664 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.09117, allocations: 59.81 kB / 0.6086 GB, free: 9.605 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.09133, allocations: 71.8 kB / 0.6087 GB, free: 9.535 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.09144, allocations: 11.98 kB / 0.6087 GB, free: 9.523 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.68e-05/0.09153, allocations: 39.84 kB / 0.6087 GB, free: 9.484 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.779e-05/0.09164, allocations: 47.88 kB / 0.6088 GB, free: 9.438 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.09167, allocations: 0 / 0.6088 GB, free: 9.438 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.09181, allocations: 35.94 kB / 0.6088 GB, free: 9.402 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.395e-05/0.09187, allocations: 19.97 kB / 0.6088 GB, free: 9.383 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.085e-05/0.09192, allocations: 41.62 kB / 0.6089 GB, free: 9.336 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.09211, allocations: 84.12 kB / 0.609 GB, free: 9.254 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.09213, allocations: 0 / 0.609 GB, free: 9.254 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.975e-06/0.09214, allocations: 0 / 0.609 GB, free: 9.254 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.09215, allocations: 3.938 kB / 0.609 GB, free: 9.25 MB / 282.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.0004668/0.09263, allocations: 416.6 kB / 0.6094 GB, free: 8.789 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.09268, allocations: 8.031 kB / 0.6094 GB, free: 8.781 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.09274, allocations: 7.906 kB / 0.6094 GB, free: 8.773 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.09294, allocations: 212.1 kB / 0.6096 GB, free: 8.527 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.09297, allocations: 0 / 0.6096 GB, free: 8.527 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.09301, allocations: 8 kB / 0.6096 GB, free: 8.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.09315, allocations: 41.69 kB / 0.6096 GB, free: 8.473 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.09317, allocations: 0 / 0.6096 GB, free: 8.473 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.0932, allocations: 3.938 kB / 0.6096 GB, free: 8.469 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.09321, allocations: 0 / 0.6096 GB, free: 8.469 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.306e-05/0.09328, allocations: 15.98 kB / 0.6096 GB, free: 8.453 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.09365, allocations: 300.7 kB / 0.6099 GB, free: 8.109 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.09388, allocations: 42.56 kB / 0.61 GB, free: 8.059 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.185e-05/0.09393, allocations: 8.859 kB / 0.61 GB, free: 8.047 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.09396, allocations: 4 kB / 0.61 GB, free: 8.043 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.09414, allocations: 59.47 kB / 0.61 GB, free: 7.973 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.804e-06/0.09416, allocations: 0 / 0.61 GB, free: 7.973 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004301/0.0946, allocations: 113.3 kB / 0.6101 GB, free: 7.855 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.09464, allocations: 51.41 kB / 0.6102 GB, free: 7.793 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.09487, allocations: 215.2 kB / 0.6104 GB, free: 7.57 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.0949, allocations: 33.64 kB / 0.6104 GB, free: 7.531 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.867e-05/0.09497, allocations: 104.1 kB / 0.6105 GB, free: 7.426 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.095, allocations: 15.75 kB / 0.6105 GB, free: 7.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/0.09502, allocations: 0 / 0.6105 GB, free: 7.41 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.832e-05/0.0951, allocations: 330.8 kB / 0.6109 GB, free: 7.078 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.545e-05/0.09516, allocations: 19.92 kB / 0.6109 GB, free: 7.059 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.303e-05/0.09522, allocations: 23.98 kB / 0.6109 GB, free: 7.035 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.606e-05/0.09531, allocations: 53.69 kB / 0.611 GB, free: 6.977 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.09532, allocations: 0 / 0.611 GB, free: 6.977 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000205/0.09554, allocations: 119.2 kB / 0.6111 GB, free: 6.848 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/0.09558, allocations: 33.7 kB / 0.6111 GB, free: 6.809 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.0956, allocations: 0 / 0.6111 GB, free: 6.809 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.09562, allocations: 0 / 0.6111 GB, free: 6.809 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.413e-05/0.09571, allocations: 11.98 kB / 0.6111 GB, free: 6.797 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.09572, allocations: 0 / 0.6111 GB, free: 6.797 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.597e-05/0.0958, allocations: 4 kB / 0.6111 GB, free: 6.793 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.09582, allocations: 4.094 kB / 0.6111 GB, free: 6.789 MB / 282.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.919e-05/0.09593, allocations: 137.7 kB / 0.6113 GB, free: 6.645 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.09596, allocations: 7.906 kB / 0.6113 GB, free: 6.637 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.419e-05/0.09602, allocations: 13.06 kB / 0.6113 GB, free: 6.625 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.09604, allocations: 7.984 kB / 0.6113 GB, free: 6.617 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.09605, allocations: 0 / 0.6113 GB, free: 6.617 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.581e-05/0.09609, allocations: 88.92 kB / 0.6114 GB, free: 6.512 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.09613, allocations: 4 kB / 0.6114 GB, free: 6.508 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.525e-05/0.09619, allocations: 4 kB / 0.6114 GB, free: 6.504 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.09624, allocations: 11.94 kB / 0.6114 GB, free: 6.492 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001688/0.09642, allocations: 148.9 kB / 0.6115 GB, free: 6.34 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001795/0.09661, allocations: 242.7 kB / 0.6118 GB, free: 6.086 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.61e-05/0.09667, allocations: 12 kB / 0.6118 GB, free: 6.074 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001381/0.09682, allocations: 151.9 kB / 0.6119 GB, free: 5.926 MB / 282.7 MB Notification: Performance of Backend: time 9.92e-07/0.09683, allocations: 0 / 0.6119 GB, free: 5.926 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001412/0.09825, allocations: 447 kB / 0.6123 GB, free: 5.59 MB / 282.7 MB Notification: Performance of SimCode: time 0.0006129/0.09889, allocations: 0.6702 MB / 0.613 GB, free: 4.875 MB / 282.7 MB Notification: Performance of Templates: time 0.005236/0.1041, allocations: 1.429 MB / 0.6144 GB, free: 3.461 MB / 282.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.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.verboseRead,t_new.y[1],time