Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002694/0.002693, allocations: 347.2 kB / 15.93 MB, free: 6.219 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.858/3.858, 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.003496/0.003496, allocations: 222.1 kB / 397.9 MB, free: 4.969 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.6198/0.6198, allocations: 76.11 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004666/0.0004669, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08574/0.08623, allocations: 48.71 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3987/0.485, allocations: 75.87 MB / 0.6808 GB, free: 36.88 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/0.4853, allocations: 71.95 kB / 0.6809 GB, free: 36.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01699/0.5024, allocations: 4.292 MB / 0.6851 GB, free: 32.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5024, allocations: 0 / 0.6851 GB, free: 32.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.5024, allocations: 0 / 0.6851 GB, free: 32.61 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005299/0.503, allocations: 457.6 kB / 0.6855 GB, free: 32.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.503, allocations: 8.031 kB / 0.6855 GB, free: 32.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.179e-05/0.5031, allocations: 12.47 kB / 0.6855 GB, free: 32.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.5033, allocations: 203.3 kB / 0.6857 GB, free: 31.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.5034, allocations: 7.938 kB / 0.6857 GB, free: 31.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.5034, allocations: 3.125 kB / 0.6857 GB, free: 31.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.5036, allocations: 54.84 kB / 0.6858 GB, free: 31.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.5036, allocations: 0 / 0.6858 GB, free: 31.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.5036, allocations: 0 / 0.6858 GB, free: 31.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.5036, allocations: 0 / 0.6858 GB, free: 31.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.696e-05/0.5037, allocations: 15.98 kB / 0.6858 GB, free: 31.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.5041, allocations: 303.5 kB / 0.6861 GB, free: 31.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.5044, allocations: 46.5 kB / 0.6861 GB, free: 31.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.828e-05/0.5044, allocations: 12.86 kB / 0.6862 GB, free: 31.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.5045, allocations: 2.344 kB / 0.6862 GB, free: 31.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001259/0.5046, allocations: 61.02 kB / 0.6862 GB, free: 31.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.803e-06/0.5046, allocations: 0 / 0.6862 GB, free: 31.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004985/0.5051, allocations: 134.1 kB / 0.6863 GB, free: 31.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.5052, allocations: 51.41 kB / 0.6864 GB, free: 31.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/0.5055, allocations: 228.5 kB / 0.6866 GB, free: 30.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.5055, allocations: 25.7 kB / 0.6866 GB, free: 30.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.002e-05/0.5056, allocations: 112 kB / 0.6867 GB, free: 30.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.5056, allocations: 3.906 kB / 0.6867 GB, free: 30.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.497e-06/0.5056, allocations: 4 kB / 0.6868 GB, free: 30.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.841e-05/0.5057, allocations: 329.5 kB / 0.6871 GB, free: 30.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.688e-05/0.5058, allocations: 23.98 kB / 0.6871 GB, free: 30.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.481e-05/0.5058, allocations: 27.92 kB / 0.6871 GB, free: 30.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.754e-05/0.5059, allocations: 57.45 kB / 0.6872 GB, free: 30.28 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.506, allocations: 0 / 0.6872 GB, free: 30.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002484/0.5062, allocations: 135.2 kB / 0.6873 GB, free: 30.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.506e-05/0.5063, allocations: 29.7 kB / 0.6873 GB, free: 30.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.5063, allocations: 0.7812 kB / 0.6873 GB, free: 30.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.5063, allocations: 7.984 kB / 0.6873 GB, free: 30.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.059e-05/0.5064, allocations: 14.75 kB / 0.6873 GB, free: 30.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.5064, allocations: 0 / 0.6873 GB, free: 30.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.028e-05/0.5065, allocations: 3.953 kB / 0.6874 GB, free: 30.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.5065, allocations: 4 kB / 0.6874 GB, free: 30.07 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 (7): * Single equations (assignments): 6 * 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.0001048/0.5066, allocations: 135.9 kB / 0.6875 GB, free: 29.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.5067, allocations: 11.34 kB / 0.6875 GB, free: 29.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002495/0.5069, allocations: 97.91 kB / 0.6876 GB, free: 29.83 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.5069, allocations: 3.938 kB / 0.6876 GB, free: 29.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.507, allocations: 0 / 0.6876 GB, free: 29.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.507, allocations: 0 / 0.6876 GB, free: 29.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004939/0.5075, allocations: 374.4 kB / 0.688 GB, free: 29.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.5075, allocations: 0 / 0.688 GB, free: 29.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.864e-05/0.5076, allocations: 11.8 kB / 0.688 GB, free: 29.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.5076, allocations: 0 / 0.688 GB, free: 29.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.5076, allocations: 7.984 kB / 0.688 GB, free: 29.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.5076, allocations: 0 / 0.688 GB, free: 29.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.5077, allocations: 3.953 kB / 0.688 GB, free: 29.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.5079, allocations: 177 kB / 0.6881 GB, free: 29.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.126e-05/0.508, allocations: 100.9 kB / 0.6882 GB, free: 29.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.508, allocations: 0 / 0.6882 GB, free: 29.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.937e-05/0.5081, allocations: 0 / 0.6882 GB, free: 29.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.5082, allocations: 6.969 kB / 0.6882 GB, free: 29.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.5082, allocations: 14.44 kB / 0.6883 GB, free: 29.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001948/0.5084, allocations: 166 kB / 0.6884 GB, free: 28.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5084, allocations: 0 / 0.6884 GB, free: 28.9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003853/0.5088, allocations: 50.67 kB / 0.6885 GB, free: 28.86 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 (6): * Single equations (assignments): 5 * 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.001012/0.5098, allocations: 358.7 kB / 0.6888 GB, free: 28.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002538/0.5101, allocations: 115.3 kB / 0.6889 GB, free: 28.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5101, allocations: 0 / 0.6889 GB, free: 28.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.333e-05/0.5102, allocations: 23.98 kB / 0.6889 GB, free: 28.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.5107, allocations: 20.72 kB / 0.689 GB, free: 28.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005784/0.5112, allocations: 256.8 kB / 0.6892 GB, free: 28.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/0.5114, allocations: 0.7144 MB / 0.6899 GB, free: 27.51 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.588e-05/0.5115, allocations: 10.81 kB / 0.6899 GB, free: 27.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.647e-05/0.5116, allocations: 19.42 kB / 0.6899 GB, free: 27.48 MB / 362.7 MB Notification: Performance of SimCode: time 1.222e-06/0.5116, allocations: 0.75 kB / 0.6899 GB, free: 27.48 MB / 362.7 MB Notification: Performance of Templates: time 0.005846/0.5175, allocations: 1.6 MB / 0.6915 GB, free: 26.01 MB / 362.7 MB