Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,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.Test49") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004072/0.004077, 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.836/3.836, 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.005362/0.005362, allocations: 218.1 kB / 397.9 MB, free: 4.973 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.544/0.544, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007341/0.0007346, allocations: 16 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1137, allocations: 48.71 MB / 0.6067 GB, free: 4.656 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4486/0.5624, allocations: 75.87 MB / 0.6808 GB, free: 36.9 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.5628, allocations: 75.95 kB / 0.6809 GB, free: 36.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0174/0.5802, allocations: 4.352 MB / 0.6851 GB, free: 32.56 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5802, allocations: 0 / 0.6851 GB, free: 32.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.476e-05/0.5802, allocations: 0 / 0.6851 GB, free: 32.56 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.0005824/0.5808, allocations: 453.6 kB / 0.6856 GB, free: 32.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.5809, allocations: 12.03 kB / 0.6856 GB, free: 32.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.634e-05/0.581, allocations: 15.56 kB / 0.6856 GB, free: 32.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.5812, allocations: 210.8 kB / 0.6858 GB, free: 31.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.5813, allocations: 10.69 kB / 0.6858 GB, free: 31.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.5813, allocations: 7.375 kB / 0.6858 GB, free: 31.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.5815, allocations: 45.67 kB / 0.6859 GB, free: 31.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.5815, allocations: 2.438 kB / 0.6859 GB, free: 31.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.5815, allocations: 0 / 0.6859 GB, free: 31.74 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.5815, allocations: 0 / 0.6859 GB, free: 31.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.49e-05/0.5816, allocations: 19.58 kB / 0.6859 GB, free: 31.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004162/0.582, allocations: 308.7 kB / 0.6862 GB, free: 31.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.5823, allocations: 42.56 kB / 0.6862 GB, free: 31.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.779e-05/0.5823, allocations: 16.94 kB / 0.6862 GB, free: 31.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.5824, allocations: 0 / 0.6862 GB, free: 31.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001302/0.5825, allocations: 56.28 kB / 0.6863 GB, free: 31.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.863e-06/0.5825, allocations: 3.688 kB / 0.6863 GB, free: 31.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000485/0.583, allocations: 133.2 kB / 0.6864 GB, free: 31.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.5831, allocations: 51.41 kB / 0.6865 GB, free: 31.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003124/0.5834, allocations: 240 kB / 0.6867 GB, free: 30.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.5834, allocations: 33.7 kB / 0.6867 GB, free: 30.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.764e-05/0.5835, allocations: 108 kB / 0.6868 GB, free: 30.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.5835, allocations: 15.89 kB / 0.6869 GB, free: 30.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.135e-06/0.5835, allocations: 3.938 kB / 0.6869 GB, free: 30.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.414e-05/0.5836, allocations: 325.6 kB / 0.6872 GB, free: 30.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.758e-05/0.5837, allocations: 20 kB / 0.6872 GB, free: 30.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.414e-05/0.5838, allocations: 23.98 kB / 0.6872 GB, free: 30.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.72e-05/0.5839, allocations: 57.64 kB / 0.6873 GB, free: 30.19 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.5839, allocations: 0 / 0.6873 GB, free: 30.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002602/0.5841, allocations: 145.9 kB / 0.6874 GB, free: 30.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.678e-05/0.5842, allocations: 34.25 kB / 0.6874 GB, free: 30 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.5842, allocations: 3.438 kB / 0.6874 GB, free: 30 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.5842, allocations: 5.719 kB / 0.6874 GB, free: 29.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.721e-05/0.5843, allocations: 4 kB / 0.6874 GB, free: 29.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.5844, allocations: 4 kB / 0.6875 GB, free: 29.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.562e-05/0.5844, allocations: 10.81 kB / 0.6875 GB, free: 29.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.5845, allocations: 6.719 kB / 0.6875 GB, free: 29.97 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.0001135/0.5846, allocations: 131.9 kB / 0.6876 GB, free: 29.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.5846, allocations: 7.906 kB / 0.6876 GB, free: 29.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.5849, allocations: 106.5 kB / 0.6877 GB, free: 29.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.5849, allocations: 1.656 kB / 0.6877 GB, free: 29.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5849, allocations: 4 kB / 0.6877 GB, free: 29.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.5849, allocations: 0 / 0.6877 GB, free: 29.72 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004277/0.5854, allocations: 377.5 kB / 0.6881 GB, free: 29.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.5854, allocations: 3.062 kB / 0.6881 GB, free: 29.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.88e-05/0.5855, allocations: 7.938 kB / 0.6881 GB, free: 29.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.5855, allocations: 0 / 0.6881 GB, free: 29.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.5855, allocations: 4 kB / 0.6881 GB, free: 29.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.5855, allocations: 0 / 0.6881 GB, free: 29.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5855, allocations: 3.953 kB / 0.6881 GB, free: 29.28 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.5857, allocations: 178.6 kB / 0.6883 GB, free: 29.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.03e-05/0.5858, allocations: 96.92 kB / 0.6884 GB, free: 28.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.576e-05/0.5858, allocations: 7.984 kB / 0.6884 GB, free: 28.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.661e-05/0.5859, allocations: 4 kB / 0.6884 GB, free: 28.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.586, allocations: 0 / 0.6884 GB, free: 28.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.586, allocations: 7.953 kB / 0.6884 GB, free: 28.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002161/0.5863, allocations: 191.4 kB / 0.6886 GB, free: 28.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5863, allocations: 3.562 kB / 0.6886 GB, free: 28.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003923/0.5867, allocations: 39.94 kB / 0.6886 GB, free: 28.74 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.000947/0.5877, allocations: 370.7 kB / 0.6889 GB, free: 28.56 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002543/0.5879, allocations: 111.4 kB / 0.6891 GB, free: 28.44 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.588, allocations: 0 / 0.6891 GB, free: 28.44 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.266e-05/0.588, allocations: 23.92 kB / 0.6891 GB, free: 28.42 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.5885, allocations: 18.36 kB / 0.6891 GB, free: 28.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006101/0.5891, allocations: 275.1 kB / 0.6894 GB, free: 28.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/0.5893, allocations: 0.7096 MB / 0.69 GB, free: 27.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.743e-05/0.5894, allocations: 16 kB / 0.6901 GB, free: 27.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.758e-05/0.5895, allocations: 16.11 kB / 0.6901 GB, free: 27.35 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5895, allocations: 0 / 0.6901 GB, free: 27.35 MB / 362.7 MB Notification: Performance of Templates: time 0.005918/0.5954, allocations: 1.643 MB / 0.6917 GB, free: 25.83 MB / 362.7 MB