Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002725/0.00273, 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 4.001/4.001, allocations: 341.5 MB / 358.2 MB, free: 12.55 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.005165/0.005165, allocations: 222.1 kB / 397.9 MB, free: 4.887 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.5629/0.5629, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006494/0.00065, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09623/0.09692, allocations: 48.7 MB / 0.6067 GB, free: 4.641 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4332/0.5302, allocations: 76.61 MB / 0.6816 GB, free: 36.11 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/0.5305, allocations: 80.98 kB / 0.6816 GB, free: 36.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.013/0.5436, allocations: 3.235 MB / 0.6848 GB, free: 32.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.5436, allocations: 0 / 0.6848 GB, free: 32.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.789e-05/0.5436, allocations: 4 kB / 0.6848 GB, free: 32.87 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006195/0.5443, allocations: 487.7 kB / 0.6853 GB, free: 32.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.5443, allocations: 8.031 kB / 0.6853 GB, free: 32.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.117e-05/0.5444, allocations: 13.62 kB / 0.6853 GB, free: 32.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.5447, allocations: 206.8 kB / 0.6855 GB, free: 32.08 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.5447, allocations: 6.688 kB / 0.6855 GB, free: 32.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.483e-05/0.5448, allocations: 8 kB / 0.6855 GB, free: 32.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.545, allocations: 77.55 kB / 0.6856 GB, free: 31.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.545, allocations: 0 / 0.6856 GB, free: 31.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.5451, allocations: 0 / 0.6856 GB, free: 31.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.5451, allocations: 7.938 kB / 0.6856 GB, free: 31.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.5453, allocations: 43.62 kB / 0.6856 GB, free: 31.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005791/0.5459, allocations: 351.7 kB / 0.686 GB, free: 31.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003212/0.5462, allocations: 74.61 kB / 0.686 GB, free: 31.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.5463, allocations: 32.84 kB / 0.6861 GB, free: 31.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.5464, allocations: 2.656 kB / 0.6861 GB, free: 31.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/0.5466, allocations: 75.38 kB / 0.6861 GB, free: 31.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 2.013e-06/0.5466, allocations: 0 / 0.6861 GB, free: 31.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004436/0.547, allocations: 123.2 kB / 0.6862 GB, free: 31.22 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.5471, allocations: 59.36 kB / 0.6863 GB, free: 31.15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.5473, allocations: 170.4 kB / 0.6865 GB, free: 30.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.5473, allocations: 25.7 kB / 0.6865 GB, free: 30.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.5474, allocations: 104.1 kB / 0.6866 GB, free: 30.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.5474, allocations: 23.64 kB / 0.6866 GB, free: 30.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.889e-06/0.5475, allocations: 4 kB / 0.6866 GB, free: 30.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.68e-05/0.5476, allocations: 323.4 kB / 0.6869 GB, free: 30.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.5477, allocations: 35.25 kB / 0.687 GB, free: 30.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.5478, allocations: 47.14 kB / 0.687 GB, free: 30.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.548, allocations: 74.33 kB / 0.6871 GB, free: 30.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.548, allocations: 3.031 kB / 0.6871 GB, free: 30.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000368/0.5484, allocations: 159.2 kB / 0.6872 GB, free: 30.17 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/0.5485, allocations: 33.69 kB / 0.6873 GB, free: 30.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.5485, allocations: 0 / 0.6873 GB, free: 30.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.5485, allocations: 4 kB / 0.6873 GB, free: 30.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.5487, allocations: 20.25 kB / 0.6873 GB, free: 30.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.5487, allocations: 3.953 kB / 0.6873 GB, free: 30.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.596e-05/0.5488, allocations: 21.05 kB / 0.6873 GB, free: 30.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.5488, allocations: 4 kB / 0.6873 GB, free: 30.08 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * 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.0001075/0.5489, allocations: 121.6 kB / 0.6874 GB, free: 29.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.549, allocations: 7.906 kB / 0.6874 GB, free: 29.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003387/0.5493, allocations: 121.5 kB / 0.6875 GB, free: 29.83 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.5493, allocations: 2.812 kB / 0.6876 GB, free: 29.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5493, allocations: 0 / 0.6876 GB, free: 29.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.5494, allocations: 7.953 kB / 0.6876 GB, free: 29.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.5496, allocations: 209.4 kB / 0.6878 GB, free: 29.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5496, allocations: 0 / 0.6878 GB, free: 29.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.5497, allocations: 15.98 kB / 0.6878 GB, free: 29.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.5497, allocations: 1.156 kB / 0.6878 GB, free: 29.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.5497, allocations: 0 / 0.6878 GB, free: 29.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.5498, allocations: 0 / 0.6878 GB, free: 29.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5498, allocations: 0 / 0.6878 GB, free: 29.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004251/0.5502, allocations: 175 kB / 0.6879 GB, free: 29.37 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.797e-05/0.5503, allocations: 85.05 kB / 0.688 GB, free: 29.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.5503, allocations: 2.969 kB / 0.688 GB, free: 29.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.915e-05/0.5504, allocations: 11.98 kB / 0.688 GB, free: 29.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.5505, allocations: 7.984 kB / 0.688 GB, free: 29.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.5505, allocations: 7.984 kB / 0.6881 GB, free: 29.24 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001113/0.5506, allocations: 123.9 kB / 0.6882 GB, free: 29.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5506, allocations: 0 / 0.6882 GB, free: 29.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003121/0.5509, allocations: 40.44 kB / 0.6882 GB, free: 29.08 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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.0009432/0.5519, allocations: 316.6 kB / 0.6885 GB, free: 28.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003749/0.5523, allocations: 139.3 kB / 0.6886 GB, free: 28.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.5523, allocations: 0 / 0.6886 GB, free: 28.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.5524, allocations: 35.42 kB / 0.6887 GB, free: 28.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.5528, allocations: 31.31 kB / 0.6887 GB, free: 28.72 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006334/0.5535, allocations: 263.9 kB / 0.689 GB, free: 28.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.5537, allocations: 0.7082 MB / 0.6897 GB, free: 27.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.083e-05/0.5538, allocations: 8.438 kB / 0.6897 GB, free: 27.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.279e-05/0.5538, allocations: 15.44 kB / 0.6897 GB, free: 27.68 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.5538, allocations: 0.75 kB / 0.6897 GB, free: 27.68 MB / 362.7 MB Notification: Performance of Templates: time 0.005917/0.5598, allocations: 1.601 MB / 0.6912 GB, free: 26.21 MB / 362.7 MB