Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,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.Test47") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002731/0.002736, allocations: 345.9 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.458/3.458, allocations: 341.5 MB / 358.2 MB, free: 28.74 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00366/0.00366, allocations: 216.3 kB / 397.8 MB, free: 6.148 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5405/0.5405, allocations: 76.09 MB / 0.5014 GB, free: 0.832 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007541/0.0007545, allocations: 15.98 kB / 0.5592 GB, free: 60.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1023, allocations: 48.7 MB / 0.6067 GB, free: 11.54 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4212/0.5236, allocations: 75.87 MB / 0.6808 GB, free: 11.42 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/0.5239, allocations: 77.58 kB / 0.6809 GB, free: 11.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01662/0.5406, allocations: 4.353 MB / 0.6851 GB, free: 7.855 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.5406, allocations: 0 / 0.6851 GB, free: 7.855 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.5407, allocations: 7.75 kB / 0.6852 GB, free: 7.852 MB / 314.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.0005614/0.5412, allocations: 451.5 kB / 0.6856 GB, free: 7.367 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.5413, allocations: 8.031 kB / 0.6856 GB, free: 7.359 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.41e-05/0.5413, allocations: 15.81 kB / 0.6856 GB, free: 7.344 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.5416, allocations: 213.5 kB / 0.6858 GB, free: 7.105 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.5416, allocations: 0 / 0.6858 GB, free: 7.105 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.5417, allocations: 8 kB / 0.6858 GB, free: 7.098 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.5418, allocations: 45.42 kB / 0.6859 GB, free: 7.051 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.5418, allocations: 0 / 0.6859 GB, free: 7.051 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.5419, allocations: 0 / 0.6859 GB, free: 7.051 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.5419, allocations: 0 / 0.6859 GB, free: 7.051 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.46e-05/0.5419, allocations: 19.48 kB / 0.6859 GB, free: 7.035 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.5424, allocations: 309.9 kB / 0.6862 GB, free: 6.707 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.5426, allocations: 45.62 kB / 0.6862 GB, free: 6.66 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.647e-05/0.5426, allocations: 16.94 kB / 0.6862 GB, free: 6.641 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.5427, allocations: 3.625 kB / 0.6862 GB, free: 6.641 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001196/0.5428, allocations: 54.77 kB / 0.6863 GB, free: 6.578 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.663e-06/0.5428, allocations: 0 / 0.6863 GB, free: 6.578 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004799/0.5433, allocations: 130.6 kB / 0.6864 GB, free: 6.461 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.5433, allocations: 51.41 kB / 0.6865 GB, free: 6.398 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.5437, allocations: 251.2 kB / 0.6867 GB, free: 6.176 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.5437, allocations: 25.7 kB / 0.6867 GB, free: 6.145 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.883e-05/0.5438, allocations: 117 kB / 0.6868 GB, free: 6.047 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.5438, allocations: 7.891 kB / 0.6868 GB, free: 6.039 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.297e-06/0.5438, allocations: 4 kB / 0.6869 GB, free: 6.035 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.323e-05/0.5439, allocations: 329.7 kB / 0.6872 GB, free: 5.711 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.84e-05/0.544, allocations: 18.5 kB / 0.6872 GB, free: 5.699 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.173e-05/0.544, allocations: 26.92 kB / 0.6872 GB, free: 5.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.64e-05/0.5441, allocations: 55.11 kB / 0.6873 GB, free: 5.633 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.5442, allocations: 4 kB / 0.6873 GB, free: 5.629 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002448/0.5444, allocations: 139.7 kB / 0.6874 GB, free: 5.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/0.5445, allocations: 37.69 kB / 0.6874 GB, free: 5.457 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.5445, allocations: 64 / 0.6874 GB, free: 5.457 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.5445, allocations: 4 kB / 0.6874 GB, free: 5.453 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.131e-05/0.5446, allocations: 8 kB / 0.6874 GB, free: 5.445 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.5446, allocations: 0 / 0.6874 GB, free: 5.445 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.857e-05/0.5447, allocations: 11.52 kB / 0.6875 GB, free: 5.438 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.5447, allocations: 4 kB / 0.6875 GB, free: 5.434 MB / 314.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.0001033/0.5448, allocations: 133.6 kB / 0.6876 GB, free: 5.301 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.5449, allocations: 11.91 kB / 0.6876 GB, free: 5.289 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002398/0.5451, allocations: 104.2 kB / 0.6877 GB, free: 5.203 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.5451, allocations: 0 / 0.6877 GB, free: 5.203 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5451, allocations: 0 / 0.6877 GB, free: 5.203 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.5451, allocations: 0 / 0.6877 GB, free: 5.203 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004626/0.5456, allocations: 377.3 kB / 0.6881 GB, free: 4.812 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5456, allocations: 0 / 0.6881 GB, free: 4.812 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.473e-05/0.5457, allocations: 15.94 kB / 0.6881 GB, free: 4.797 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.5457, allocations: 0 / 0.6881 GB, free: 4.797 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.5457, allocations: 2.688 kB / 0.6881 GB, free: 4.797 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.5457, allocations: 0 / 0.6881 GB, free: 4.797 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.5458, allocations: 3.953 kB / 0.6881 GB, free: 4.793 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.546, allocations: 176.4 kB / 0.6882 GB, free: 4.617 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.396e-05/0.546, allocations: 96.48 kB / 0.6883 GB, free: 4.508 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.5461, allocations: 0 / 0.6883 GB, free: 4.508 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.443e-05/0.5462, allocations: 11.98 kB / 0.6884 GB, free: 4.496 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.5462, allocations: 4 kB / 0.6884 GB, free: 4.492 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.5463, allocations: 7.391 kB / 0.6884 GB, free: 4.488 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002118/0.5465, allocations: 189.3 kB / 0.6885 GB, free: 4.332 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5465, allocations: 0 / 0.6885 GB, free: 4.332 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003676/0.5469, allocations: 35.69 kB / 0.6886 GB, free: 4.301 MB / 314.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.001014/0.5479, allocations: 377.2 kB / 0.6889 GB, free: 4.059 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002332/0.5482, allocations: 112.6 kB / 0.689 GB, free: 3.953 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5482, allocations: 0 / 0.689 GB, free: 3.953 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.265e-05/0.5482, allocations: 19.36 kB / 0.6891 GB, free: 3.938 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.5487, allocations: 19.06 kB / 0.6891 GB, free: 3.922 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006295/0.5493, allocations: 278.8 kB / 0.6893 GB, free: 3.645 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001896/0.5495, allocations: 0.7116 MB / 0.69 GB, free: 2.91 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.119e-05/0.5496, allocations: 16.14 kB / 0.6901 GB, free: 2.895 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.655e-05/0.5497, allocations: 26.86 kB / 0.6901 GB, free: 2.871 MB / 314.7 MB Notification: Performance of SimCode: time 6.91e-07/0.5497, allocations: 3.938 kB / 0.6901 GB, free: 2.867 MB / 314.7 MB Notification: Performance of Templates: time 0.005864/0.5555, allocations: 1.647 MB / 0.6917 GB, free: 1.254 MB / 314.7 MB