Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,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.Test55") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004317/0.004323, allocations: 362.5 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.505/4.505, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.005158/0.005158, allocations: 228.8 kB / 451 MB, free: 145.1 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.6317/0.6317, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006768/0.0006771, allocations: 16 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1431, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.496/0.6392, allocations: 82.37 MB / 0.7605 GB, free: 2.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/0.6395, allocations: 74.47 kB / 0.7606 GB, free: 2.891 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.02163/0.6612, allocations: 5.155 MB / 0.7656 GB, free: 14.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.6612, allocations: 4 kB / 0.7656 GB, free: 14.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.6612, allocations: 0 / 0.7656 GB, free: 14.78 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.0007244/0.662, allocations: 480.4 kB / 0.7661 GB, free: 14.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.662, allocations: 8.828 kB / 0.7661 GB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.438e-05/0.6621, allocations: 7.906 kB / 0.7661 GB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/0.6625, allocations: 201.4 kB / 0.7663 GB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.6626, allocations: 0 / 0.7663 GB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.212e-05/0.6626, allocations: 4 kB / 0.7663 GB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.6628, allocations: 78.17 kB / 0.7664 GB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.6629, allocations: 0 / 0.7664 GB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.6629, allocations: 3.953 kB / 0.7664 GB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.6629, allocations: 0 / 0.7664 GB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.663, allocations: 23.11 kB / 0.7664 GB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004988/0.6635, allocations: 301.5 kB / 0.7667 GB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.6638, allocations: 64.31 kB / 0.7668 GB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.108e-05/0.6639, allocations: 20.16 kB / 0.7668 GB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.6639, allocations: 0 / 0.7668 GB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002088/0.6642, allocations: 77.78 kB / 0.7668 GB, free: 13.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.144e-06/0.6642, allocations: 0 / 0.7668 GB, free: 13.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008176/0.665, allocations: 179 kB / 0.767 GB, free: 13.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/0.6651, allocations: 88.55 kB / 0.7671 GB, free: 13.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.6653, allocations: 146.5 kB / 0.7672 GB, free: 13.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.6654, allocations: 29.58 kB / 0.7673 GB, free: 13.01 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/0.6654, allocations: 91.88 kB / 0.7674 GB, free: 12.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.055e-05/0.6655, allocations: 26.95 kB / 0.7674 GB, free: 12.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.909e-06/0.6655, allocations: 3.875 kB / 0.7674 GB, free: 12.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.6657, allocations: 318.7 kB / 0.7677 GB, free: 12.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.6658, allocations: 37.98 kB / 0.7677 GB, free: 12.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.6659, allocations: 57.75 kB / 0.7678 GB, free: 12.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.6661, allocations: 60.83 kB / 0.7678 GB, free: 12.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/0.6662, allocations: 7.953 kB / 0.7679 GB, free: 12.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004524/0.6666, allocations: 159 kB / 0.768 GB, free: 12.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.979e-05/0.6667, allocations: 37.02 kB / 0.768 GB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.6667, allocations: 4.062 kB / 0.768 GB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/0.6668, allocations: 0 / 0.768 GB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.6669, allocations: 15.98 kB / 0.7681 GB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.667, allocations: 4 kB / 0.7681 GB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.6671, allocations: 4 kB / 0.7681 GB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.6671, allocations: 11.69 kB / 0.7681 GB, free: 12.23 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.0001666/0.6673, allocations: 128.4 kB / 0.7682 GB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.529e-05/0.6673, allocations: 11.86 kB / 0.7682 GB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004169/0.6678, allocations: 122.3 kB / 0.7683 GB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.6678, allocations: 0 / 0.7683 GB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.6678, allocations: 0 / 0.7683 GB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.6678, allocations: 0 / 0.7683 GB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006839/0.6685, allocations: 416 kB / 0.7687 GB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.6685, allocations: 0 / 0.7687 GB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.529e-05/0.6686, allocations: 8 kB / 0.7687 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-05/0.6686, allocations: 12.02 kB / 0.7687 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.6687, allocations: 0 / 0.7687 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.6687, allocations: 80 / 0.7687 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.6687, allocations: 7.984 kB / 0.7687 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003635/0.6691, allocations: 217.7 kB / 0.769 GB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.604e-05/0.6692, allocations: 92.62 kB / 0.769 GB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.6692, allocations: 0 / 0.769 GB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.6694, allocations: 11.31 kB / 0.7691 GB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.6694, allocations: 7.984 kB / 0.7691 GB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.6695, allocations: 4.375 kB / 0.7691 GB, free: 11.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001335/0.6696, allocations: 112.9 kB / 0.7692 GB, free: 11.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6696, allocations: 0 / 0.7692 GB, free: 11.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000438/0.6701, allocations: 54.72 kB / 0.7692 GB, free: 11.05 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.00163/0.6717, allocations: 0.5117 MB / 0.7697 GB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000449/0.6722, allocations: 153.9 kB / 0.7699 GB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.6722, allocations: 4.062 kB / 0.7699 GB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.6723, allocations: 35.05 kB / 0.7699 GB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004692/0.6728, allocations: 31.16 kB / 0.7699 GB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006092/0.6734, allocations: 212.2 kB / 0.7701 GB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.6738, allocations: 0.7004 MB / 0.7708 GB, free: 9.594 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.6739, allocations: 20.56 kB / 0.7708 GB, free: 9.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.936e-05/0.674, allocations: 19.42 kB / 0.7709 GB, free: 9.555 MB / 362.7 MB Notification: Performance of SimCode: time 1.173e-06/0.674, allocations: 0 / 0.7709 GB, free: 9.555 MB / 362.7 MB Notification: Performance of Templates: time 0.007121/0.6811, allocations: 1.958 MB / 0.7728 GB, free: 7.621 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.timeScale,t_new.verboseRead,t_new.y[1],time