Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,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.Test3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003973/0.003973, allocations: 349.5 kB / 15.94 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.886/3.886, allocations: 341.5 MB / 358.2 MB, free: 12.64 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.003525/0.003525, allocations: 230.1 kB / 397.9 MB, free: 4.984 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.5303/0.5303, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007949/0.0007951, allocations: 20 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1411, allocations: 48.7 MB / 0.6067 GB, free: 4.66 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4285/0.5697, allocations: 75.82 MB / 0.6808 GB, free: 36.93 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.57, allocations: 71.97 kB / 0.6808 GB, free: 36.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01518/0.5852, allocations: 3.829 MB / 0.6846 GB, free: 33.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.5852, allocations: 0 / 0.6846 GB, free: 33.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.5853, allocations: 7.938 kB / 0.6846 GB, free: 33.09 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.0004809/0.5857, allocations: 422 kB / 0.685 GB, free: 32.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.5858, allocations: 10.91 kB / 0.685 GB, free: 32.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.914e-05/0.5859, allocations: 7.906 kB / 0.685 GB, free: 32.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.5861, allocations: 198.8 kB / 0.6852 GB, free: 32.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.5861, allocations: 0 / 0.6852 GB, free: 32.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.5861, allocations: 7.984 kB / 0.6852 GB, free: 32.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.5863, allocations: 41.69 kB / 0.6853 GB, free: 32.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.5863, allocations: 0 / 0.6853 GB, free: 32.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.5863, allocations: 10.7 kB / 0.6853 GB, free: 32.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.5863, allocations: 3.938 kB / 0.6853 GB, free: 32.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.594e-05/0.5864, allocations: 11.98 kB / 0.6853 GB, free: 32.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.5868, allocations: 284.9 kB / 0.6856 GB, free: 31.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.587, allocations: 42.56 kB / 0.6856 GB, free: 31.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.7e-05/0.5871, allocations: 18.97 kB / 0.6856 GB, free: 31.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.5871, allocations: 3.938 kB / 0.6856 GB, free: 31.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001319/0.5873, allocations: 63.3 kB / 0.6857 GB, free: 31.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.903e-06/0.5873, allocations: 3.438 kB / 0.6857 GB, free: 31.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004827/0.5878, allocations: 109.4 kB / 0.6858 GB, free: 31.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.5878, allocations: 52.91 kB / 0.6858 GB, free: 31.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.588, allocations: 157.9 kB / 0.686 GB, free: 31.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.588, allocations: 25.7 kB / 0.686 GB, free: 31.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/0.5881, allocations: 96.05 kB / 0.6861 GB, free: 31.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.5881, allocations: 11.89 kB / 0.6861 GB, free: 31.35 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.746e-06/0.5881, allocations: 4 kB / 0.6861 GB, free: 31.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.307e-05/0.5882, allocations: 315.5 kB / 0.6864 GB, free: 31.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.772e-05/0.5883, allocations: 26.89 kB / 0.6864 GB, free: 31 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.476e-05/0.5884, allocations: 23.98 kB / 0.6865 GB, free: 30.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.871e-05/0.5885, allocations: 57.39 kB / 0.6865 GB, free: 30.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.5885, allocations: 0 / 0.6865 GB, free: 30.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000243/0.5887, allocations: 131.2 kB / 0.6866 GB, free: 30.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.536e-05/0.5888, allocations: 33.7 kB / 0.6867 GB, free: 30.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.5888, allocations: 6.484 kB / 0.6867 GB, free: 30.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.5888, allocations: 3.281 kB / 0.6867 GB, free: 30.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.315e-05/0.5889, allocations: 12 kB / 0.6867 GB, free: 30.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.5889, allocations: 0 / 0.6867 GB, free: 30.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.634e-05/0.589, allocations: 7.953 kB / 0.6867 GB, free: 30.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.589, allocations: 4 kB / 0.6867 GB, free: 30.71 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 9.574e-05/0.5891, allocations: 127.8 kB / 0.6868 GB, free: 30.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.064e-05/0.5892, allocations: 3.906 kB / 0.6868 GB, free: 30.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.5894, allocations: 87.55 kB / 0.6869 GB, free: 30.49 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.5894, allocations: 4 kB / 0.6869 GB, free: 30.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.5895, allocations: 0 / 0.6869 GB, free: 30.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.5895, allocations: 4.234 kB / 0.6869 GB, free: 30.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003742/0.5898, allocations: 357.4 kB / 0.6873 GB, free: 30.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.5899, allocations: 0 / 0.6873 GB, free: 30.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.55e-05/0.5899, allocations: 8 kB / 0.6873 GB, free: 30.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.5899, allocations: 3.812 kB / 0.6873 GB, free: 30.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.59, allocations: 0 / 0.6873 GB, free: 30.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.59, allocations: 0 / 0.6873 GB, free: 30.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.59, allocations: 7.953 kB / 0.6873 GB, free: 30.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.5902, allocations: 178.8 kB / 0.6875 GB, free: 29.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-05/0.5902, allocations: 81.11 kB / 0.6875 GB, free: 29.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.5903, allocations: 0 / 0.6875 GB, free: 29.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.209e-05/0.5904, allocations: 7.984 kB / 0.6875 GB, free: 29.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.5904, allocations: 4 kB / 0.6875 GB, free: 29.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.5904, allocations: 7.953 kB / 0.6876 GB, free: 29.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.55e-05/0.5906, allocations: 121.8 kB / 0.6877 GB, free: 29.65 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5906, allocations: 0 / 0.6877 GB, free: 29.65 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003522/0.5909, allocations: 31.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 (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.0009765/0.5919, allocations: 358.5 kB / 0.688 GB, free: 29.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002648/0.5922, allocations: 111.4 kB / 0.6881 GB, free: 29.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5922, allocations: 3.062 kB / 0.6881 GB, free: 29.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.5923, allocations: 23.92 kB / 0.6882 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.000432/0.5928, allocations: 20.05 kB / 0.6882 GB, free: 29.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004824/0.5933, allocations: 176.1 kB / 0.6884 GB, free: 29.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/0.5935, allocations: 0.6998 MB / 0.689 GB, free: 28.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.848e-05/0.5935, allocations: 7.828 kB / 0.689 GB, free: 28.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.863e-05/0.5936, allocations: 19.42 kB / 0.6891 GB, free: 28.34 MB / 362.7 MB Notification: Performance of SimCode: time 1.262e-06/0.5936, allocations: 0 / 0.6891 GB, free: 28.34 MB / 362.7 MB Notification: Performance of Templates: time 0.005316/0.5989, allocations: 1.462 MB / 0.6905 GB, free: 27.02 MB / 362.7 MB