Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004806/0.004811, allocations: 361.9 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.2+maint.om/package.mo): time 4.51/4.51, allocations: 388.9 MB / 405.6 MB, free: 9.559 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003607/0.003607, allocations: 220.5 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5815/0.5815, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005016/0.0005019, allocations: 12.81 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1105, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5326/0.6431, allocations: 82.15 MB / 0.7603 GB, free: 3.176 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/0.6435, allocations: 79.03 kB / 0.7604 GB, free: 3.133 MB / 346.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02071/0.6642, allocations: 4.753 MB / 0.765 GB, free: 15.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.6643, allocations: 0 / 0.765 GB, free: 15.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.977e-05/0.6643, allocations: 0 / 0.765 GB, free: 15.11 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0009187/0.6652, allocations: 495.5 kB / 0.7655 GB, free: 14.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.6653, allocations: 8.828 kB / 0.7655 GB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.6655, allocations: 15.81 kB / 0.7655 GB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004659/0.6659, allocations: 209.4 kB / 0.7657 GB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.375e-05/0.666, allocations: 5.125 kB / 0.7657 GB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.67e-05/0.666, allocations: 4.812 kB / 0.7657 GB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.6663, allocations: 59.91 kB / 0.7658 GB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.6663, allocations: 0 / 0.7658 GB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.6664, allocations: 11.89 kB / 0.7658 GB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.6664, allocations: 4 kB / 0.7658 GB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.6665, allocations: 27.05 kB / 0.7658 GB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006559/0.6672, allocations: 316.8 kB / 0.7661 GB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.6675, allocations: 57.25 kB / 0.7662 GB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.619e-05/0.6676, allocations: 28.47 kB / 0.7662 GB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.6676, allocations: 7.922 kB / 0.7662 GB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002232/0.6679, allocations: 78.73 kB / 0.7663 GB, free: 13.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.745e-06/0.6679, allocations: 0 / 0.7663 GB, free: 13.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008621/0.6688, allocations: 189.4 kB / 0.7665 GB, free: 13.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.6688, allocations: 51.41 kB / 0.7665 GB, free: 13.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003499/0.6692, allocations: 222.7 kB / 0.7668 GB, free: 13.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/0.6692, allocations: 29.39 kB / 0.7668 GB, free: 13.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.784e-05/0.6693, allocations: 106.7 kB / 0.7669 GB, free: 13.17 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.359e-05/0.6694, allocations: 30.77 kB / 0.7669 GB, free: 13.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.057e-05/0.6694, allocations: 0 / 0.7669 GB, free: 13.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.6696, allocations: 326.7 kB / 0.7672 GB, free: 12.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.6697, allocations: 37.92 kB / 0.7673 GB, free: 12.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.6699, allocations: 55.53 kB / 0.7673 GB, free: 12.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.6701, allocations: 79.38 kB / 0.7674 GB, free: 12.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.6701, allocations: 0 / 0.7674 GB, free: 12.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004847/0.6706, allocations: 180.4 kB / 0.7676 GB, free: 12.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.194e-05/0.6707, allocations: 33.64 kB / 0.7676 GB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.6707, allocations: 4 kB / 0.7676 GB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.6707, allocations: 0 / 0.7676 GB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.6709, allocations: 19.92 kB / 0.7676 GB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.6709, allocations: 0 / 0.7676 GB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.671, allocations: 12.03 kB / 0.7676 GB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.6711, allocations: 6.938 kB / 0.7676 GB, free: 12.46 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001704/0.6713, allocations: 129 kB / 0.7678 GB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.122e-05/0.6713, allocations: 19.77 kB / 0.7678 GB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004089/0.6717, allocations: 123.9 kB / 0.7679 GB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.6717, allocations: 4 kB / 0.7679 GB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.6718, allocations: 0 / 0.7679 GB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-06/0.6718, allocations: 0 / 0.7679 GB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007517/0.6725, allocations: 429.2 kB / 0.7683 GB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6726, allocations: 0 / 0.7683 GB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.325e-05/0.6727, allocations: 11.98 kB / 0.7683 GB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.6727, allocations: 4 kB / 0.7683 GB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.6727, allocations: 0 / 0.7683 GB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.6727, allocations: 0 / 0.7683 GB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.6727, allocations: 4.125 kB / 0.7683 GB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003795/0.6731, allocations: 221.4 kB / 0.7685 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.6732, allocations: 104.5 kB / 0.7686 GB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.6733, allocations: 7.438 kB / 0.7686 GB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.6734, allocations: 0 / 0.7686 GB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/0.6735, allocations: 11.98 kB / 0.7687 GB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.6735, allocations: 7.938 kB / 0.7687 GB, free: 11.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002464/0.6738, allocations: 162.3 kB / 0.7688 GB, free: 11.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6738, allocations: 4 kB / 0.7688 GB, free: 11.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004511/0.6743, allocations: 51.77 kB / 0.7689 GB, free: 11.21 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001343/0.6756, allocations: 429.1 kB / 0.7693 GB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005003/0.6762, allocations: 173.7 kB / 0.7694 GB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.6762, allocations: 0 / 0.7694 GB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.6763, allocations: 35.3 kB / 0.7695 GB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004792/0.6768, allocations: 31.12 kB / 0.7695 GB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007865/0.6776, allocations: 281.4 kB / 0.7698 GB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.678, allocations: 0.7197 MB / 0.7705 GB, free: 9.727 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.6781, allocations: 12.58 kB / 0.7705 GB, free: 9.715 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.467e-05/0.6782, allocations: 19.42 kB / 0.7705 GB, free: 9.695 MB / 362.7 MB Notification: Performance of SimCode: time 1.393e-06/0.6782, allocations: 0 / 0.7705 GB, free: 9.695 MB / 362.7 MB Notification: Performance of Templates: time 0.01009/0.6883, allocations: 1.806 MB / 0.7723 GB, free: 7.914 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_maxScaled,t_new.t_min,t_new.t_minScaled,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.timeScale,t_new.verboseRead,t_new.y[1],time