Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,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.Test57") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003903/0.003909, 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.274/4.274, 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.003605/0.003605, allocations: 219.7 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.5529/0.5529, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007408/0.000741, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1286, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4789/0.6075, allocations: 82.36 MB / 0.7605 GB, free: 2.941 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.6078, allocations: 76.78 kB / 0.7606 GB, free: 2.902 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.02171/0.6296, allocations: 5.157 MB / 0.7656 GB, free: 14.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.6296, allocations: 0 / 0.7656 GB, free: 14.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.6296, allocations: 4 kB / 0.7656 GB, free: 14.79 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.0007267/0.6304, allocations: 476.6 kB / 0.7661 GB, free: 14.28 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.6304, allocations: 8.828 kB / 0.7661 GB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.243e-05/0.6305, allocations: 11.91 kB / 0.7661 GB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003815/0.6309, allocations: 196.8 kB / 0.7663 GB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.6309, allocations: 4 kB / 0.7663 GB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/0.631, allocations: 0 / 0.7663 GB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.6312, allocations: 77.78 kB / 0.7664 GB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.6313, allocations: 3.938 kB / 0.7664 GB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.6313, allocations: 7.953 kB / 0.7664 GB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.6313, allocations: 0 / 0.7664 GB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.6315, allocations: 22.48 kB / 0.7664 GB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005323/0.632, allocations: 298.4 kB / 0.7667 GB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.6323, allocations: 63.8 kB / 0.7668 GB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.81e-05/0.6324, allocations: 24.66 kB / 0.7668 GB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.6324, allocations: 0 / 0.7668 GB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002159/0.6327, allocations: 81.59 kB / 0.7669 GB, free: 13.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.873e-06/0.6327, allocations: 0 / 0.7669 GB, free: 13.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008819/0.6336, allocations: 177.7 kB / 0.767 GB, free: 13.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/0.6337, allocations: 77.11 kB / 0.7671 GB, free: 13.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.6339, allocations: 150 kB / 0.7672 GB, free: 13.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.634, allocations: 32.2 kB / 0.7673 GB, free: 13.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.971e-05/0.634, allocations: 94.12 kB / 0.7674 GB, free: 12.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.928e-05/0.6341, allocations: 27.09 kB / 0.7674 GB, free: 12.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.517e-06/0.6341, allocations: 0 / 0.7674 GB, free: 12.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.6343, allocations: 320.6 kB / 0.7677 GB, free: 12.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.6344, allocations: 36.86 kB / 0.7677 GB, free: 12.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.6346, allocations: 55.3 kB / 0.7678 GB, free: 12.51 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.6348, allocations: 66.58 kB / 0.7678 GB, free: 12.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.6348, allocations: 7.984 kB / 0.7678 GB, free: 12.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005731/0.6354, allocations: 159.8 kB / 0.768 GB, free: 12.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.657e-05/0.6355, allocations: 33.7 kB / 0.768 GB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.6355, allocations: 0 / 0.768 GB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.6355, allocations: 4 kB / 0.768 GB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.6357, allocations: 19.8 kB / 0.7681 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.6357, allocations: 0 / 0.7681 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.953e-05/0.6358, allocations: 4 kB / 0.7681 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.6358, allocations: 4.078 kB / 0.7681 GB, free: 12.25 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.0001564/0.636, allocations: 131.9 kB / 0.7682 GB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.636, allocations: 11.86 kB / 0.7682 GB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004284/0.6365, allocations: 121.7 kB / 0.7683 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.6365, allocations: 7.938 kB / 0.7683 GB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.6365, allocations: 0 / 0.7683 GB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.6365, allocations: 0 / 0.7683 GB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007308/0.6373, allocations: 410.2 kB / 0.7687 GB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/0.6373, allocations: 7.984 kB / 0.7687 GB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.087e-05/0.6374, allocations: 8 kB / 0.7687 GB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.6374, allocations: 0 / 0.7687 GB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.6375, allocations: 4 kB / 0.7687 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.6375, allocations: 0 / 0.7687 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.6375, allocations: 0 / 0.7687 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004091/0.6379, allocations: 223.7 kB / 0.7689 GB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.638, allocations: 96.67 kB / 0.769 GB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/0.6381, allocations: 4 kB / 0.769 GB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.6382, allocations: 7.562 kB / 0.7691 GB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.301e-05/0.6383, allocations: 7.984 kB / 0.7691 GB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.6383, allocations: 0 / 0.7691 GB, free: 11.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001462/0.6385, allocations: 116.4 kB / 0.7692 GB, free: 11.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6385, allocations: 0 / 0.7692 GB, free: 11.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004624/0.639, allocations: 47.17 kB / 0.7692 GB, free: 11.07 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.001745/0.6407, allocations: 0.5329 MB / 0.7697 GB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005131/0.6413, allocations: 143.5 kB / 0.7699 GB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.6413, allocations: 3.938 kB / 0.7699 GB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.6414, allocations: 34.17 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.0004724/0.6419, allocations: 26.97 kB / 0.7699 GB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006323/0.6426, allocations: 219.4 kB / 0.7701 GB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.643, allocations: 0.7004 MB / 0.7708 GB, free: 9.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001392/0.6431, allocations: 16.42 kB / 0.7708 GB, free: 9.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.586e-05/0.6432, allocations: 15.44 kB / 0.7709 GB, free: 9.559 MB / 362.7 MB Notification: Performance of SimCode: time 1.643e-06/0.6432, allocations: 0 / 0.7709 GB, free: 9.559 MB / 362.7 MB Notification: Performance of Templates: time 0.007409/0.6506, allocations: 1.973 MB / 0.7728 GB, free: 7.613 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