Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003966/0.003972, allocations: 349 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 4.055/4.055, allocations: 341.5 MB / 358.2 MB, free: 12.55 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.003548/0.003548, allocations: 218.1 kB / 397.9 MB, free: 4.887 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.5533/0.5533, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004692/0.0004695, allocations: 12 kB / 0.5592 GB, free: 53.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09623/0.09674, allocations: 48.7 MB / 0.6067 GB, free: 4.629 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4476/0.5444, allocations: 75.71 MB / 0.6807 GB, free: 37 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/0.5447, allocations: 71.97 kB / 0.6807 GB, free: 36.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01602/0.5608, allocations: 4.152 MB / 0.6848 GB, free: 32.87 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.5608, allocations: 0 / 0.6848 GB, free: 32.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.5608, allocations: 7.75 kB / 0.6848 GB, free: 32.86 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.0004989/0.5613, allocations: 444.7 kB / 0.6852 GB, free: 32.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.5614, allocations: 8.031 kB / 0.6852 GB, free: 32.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.786e-05/0.5615, allocations: 11.81 kB / 0.6852 GB, free: 32.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.5618, allocations: 222.7 kB / 0.6855 GB, free: 32.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.5618, allocations: 4 kB / 0.6855 GB, free: 32.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.5618, allocations: 0 / 0.6855 GB, free: 32.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.5619, allocations: 37.69 kB / 0.6855 GB, free: 32.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.5619, allocations: 3.438 kB / 0.6855 GB, free: 32.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.562, allocations: 0 / 0.6855 GB, free: 32.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.562, allocations: 0 / 0.6855 GB, free: 32.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.501e-05/0.562, allocations: 12 kB / 0.6855 GB, free: 32.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001957/0.5623, allocations: 193.6 kB / 0.6857 GB, free: 31.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.753e-05/0.5623, allocations: 34.5 kB / 0.6857 GB, free: 31.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.669e-05/0.5624, allocations: 12.11 kB / 0.6857 GB, free: 31.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.5624, allocations: 0 / 0.6857 GB, free: 31.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001312/0.5626, allocations: 62.67 kB / 0.6858 GB, free: 31.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.5626, allocations: 0 / 0.6858 GB, free: 31.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.000245/0.5628, allocations: 77.42 kB / 0.6859 GB, free: 31.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.5629, allocations: 51.41 kB / 0.6859 GB, free: 31.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/0.5632, allocations: 244.6 kB / 0.6862 GB, free: 31.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.5632, allocations: 29.17 kB / 0.6862 GB, free: 31.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.149e-05/0.5633, allocations: 108.1 kB / 0.6863 GB, free: 31.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.5633, allocations: 7.906 kB / 0.6863 GB, free: 31.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.183e-06/0.5633, allocations: 0 / 0.6863 GB, free: 31.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.551e-05/0.5634, allocations: 326.8 kB / 0.6866 GB, free: 30.81 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.704e-05/0.5635, allocations: 20 kB / 0.6866 GB, free: 30.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.094e-05/0.5635, allocations: 15.98 kB / 0.6866 GB, free: 30.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.75e-05/0.5636, allocations: 54.84 kB / 0.6867 GB, free: 30.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5636, allocations: 0 / 0.6867 GB, free: 30.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002131/0.5638, allocations: 114.7 kB / 0.6868 GB, free: 30.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/0.5639, allocations: 41.62 kB / 0.6868 GB, free: 30.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.5639, allocations: 1.406 kB / 0.6868 GB, free: 30.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.5639, allocations: 0 / 0.6868 GB, free: 30.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.5641, allocations: 4 kB / 0.6868 GB, free: 30.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.5641, allocations: 2.812 kB / 0.6868 GB, free: 30.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.099e-05/0.5642, allocations: 11.84 kB / 0.6869 GB, free: 30.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.5642, allocations: 4 kB / 0.6869 GB, free: 30.53 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.0001015/0.5643, allocations: 143.8 kB / 0.687 GB, free: 30.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.5643, allocations: 10.72 kB / 0.687 GB, free: 30.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/0.5645, allocations: 77.02 kB / 0.6871 GB, free: 30.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.5645, allocations: 0 / 0.6871 GB, free: 30.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.5646, allocations: 11.92 kB / 0.6871 GB, free: 30.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.5646, allocations: 0 / 0.6871 GB, free: 30.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.5647, allocations: 205.5 kB / 0.6873 GB, free: 30.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.5647, allocations: 0 / 0.6873 GB, free: 30.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.86e-05/0.5648, allocations: 4 kB / 0.6873 GB, free: 30.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.5648, allocations: 0 / 0.6873 GB, free: 30.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.5648, allocations: 0 / 0.6873 GB, free: 30.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.5648, allocations: 0.9062 kB / 0.6873 GB, free: 30.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5648, allocations: 0 / 0.6873 GB, free: 30.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.565, allocations: 90.92 kB / 0.6874 GB, free: 29.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.498e-05/0.5651, allocations: 108.9 kB / 0.6875 GB, free: 29.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/0.5651, allocations: 0 / 0.6875 GB, free: 29.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.663e-05/0.5652, allocations: 4.938 kB / 0.6875 GB, free: 29.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/0.5652, allocations: 2.672 kB / 0.6875 GB, free: 29.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.5653, allocations: 3.094 kB / 0.6875 GB, free: 29.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002045/0.5655, allocations: 193.7 kB / 0.6877 GB, free: 29.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5655, allocations: 3.938 kB / 0.6877 GB, free: 29.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003086/0.5658, allocations: 35.94 kB / 0.6877 GB, free: 29.57 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.0008607/0.5667, allocations: 310.8 kB / 0.688 GB, free: 29.42 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002232/0.5669, allocations: 99.38 kB / 0.6881 GB, free: 29.31 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.5669, allocations: 4 kB / 0.6881 GB, free: 29.31 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.877e-05/0.567, allocations: 8 kB / 0.6881 GB, free: 29.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.5673, allocations: 16.17 kB / 0.6881 GB, free: 29.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005562/0.5679, allocations: 267.8 kB / 0.6884 GB, free: 29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.5681, allocations: 0.7082 MB / 0.6891 GB, free: 28.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.862e-05/0.5682, allocations: 14.38 kB / 0.6891 GB, free: 28.26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.835e-05/0.5683, allocations: 21.55 kB / 0.6891 GB, free: 28.24 MB / 362.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5683, allocations: 0 / 0.6891 GB, free: 28.24 MB / 362.7 MB Notification: Performance of Templates: time 0.00523/0.5735, allocations: 1.445 MB / 0.6905 GB, free: 26.93 MB / 362.7 MB