Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,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.Test1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002753/0.002753, allocations: 347.4 kB / 15.95 MB, free: 6.219 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.685/3.685, 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.003587/0.003587, allocations: 224.6 kB / 397.9 MB, free: 4.977 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.5505/0.5505, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004719/0.0004719, allocations: 16 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08475/0.08524, allocations: 48.7 MB / 0.6068 GB, free: 4.645 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002055/0.08735, allocations: 1.303 MB / 0.608 GB, free: 3.328 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008965/0.0883, allocations: 427.4 kB / 0.6084 GB, free: 2.906 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.931e-05/0.08838, allocations: 0 / 0.6084 GB, free: 2.906 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.08867, allocations: 43.88 kB / 0.6085 GB, free: 2.863 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.08885, allocations: 31.91 kB / 0.6085 GB, free: 2.832 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002147/0.08908, allocations: 67.8 kB / 0.6086 GB, free: 2.766 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.08923, allocations: 59.83 kB / 0.6086 GB, free: 2.707 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.329e-05/0.08933, allocations: 15.86 kB / 0.6086 GB, free: 2.691 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.612e-05/0.08941, allocations: 27.92 kB / 0.6087 GB, free: 2.664 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.942e-05/0.08949, allocations: 23.86 kB / 0.6087 GB, free: 2.641 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.08952, allocations: 0 / 0.6087 GB, free: 2.641 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.08966, allocations: 47.97 kB / 0.6087 GB, free: 2.594 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.501e-05/0.08971, allocations: 19.92 kB / 0.6088 GB, free: 2.574 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.829e-05/0.08976, allocations: 41.58 kB / 0.6088 GB, free: 2.527 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.08995, allocations: 96.09 kB / 0.6089 GB, free: 2.434 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.08997, allocations: 3.984 kB / 0.6089 GB, free: 2.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.08998, allocations: 0 / 0.6089 GB, free: 2.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.08999, allocations: 0 / 0.6089 GB, free: 2.43 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.0005095/0.09051, allocations: 432.5 kB / 0.6093 GB, free: 1.953 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.09056, allocations: 8.031 kB / 0.6093 GB, free: 1.945 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.466e-05/0.09062, allocations: 19.77 kB / 0.6093 GB, free: 1.926 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.09082, allocations: 194.9 kB / 0.6095 GB, free: 1.695 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.09085, allocations: 0 / 0.6095 GB, free: 1.695 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.09089, allocations: 4 kB / 0.6095 GB, free: 1.691 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.09102, allocations: 45.67 kB / 0.6096 GB, free: 1.641 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.09105, allocations: 3.938 kB / 0.6096 GB, free: 1.637 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.09107, allocations: 7.938 kB / 0.6096 GB, free: 1.629 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.09108, allocations: 3.984 kB / 0.6096 GB, free: 1.625 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.9e-05/0.09115, allocations: 11.95 kB / 0.6096 GB, free: 1.613 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/0.09151, allocations: 296.8 kB / 0.6099 GB, free: 1.273 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.09173, allocations: 38.58 kB / 0.6099 GB, free: 1.227 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.331e-05/0.09178, allocations: 12.94 kB / 0.6099 GB, free: 1.211 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.09181, allocations: 7.938 kB / 0.6099 GB, free: 1.203 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.09197, allocations: 51.41 kB / 0.61 GB, free: 1.141 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.595e-06/0.09199, allocations: 4 kB / 0.61 GB, free: 1.137 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004609/0.09246, allocations: 137.1 kB / 0.6101 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/0.0925, allocations: 51.41 kB / 0.6102 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/0.09277, allocations: 240.4 kB / 0.6104 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.09281, allocations: 25.7 kB / 0.6104 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.761e-05/0.09288, allocations: 112.1 kB / 0.6105 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.09292, allocations: 15.8 kB / 0.6105 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.226e-06/0.09294, allocations: 4 kB / 0.6105 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.865e-05/0.09301, allocations: 326.8 kB / 0.6109 GB, free: 196 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.443e-05/0.09308, allocations: 12 kB / 0.6109 GB, free: 184 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.183e-05/0.09314, allocations: 23.98 kB / 0.6109 GB, free: 160 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.312e-05/0.09323, allocations: 49.73 kB / 0.6109 GB, free: 104 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.09324, allocations: 0 / 0.6109 GB, free: 104 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.2671/0.3603, allocations: 122.8 kB / 0.6111 GB, free: 90.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.888e-05/0.3604, allocations: 34.09 kB / 0.6111 GB, free: 90.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.3605, allocations: 0.7031 kB / 0.6111 GB, free: 90.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.3605, allocations: 1.719 kB / 0.6111 GB, free: 90.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.234e-05/0.3606, allocations: 9.094 kB / 0.6111 GB, free: 90.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.3606, allocations: 4.969 kB / 0.6111 GB, free: 90.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.3607, allocations: 4.297 kB / 0.6111 GB, free: 90.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.3608, allocations: 4.312 kB / 0.6111 GB, free: 90.35 MB / 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.000139/0.3609, allocations: 140.9 kB / 0.6112 GB, free: 90.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.3609, allocations: 13.08 kB / 0.6113 GB, free: 90.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.277e-05/0.361, allocations: 15.03 kB / 0.6113 GB, free: 90.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.361, allocations: 0 / 0.6113 GB, free: 90.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.361, allocations: 3.922 kB / 0.6113 GB, free: 90.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.718e-05/0.3611, allocations: 91 kB / 0.6114 GB, free: 90.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.3611, allocations: 7.516 kB / 0.6114 GB, free: 90.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.081e-05/0.3612, allocations: 4.453 kB / 0.6114 GB, free: 90.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.3613, allocations: 1.531 kB / 0.6114 GB, free: 90.14 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002103/0.3615, allocations: 146.1 kB / 0.6115 GB, free: 90.03 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002102/0.3617, allocations: 252.4 kB / 0.6118 GB, free: 89.82 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.584e-05/0.3618, allocations: 19.72 kB / 0.6118 GB, free: 89.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002086/0.362, allocations: 186.2 kB / 0.6119 GB, free: 89.75 MB / 362.7 MB Notification: Performance of Backend: time 9.32e-07/0.362, allocations: 1.406 kB / 0.6119 GB, free: 89.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001453/0.3635, allocations: 429.4 kB / 0.6124 GB, free: 89.62 MB / 362.7 MB Notification: Performance of SimCode: time 0.000782/0.3643, allocations: 0.6874 MB / 0.613 GB, free: 89 MB / 362.7 MB Notification: Performance of Templates: time 0.006407/0.3707, allocations: 1.453 MB / 0.6144 GB, free: 88.99 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.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