Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,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.Test59") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002807/0.002807, allocations: 360.8 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: 10.24 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.00353/0.00353, allocations: 226 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.5722/0.5722, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004619/0.0004621, allocations: 16 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1073, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5193/0.6266, allocations: 82.36 MB / 0.7605 GB, free: 2.934 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/0.6269, allocations: 72.78 kB / 0.7606 GB, free: 2.898 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.02104/0.648, allocations: 5.161 MB / 0.7656 GB, free: 14.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.648, allocations: 0 / 0.7656 GB, free: 14.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.6481, allocations: 4 kB / 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.0007004/0.6488, allocations: 470 kB / 0.7661 GB, free: 14.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.6488, allocations: 12.81 kB / 0.7661 GB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.583e-05/0.6489, allocations: 11.91 kB / 0.7661 GB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.6493, allocations: 194.4 kB / 0.7663 GB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.6493, allocations: 3.984 kB / 0.7663 GB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.6494, allocations: 4 kB / 0.7663 GB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.6496, allocations: 71.86 kB / 0.7664 GB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.6496, allocations: 3.938 kB / 0.7664 GB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.6497, allocations: 7.766 kB / 0.7664 GB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.6497, allocations: 4 kB / 0.7664 GB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.6498, allocations: 23.86 kB / 0.7664 GB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004834/0.6503, allocations: 299.4 kB / 0.7667 GB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.6506, allocations: 58.25 kB / 0.7668 GB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.875e-05/0.6507, allocations: 20.34 kB / 0.7668 GB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.6507, allocations: 11.88 kB / 0.7668 GB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002132/0.6509, allocations: 71.03 kB / 0.7669 GB, free: 13.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.405e-06/0.651, allocations: 0 / 0.7669 GB, free: 13.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008126/0.6518, allocations: 179.8 kB / 0.767 GB, free: 13.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.6518, allocations: 81.09 kB / 0.7671 GB, free: 13.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.6521, allocations: 153 kB / 0.7672 GB, free: 13.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.6521, allocations: 25.7 kB / 0.7673 GB, free: 13.01 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.162e-05/0.6522, allocations: 99.38 kB / 0.7674 GB, free: 12.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.6522, allocations: 23.34 kB / 0.7674 GB, free: 12.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.184e-05/0.6523, allocations: 4 kB / 0.7674 GB, free: 12.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.6524, allocations: 318.7 kB / 0.7677 GB, free: 12.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.6525, allocations: 35.61 kB / 0.7677 GB, free: 12.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.6527, allocations: 54.11 kB / 0.7678 GB, free: 12.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.6529, allocations: 70.05 kB / 0.7678 GB, free: 12.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.6529, allocations: 3.953 kB / 0.7679 GB, free: 12.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004108/0.6533, allocations: 162 kB / 0.768 GB, free: 12.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.026e-05/0.6534, allocations: 33.7 kB / 0.768 GB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.6534, allocations: 80 / 0.768 GB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.6535, allocations: 0 / 0.768 GB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.6536, allocations: 23.8 kB / 0.7681 GB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.6536, allocations: 3.984 kB / 0.7681 GB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.158e-05/0.6537, allocations: 4 kB / 0.7681 GB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.6538, allocations: 8.031 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.0001353/0.6539, allocations: 129.5 kB / 0.7682 GB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.654, allocations: 11.86 kB / 0.7682 GB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003819/0.6544, allocations: 117.4 kB / 0.7683 GB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.6544, allocations: 3.938 kB / 0.7683 GB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.6544, allocations: 0 / 0.7683 GB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.6544, allocations: 0 / 0.7683 GB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006632/0.6551, allocations: 417.4 kB / 0.7687 GB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.6551, allocations: 0 / 0.7687 GB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.904e-05/0.6552, allocations: 12 kB / 0.7687 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.6552, allocations: 192 / 0.7687 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.6552, allocations: 0 / 0.7687 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.6552, allocations: 7.938 kB / 0.7687 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.6552, allocations: 0 / 0.7687 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003586/0.6556, allocations: 219 kB / 0.769 GB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.815e-05/0.6557, allocations: 96.86 kB / 0.769 GB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.624e-05/0.6558, allocations: 4 kB / 0.769 GB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.6559, allocations: 3.938 kB / 0.7691 GB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.656, allocations: 8.359 kB / 0.7691 GB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.656, allocations: 4 kB / 0.7691 GB, free: 11.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001252/0.6561, allocations: 114.6 kB / 0.7692 GB, free: 11.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6561, allocations: 0 / 0.7692 GB, free: 11.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004234/0.6566, allocations: 51.8 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.001619/0.6582, allocations: 0.5258 MB / 0.7697 GB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004125/0.6586, allocations: 153.9 kB / 0.7699 GB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.6587, allocations: 3.938 kB / 0.7699 GB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.6588, allocations: 27.38 kB / 0.7699 GB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.6592, allocations: 35.11 kB / 0.7699 GB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005759/0.6598, allocations: 210.2 kB / 0.7701 GB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.6601, allocations: 0.7004 MB / 0.7708 GB, free: 9.582 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001021/0.6603, allocations: 16.42 kB / 0.7708 GB, free: 9.562 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.942e-05/0.6603, allocations: 19.42 kB / 0.7709 GB, free: 9.547 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.6603, allocations: 0 / 0.7709 GB, free: 9.547 MB / 362.7 MB Notification: Performance of Templates: time 0.0071/0.6674, allocations: 1.968 MB / 0.7728 GB, free: 7.605 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