Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,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.Test53") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01309/0.01309, allocations: 359.2 kB / 15.95 MB, free: 6.207 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.454/4.454, allocations: 388.9 MB / 405.6 MB, free: 9.57 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.003623/0.003622, allocations: 223 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.5236/0.5236, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005116/0.0005119, allocations: 12 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1075, allocations: 54.88 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5649/0.6724, allocations: 82.15 MB / 0.7603 GB, free: 3.242 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/0.6728, allocations: 82.2 kB / 0.7604 GB, free: 3.199 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.01921/0.692, allocations: 4.76 MB / 0.765 GB, free: 15.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.639e-06/0.692, allocations: 0 / 0.765 GB, free: 15.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.509e-05/0.6921, allocations: 3.938 kB / 0.7651 GB, free: 15.16 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.0007488/0.6928, allocations: 489.2 kB / 0.7655 GB, free: 14.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.6929, allocations: 8.828 kB / 0.7655 GB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.358e-05/0.693, allocations: 19.69 kB / 0.7655 GB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003935/0.6934, allocations: 202.4 kB / 0.7657 GB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.6934, allocations: 11.12 kB / 0.7657 GB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.368e-05/0.6935, allocations: 4 kB / 0.7658 GB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.6937, allocations: 56.11 kB / 0.7658 GB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.6937, allocations: 0 / 0.7658 GB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.6937, allocations: 14.7 kB / 0.7658 GB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.6937, allocations: 0 / 0.7658 GB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.6939, allocations: 19.05 kB / 0.7658 GB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005416/0.6944, allocations: 321 kB / 0.7661 GB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.6947, allocations: 66.61 kB / 0.7662 GB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.76e-05/0.6948, allocations: 21.84 kB / 0.7662 GB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.6949, allocations: 7.938 kB / 0.7662 GB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002093/0.6951, allocations: 68.69 kB / 0.7663 GB, free: 13.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.964e-06/0.6951, allocations: 4 kB / 0.7663 GB, free: 13.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000801/0.6959, allocations: 185.9 kB / 0.7665 GB, free: 13.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.696, allocations: 55.41 kB / 0.7665 GB, free: 13.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003782/0.6964, allocations: 217.6 kB / 0.7667 GB, free: 13.37 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.6964, allocations: 25.7 kB / 0.7668 GB, free: 13.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.786e-05/0.6965, allocations: 113 kB / 0.7669 GB, free: 13.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.095e-05/0.6966, allocations: 26.89 kB / 0.7669 GB, free: 13.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.039e-05/0.6966, allocations: 0 / 0.7669 GB, free: 13.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.6968, allocations: 329.6 kB / 0.7672 GB, free: 12.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.6969, allocations: 36.73 kB / 0.7672 GB, free: 12.87 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.6971, allocations: 55.5 kB / 0.7673 GB, free: 12.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.6973, allocations: 74.14 kB / 0.7674 GB, free: 12.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6973, allocations: 0 / 0.7674 GB, free: 12.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004694/0.6978, allocations: 181.3 kB / 0.7675 GB, free: 12.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.669e-05/0.6978, allocations: 33.69 kB / 0.7676 GB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.6979, allocations: 8.031 kB / 0.7676 GB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.6979, allocations: 4 kB / 0.7676 GB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.6981, allocations: 15.94 kB / 0.7676 GB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.6981, allocations: 7.984 kB / 0.7676 GB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.6982, allocations: 7.375 kB / 0.7676 GB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.6982, allocations: 4.078 kB / 0.7676 GB, free: 12.53 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.0001591/0.6984, allocations: 128.6 kB / 0.7677 GB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.951e-05/0.6984, allocations: 19.77 kB / 0.7678 GB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003986/0.6989, allocations: 127.5 kB / 0.7679 GB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.6989, allocations: 4 kB / 0.7679 GB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.6989, allocations: 3.984 kB / 0.7679 GB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.6989, allocations: 0 / 0.7679 GB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007205/0.6996, allocations: 427 kB / 0.7683 GB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.6997, allocations: 0 / 0.7683 GB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.459e-05/0.6997, allocations: 11.94 kB / 0.7683 GB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/0.6998, allocations: 8.031 kB / 0.7683 GB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.6998, allocations: 3.938 kB / 0.7683 GB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.6998, allocations: 3.938 kB / 0.7683 GB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.6998, allocations: 7.984 kB / 0.7683 GB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004076/0.7002, allocations: 213.7 kB / 0.7685 GB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.7004, allocations: 96.69 kB / 0.7686 GB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/0.7004, allocations: 7.5 kB / 0.7686 GB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.7005, allocations: 8 kB / 0.7686 GB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.7006, allocations: 7.984 kB / 0.7687 GB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.7006, allocations: 0 / 0.7687 GB, free: 11.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002333/0.7009, allocations: 168.3 kB / 0.7688 GB, free: 11.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.7009, allocations: 0 / 0.7688 GB, free: 11.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004091/0.7013, allocations: 47.41 kB / 0.7689 GB, free: 11.28 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.001336/0.7026, allocations: 451.8 kB / 0.7693 GB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004618/0.7031, allocations: 166.1 kB / 0.7694 GB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.7031, allocations: 0 / 0.7694 GB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.7033, allocations: 38.67 kB / 0.7695 GB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004571/0.7038, allocations: 20.31 kB / 0.7695 GB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007471/0.7045, allocations: 284.6 kB / 0.7698 GB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.7049, allocations: 0.7121 MB / 0.7705 GB, free: 9.801 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.614e-05/0.705, allocations: 28.31 kB / 0.7705 GB, free: 9.777 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.89e-05/0.7051, allocations: 11.44 kB / 0.7705 GB, free: 9.766 MB / 362.7 MB Notification: Performance of SimCode: time 9.61e-07/0.7051, allocations: 0 / 0.7705 GB, free: 9.766 MB / 362.7 MB Notification: Performance of Templates: time 0.006981/0.7121, allocations: 1.814 MB / 0.7723 GB, free: 7.98 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