Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002665/0.002665, allocations: 350.6 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 3.731/3.731, allocations: 341.5 MB / 358.2 MB, free: 12.63 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: 210.1 kB / 397.8 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.6673/0.6673, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004618/0.0004621, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1066, allocations: 48.7 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4781/0.5848, allocations: 76.1 MB / 0.6811 GB, free: 36.63 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/0.5851, allocations: 71.97 kB / 0.6811 GB, free: 36.56 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02164/0.6068, allocations: 4.917 MB / 0.6859 GB, free: 31.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.6068, allocations: 0 / 0.6859 GB, free: 31.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.6069, allocations: 4 kB / 0.6859 GB, free: 31.73 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006169/0.6075, allocations: 430.5 kB / 0.6863 GB, free: 31.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.6076, allocations: 8.031 kB / 0.6863 GB, free: 31.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.075e-05/0.6076, allocations: 4 kB / 0.6864 GB, free: 31.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.608, allocations: 202.8 kB / 0.6865 GB, free: 31.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.608, allocations: 7 kB / 0.6866 GB, free: 31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.69e-05/0.6081, allocations: 4 kB / 0.6866 GB, free: 31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.6083, allocations: 67.33 kB / 0.6866 GB, free: 30.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.6083, allocations: 3.25 kB / 0.6866 GB, free: 30.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.6084, allocations: 0 / 0.6866 GB, free: 30.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.6084, allocations: 3.984 kB / 0.6866 GB, free: 30.92 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.6086, allocations: 30.55 kB / 0.6867 GB, free: 30.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005748/0.6092, allocations: 296.8 kB / 0.6869 GB, free: 30.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.6094, allocations: 58.55 kB / 0.687 GB, free: 30.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.485e-05/0.6095, allocations: 18.7 kB / 0.687 GB, free: 30.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.6095, allocations: 7.75 kB / 0.687 GB, free: 30.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002028/0.6098, allocations: 59.48 kB / 0.6871 GB, free: 30.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 2.675e-06/0.6098, allocations: 2.781 kB / 0.6871 GB, free: 30.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007544/0.6106, allocations: 141.3 kB / 0.6872 GB, free: 30.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.6106, allocations: 85.06 kB / 0.6873 GB, free: 30.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.6109, allocations: 146 kB / 0.6874 GB, free: 29.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.6109, allocations: 25.7 kB / 0.6875 GB, free: 29.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.891e-05/0.611, allocations: 100 kB / 0.6876 GB, free: 29.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.6111, allocations: 16.41 kB / 0.6876 GB, free: 29.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.225e-05/0.6111, allocations: 0.5938 kB / 0.6876 GB, free: 29.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.718e-05/0.6112, allocations: 324.7 kB / 0.6879 GB, free: 29.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.6113, allocations: 23.98 kB / 0.6879 GB, free: 29.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.6115, allocations: 37.7 kB / 0.6879 GB, free: 29.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.6116, allocations: 60.86 kB / 0.688 GB, free: 29.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.6117, allocations: 0 / 0.688 GB, free: 29.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004154/0.6121, allocations: 139.3 kB / 0.6881 GB, free: 29.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.754e-05/0.6122, allocations: 33.69 kB / 0.6882 GB, free: 29.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.6122, allocations: 0 / 0.6882 GB, free: 29.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.6122, allocations: 4 kB / 0.6882 GB, free: 29.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.6124, allocations: 11.94 kB / 0.6882 GB, free: 29.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.996e-06/0.6124, allocations: 3.953 kB / 0.6882 GB, free: 29.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.6125, allocations: 8.875 kB / 0.6882 GB, free: 29.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.6126, allocations: 4 kB / 0.6882 GB, free: 29.17 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 (8): * Single equations (assignments): 7 * 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.0001387/0.6127, allocations: 123.1 kB / 0.6883 GB, free: 29.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.801e-05/0.6128, allocations: 14.75 kB / 0.6883 GB, free: 29.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004222/0.6132, allocations: 114.3 kB / 0.6884 GB, free: 28.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.6132, allocations: 0 / 0.6884 GB, free: 28.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.6132, allocations: 7.062 kB / 0.6884 GB, free: 28.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.6133, allocations: 3.953 kB / 0.6884 GB, free: 28.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006546/0.6139, allocations: 373.5 kB / 0.6888 GB, free: 28.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.614, allocations: 0 / 0.6888 GB, free: 28.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.6141, allocations: 12 kB / 0.6888 GB, free: 28.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.6141, allocations: 0 / 0.6888 GB, free: 28.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.6141, allocations: 0 / 0.6888 GB, free: 28.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.6141, allocations: 9.438 kB / 0.6888 GB, free: 28.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.6142, allocations: 0 / 0.6888 GB, free: 28.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003203/0.6145, allocations: 194.5 kB / 0.689 GB, free: 28.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.354e-05/0.6146, allocations: 89 kB / 0.6891 GB, free: 28.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.73e-05/0.6146, allocations: 4 kB / 0.6891 GB, free: 28.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.6148, allocations: 4 kB / 0.6891 GB, free: 28.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.6149, allocations: 14.75 kB / 0.6891 GB, free: 28.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.6149, allocations: 4.203 kB / 0.6891 GB, free: 28.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001405/0.615, allocations: 122.3 kB / 0.6892 GB, free: 28.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6151, allocations: 0 / 0.6892 GB, free: 28.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006468/0.6157, allocations: 47.94 kB / 0.6893 GB, free: 27.98 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 (8): * Single equations (assignments): 7 * 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.001644/0.6174, allocations: 441.6 kB / 0.6897 GB, free: 27.78 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003239/0.6177, allocations: 126.7 kB / 0.6898 GB, free: 27.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6178, allocations: 0 / 0.6898 GB, free: 27.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.6179, allocations: 23.98 kB / 0.6898 GB, free: 27.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006121/0.6185, allocations: 23.17 kB / 0.6899 GB, free: 27.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005832/0.6191, allocations: 189.1 kB / 0.69 GB, free: 27.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/0.6193, allocations: 0.7004 MB / 0.6907 GB, free: 26.67 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.6194, allocations: 16.66 kB / 0.6907 GB, free: 26.65 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.732e-05/0.6195, allocations: 19.42 kB / 0.6908 GB, free: 26.63 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.6195, allocations: 0 / 0.6908 GB, free: 26.63 MB / 362.7 MB Notification: Performance of Templates: time 0.008247/0.6278, allocations: 1.886 MB / 0.6926 GB, free: 24.89 MB / 362.7 MB