Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,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.Test18") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002684/0.002688, allocations: 348.2 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.848/3.848, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.00358/0.00358, allocations: 220.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.5092/0.5092, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004834/0.0004835, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09167/0.09218, allocations: 48.71 MB / 0.6068 GB, free: 4.629 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.001995/0.09423, allocations: 1.307 MB / 0.608 GB, free: 3.309 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009369/0.09521, allocations: 415.5 kB / 0.6084 GB, free: 2.898 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.008e-05/0.09535, allocations: 0 / 0.6084 GB, free: 2.898 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.09566, allocations: 31.91 kB / 0.6085 GB, free: 2.867 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.09585, allocations: 27.89 kB / 0.6085 GB, free: 2.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.09611, allocations: 55.81 kB / 0.6085 GB, free: 2.785 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.09625, allocations: 59.84 kB / 0.6086 GB, free: 2.727 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.09637, allocations: 19.97 kB / 0.6086 GB, free: 2.707 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.899e-05/0.09645, allocations: 23.86 kB / 0.6086 GB, free: 2.684 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.596e-05/0.09653, allocations: 23.91 kB / 0.6087 GB, free: 2.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.09656, allocations: 0 / 0.6087 GB, free: 2.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.0967, allocations: 39.94 kB / 0.6087 GB, free: 2.621 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.853e-05/0.09675, allocations: 15.92 kB / 0.6087 GB, free: 2.605 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.916e-05/0.0968, allocations: 33.64 kB / 0.6087 GB, free: 2.566 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.09698, allocations: 88.03 kB / 0.6088 GB, free: 2.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.097, allocations: 0 / 0.6088 GB, free: 2.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.09701, allocations: 8 kB / 0.6088 GB, free: 2.473 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.09702, allocations: 0 / 0.6088 GB, free: 2.473 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.0004788/0.09751, allocations: 400.6 kB / 0.6092 GB, free: 2.027 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.09756, allocations: 8.031 kB / 0.6092 GB, free: 2.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.09762, allocations: 11.86 kB / 0.6092 GB, free: 2.008 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.09781, allocations: 179 kB / 0.6094 GB, free: 1.793 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.09784, allocations: 8 kB / 0.6094 GB, free: 1.785 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.09788, allocations: 3.984 kB / 0.6094 GB, free: 1.781 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.09801, allocations: 53.56 kB / 0.6095 GB, free: 1.723 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.09803, allocations: 4 kB / 0.6095 GB, free: 1.719 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.09805, allocations: 0 / 0.6095 GB, free: 1.719 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.09807, allocations: 0 / 0.6095 GB, free: 1.719 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.14e-05/0.09814, allocations: 19.94 kB / 0.6095 GB, free: 1.699 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.09848, allocations: 276.8 kB / 0.6098 GB, free: 1.379 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.0987, allocations: 42.5 kB / 0.6098 GB, free: 1.328 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.271e-05/0.09875, allocations: 16.86 kB / 0.6098 GB, free: 1.309 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.09878, allocations: 4 kB / 0.6098 GB, free: 1.305 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001516/0.09894, allocations: 59.48 kB / 0.6099 GB, free: 1.234 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.813e-06/0.09895, allocations: 0 / 0.6099 GB, free: 1.234 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004821/0.09944, allocations: 117.3 kB / 0.61 GB, free: 1.113 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.09948, allocations: 55.41 kB / 0.61 GB, free: 1.047 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.09965, allocations: 154.1 kB / 0.6102 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.09969, allocations: 33.7 kB / 0.6102 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.013e-05/0.09974, allocations: 92.12 kB / 0.6103 GB, free: 0.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.09978, allocations: 19.75 kB / 0.6103 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.054e-06/0.0998, allocations: 0 / 0.6103 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.425e-05/0.09987, allocations: 322.8 kB / 0.6106 GB, free: 416 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.615e-05/0.09994, allocations: 16 kB / 0.6106 GB, free: 400 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.105e-05/0.1, allocations: 19.98 kB / 0.6107 GB, free: 380 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.032e-05/0.1001, allocations: 53.64 kB / 0.6107 GB, free: 320 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1001, allocations: 0 / 0.6107 GB, free: 320 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002/0.1003, allocations: 119.3 kB / 0.6108 GB, free: 188 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.536e-05/0.1004, allocations: 41.64 kB / 0.6109 GB, free: 140 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1004, allocations: 0 / 0.6109 GB, free: 140 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1004, allocations: 0 / 0.6109 GB, free: 140 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.928e-05/0.1005, allocations: 11.94 kB / 0.6109 GB, free: 128 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.1005, allocations: 0 / 0.6109 GB, free: 128 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.204e-05/0.1006, allocations: 4 kB / 0.6109 GB, free: 124 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.1006, allocations: 7.984 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.2683/0.3689, allocations: 117.4 kB / 0.611 GB, free: 90.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.197e-05/0.369, allocations: 11.69 kB / 0.611 GB, free: 90.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.885e-05/0.3691, allocations: 13.56 kB / 0.611 GB, free: 90.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.3691, allocations: 2.156 kB / 0.611 GB, free: 90.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3691, allocations: 0.7812 kB / 0.611 GB, free: 90.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.3691, allocations: 85.92 kB / 0.6111 GB, free: 90.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.3692, allocations: 5.516 kB / 0.6111 GB, free: 90.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.53e-05/0.3693, allocations: 3.562 kB / 0.6111 GB, free: 90.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.3693, allocations: 4.312 kB / 0.6111 GB, free: 90.32 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002371/0.3696, allocations: 149.9 kB / 0.6113 GB, free: 90.21 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002041/0.3698, allocations: 240.4 kB / 0.6115 GB, free: 90.01 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.424e-05/0.3699, allocations: 15.42 kB / 0.6115 GB, free: 90.01 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001163/0.37, allocations: 119.2 kB / 0.6116 GB, free: 89.94 MB / 362.7 MB Notification: Performance of Backend: time 7.82e-07/0.37, allocations: 0 / 0.6116 GB, free: 89.94 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001518/0.3715, allocations: 436.3 kB / 0.612 GB, free: 89.81 MB / 362.7 MB Notification: Performance of SimCode: time 0.0006864/0.3723, allocations: 0.6306 MB / 0.6127 GB, free: 89.21 MB / 362.7 MB Notification: Performance of Templates: time 0.006138/0.3784, allocations: 1.408 MB / 0.614 GB, free: 89.2 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.verboseRead,t_new.y[1],time