Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test63.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002767/0.002771, allocations: 350.6 kB / 15.94 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.709/3.709, allocations: 341.5 MB / 358.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003556/0.003556, allocations: 218.1 kB / 397.9 MB, free: 4.965 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5677/0.5677, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006856/0.0006859, allocations: 12 kB / 0.5592 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09615/0.09688, allocations: 48.7 MB / 0.6067 GB, free: 4.637 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4247/0.5217, allocations: 75.71 MB / 0.6807 GB, free: 37.04 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003154/0.5221, allocations: 75.95 kB / 0.6807 GB, free: 36.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02024/0.5423, allocations: 4.151 MB / 0.6848 GB, free: 32.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5424, allocations: 0.5 kB / 0.6848 GB, free: 32.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.5424, allocations: 4 kB / 0.6848 GB, free: 32.9 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005679/0.543, allocations: 453.8 kB / 0.6852 GB, free: 32.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.543, allocations: 8.031 kB / 0.6852 GB, free: 32.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.576e-05/0.5431, allocations: 11.81 kB / 0.6853 GB, free: 32.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.5435, allocations: 210.7 kB / 0.6855 GB, free: 32.15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.5435, allocations: 4 kB / 0.6855 GB, free: 32.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.5435, allocations: 0 / 0.6855 GB, free: 32.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.5437, allocations: 41.69 kB / 0.6855 GB, free: 32.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.5437, allocations: 0 / 0.6855 GB, free: 32.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.5437, allocations: 2.656 kB / 0.6855 GB, free: 32.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.5437, allocations: 0 / 0.6855 GB, free: 32.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.735e-05/0.5438, allocations: 15.98 kB / 0.6855 GB, free: 32.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002295/0.544, allocations: 189.6 kB / 0.6857 GB, free: 31.85 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.387e-05/0.5442, allocations: 32.2 kB / 0.6857 GB, free: 31.81 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.623e-05/0.5442, allocations: 20.66 kB / 0.6857 GB, free: 31.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.5443, allocations: 0 / 0.6857 GB, free: 31.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000144/0.5444, allocations: 57.84 kB / 0.6858 GB, free: 31.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.933e-06/0.5444, allocations: 0 / 0.6858 GB, free: 31.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002808/0.5447, allocations: 80.66 kB / 0.6859 GB, free: 31.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.5448, allocations: 51.41 kB / 0.6859 GB, free: 31.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003996/0.5452, allocations: 236.1 kB / 0.6862 GB, free: 31.33 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.5452, allocations: 35.11 kB / 0.6862 GB, free: 31.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.859e-05/0.5453, allocations: 104.1 kB / 0.6863 GB, free: 31.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.5453, allocations: 11.89 kB / 0.6863 GB, free: 31.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-06/0.5454, allocations: 0.6562 kB / 0.6863 GB, free: 31.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.039e-05/0.5455, allocations: 333.9 kB / 0.6866 GB, free: 30.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.539e-05/0.5455, allocations: 19.98 kB / 0.6866 GB, free: 30.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.999e-05/0.5456, allocations: 19.98 kB / 0.6867 GB, free: 30.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.681e-05/0.5457, allocations: 45.7 kB / 0.6867 GB, free: 30.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5458, allocations: 0 / 0.6867 GB, free: 30.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000275/0.546, allocations: 119.2 kB / 0.6868 GB, free: 30.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.68e-05/0.5461, allocations: 33.7 kB / 0.6868 GB, free: 30.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.5461, allocations: 0 / 0.6868 GB, free: 30.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.5461, allocations: 2.688 kB / 0.6868 GB, free: 30.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.348e-05/0.5462, allocations: 8 kB / 0.6869 GB, free: 30.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.5463, allocations: 0 / 0.6869 GB, free: 30.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.07e-05/0.5464, allocations: 19.27 kB / 0.6869 GB, free: 30.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.5464, allocations: 4 kB / 0.6869 GB, free: 30.56 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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.0001295/0.5465, allocations: 140.4 kB / 0.687 GB, free: 30.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.726e-05/0.5466, allocations: 7.906 kB / 0.687 GB, free: 30.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/0.5468, allocations: 77.64 kB / 0.6871 GB, free: 30.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.5469, allocations: 3.938 kB / 0.6871 GB, free: 30.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.5469, allocations: 0 / 0.6871 GB, free: 30.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.5469, allocations: 4 kB / 0.6871 GB, free: 30.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.5471, allocations: 197.5 kB / 0.6873 GB, free: 30.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.5471, allocations: 0 / 0.6873 GB, free: 30.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.5472, allocations: 7.984 kB / 0.6873 GB, free: 30.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.5472, allocations: 1.594 kB / 0.6873 GB, free: 30.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.5472, allocations: 4 kB / 0.6873 GB, free: 30.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.5472, allocations: 1.5 kB / 0.6873 GB, free: 30.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5473, allocations: 0 / 0.6873 GB, free: 30.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.5475, allocations: 90.17 kB / 0.6874 GB, free: 29.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.086e-05/0.5476, allocations: 104.1 kB / 0.6875 GB, free: 29.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.173e-05/0.5476, allocations: 4 kB / 0.6875 GB, free: 29.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.962e-05/0.5477, allocations: 0 / 0.6875 GB, free: 29.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.5477, allocations: 7.984 kB / 0.6875 GB, free: 29.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.5478, allocations: 0 / 0.6875 GB, free: 29.83 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002757/0.5481, allocations: 193.6 kB / 0.6877 GB, free: 29.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5481, allocations: 0 / 0.6877 GB, free: 29.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004766/0.5486, allocations: 27.94 kB / 0.6877 GB, free: 29.62 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001165/0.5497, allocations: 319.5 kB / 0.688 GB, free: 29.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002346/0.55, allocations: 99.39 kB / 0.6881 GB, free: 29.35 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.55, allocations: 0 / 0.6881 GB, free: 29.35 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.576e-05/0.5501, allocations: 18.11 kB / 0.6881 GB, free: 29.33 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.5505, allocations: 19.41 kB / 0.6881 GB, free: 29.31 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006859/0.5513, allocations: 263.6 kB / 0.6884 GB, free: 29.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.5515, allocations: 0.716 MB / 0.6891 GB, free: 28.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.851e-05/0.5516, allocations: 14.38 kB / 0.6891 GB, free: 28.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.883e-05/0.5517, allocations: 14.88 kB / 0.6891 GB, free: 28.28 MB / 362.7 MB Notification: Performance of SimCode: time 8.12e-07/0.5517, allocations: 0 / 0.6891 GB, free: 28.28 MB / 362.7 MB Notification: Performance of Templates: time 0.006646/0.5583, allocations: 1.445 MB / 0.6905 GB, free: 26.96 MB / 362.7 MB