Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00271/0.002715, 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.859/3.859, allocations: 341.5 MB / 358.2 MB, free: 12.54 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.00354/0.00354, allocations: 222.1 kB / 397.9 MB, free: 4.879 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.5984/0.5984, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006997/0.0007002, allocations: 12 kB / 0.5592 GB, free: 53.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1097, allocations: 48.7 MB / 0.6067 GB, free: 4.621 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4287/0.5384, allocations: 75.7 MB / 0.6807 GB, free: 37.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/0.5388, allocations: 71.97 kB / 0.6807 GB, free: 36.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01541/0.5542, allocations: 3.834 MB / 0.6845 GB, free: 33.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5543, allocations: 6.688 kB / 0.6845 GB, free: 33.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.5543, allocations: 0 / 0.6845 GB, free: 33.19 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004645/0.5548, allocations: 425.9 kB / 0.6849 GB, free: 32.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.5548, allocations: 11.78 kB / 0.6849 GB, free: 32.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.163e-05/0.5549, allocations: 7.906 kB / 0.6849 GB, free: 32.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.5551, allocations: 201.6 kB / 0.6851 GB, free: 32.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.5552, allocations: 4 kB / 0.6851 GB, free: 32.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.5552, allocations: 4 kB / 0.6851 GB, free: 32.47 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.5553, allocations: 37.69 kB / 0.6851 GB, free: 32.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.5553, allocations: 0 / 0.6851 GB, free: 32.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.5554, allocations: 0 / 0.6851 GB, free: 32.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.5554, allocations: 4.422 kB / 0.6851 GB, free: 32.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.68e-05/0.5554, allocations: 15.98 kB / 0.6852 GB, free: 32.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001873/0.5556, allocations: 181.6 kB / 0.6853 GB, free: 32.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.353e-05/0.5557, allocations: 34.5 kB / 0.6854 GB, free: 32.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.521e-05/0.5558, allocations: 8.922 kB / 0.6854 GB, free: 32.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.5558, allocations: 0 / 0.6854 GB, free: 32.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001328/0.556, allocations: 60.67 kB / 0.6854 GB, free: 32.06 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 2.946e-06/0.556, allocations: 1.547 kB / 0.6854 GB, free: 32.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002321/0.5562, allocations: 71.81 kB / 0.6855 GB, free: 31.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.5563, allocations: 55.39 kB / 0.6856 GB, free: 31.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.5565, allocations: 166.1 kB / 0.6857 GB, free: 31.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.5565, allocations: 33.7 kB / 0.6857 GB, free: 31.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.355e-05/0.5565, allocations: 99.25 kB / 0.6858 GB, free: 31.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.5566, allocations: 7.844 kB / 0.6858 GB, free: 31.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.5566, allocations: 4 kB / 0.6858 GB, free: 31.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.669e-05/0.5567, allocations: 318.8 kB / 0.6862 GB, free: 31.28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.54e-05/0.5568, allocations: 23.98 kB / 0.6862 GB, free: 31.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.385e-05/0.5569, allocations: 15.98 kB / 0.6862 GB, free: 31.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.802e-05/0.557, allocations: 53.69 kB / 0.6862 GB, free: 31.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.557, allocations: 2.688 kB / 0.6862 GB, free: 31.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002058/0.5572, allocations: 115.3 kB / 0.6864 GB, free: 31.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.5573, allocations: 29.7 kB / 0.6864 GB, free: 31.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.5573, allocations: 6.266 kB / 0.6864 GB, free: 31.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.5573, allocations: 3.938 kB / 0.6864 GB, free: 31.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.183e-05/0.5574, allocations: 7.984 kB / 0.6864 GB, free: 31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.5574, allocations: 0 / 0.6864 GB, free: 31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.915e-05/0.5575, allocations: 9.594 kB / 0.6864 GB, free: 31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.5575, allocations: 7.75 kB / 0.6864 GB, free: 30.99 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 (5): * Single equations (assignments): 4 * 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 8.992e-05/0.5576, allocations: 127.8 kB / 0.6865 GB, free: 30.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.5576, allocations: 14.7 kB / 0.6866 GB, free: 30.85 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001845/0.5578, allocations: 76.11 kB / 0.6866 GB, free: 30.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.5579, allocations: 0 / 0.6866 GB, free: 30.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5579, allocations: 0 / 0.6866 GB, free: 30.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.5579, allocations: 0 / 0.6866 GB, free: 30.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.558, allocations: 185.5 kB / 0.6868 GB, free: 30.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.558, allocations: 0 / 0.6868 GB, free: 30.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.79e-05/0.5581, allocations: 4.594 kB / 0.6868 GB, free: 30.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.5581, allocations: 0 / 0.6868 GB, free: 30.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.5581, allocations: 7.781 kB / 0.6868 GB, free: 30.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.5581, allocations: 0 / 0.6868 GB, free: 30.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5581, allocations: 0 / 0.6868 GB, free: 30.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.5583, allocations: 92.97 kB / 0.6869 GB, free: 30.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.768e-05/0.5584, allocations: 85.02 kB / 0.687 GB, free: 30.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.5584, allocations: 4 kB / 0.687 GB, free: 30.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.275e-05/0.5585, allocations: 4 kB / 0.687 GB, free: 30.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.5585, allocations: 10.7 kB / 0.687 GB, free: 30.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.5585, allocations: 0 / 0.687 GB, free: 30.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001212/0.5587, allocations: 123.8 kB / 0.6871 GB, free: 30.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.5587, allocations: 0 / 0.6871 GB, free: 30.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003042/0.559, allocations: 35.92 kB / 0.6872 GB, free: 30.15 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 (4): * Single equations (assignments): 3 * 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.000859/0.5599, allocations: 317.3 kB / 0.6875 GB, free: 30 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.5601, allocations: 99.39 kB / 0.6876 GB, free: 29.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.5601, allocations: 3.25 kB / 0.6876 GB, free: 29.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.045e-05/0.5602, allocations: 15.98 kB / 0.6876 GB, free: 29.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.5605, allocations: 19.94 kB / 0.6876 GB, free: 29.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004864/0.561, allocations: 195.4 kB / 0.6878 GB, free: 29.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001483/0.5612, allocations: 0.6965 MB / 0.6885 GB, free: 28.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.58e-05/0.5613, allocations: 16.97 kB / 0.6885 GB, free: 28.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.479e-05/0.5613, allocations: 11.44 kB / 0.6885 GB, free: 28.89 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.5613, allocations: 0 / 0.6885 GB, free: 28.89 MB / 362.7 MB Notification: Performance of Templates: time 0.005245/0.5666, allocations: 1.3 MB / 0.6898 GB, free: 27.72 MB / 362.7 MB