Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004/0.004001, 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.935/3.935, 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.004705/0.004705, allocations: 226.1 kB / 397.9 MB, free: 4.891 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.592/0.592, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004702/0.0004704, allocations: 16 kB / 0.5592 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0903/0.0908, allocations: 48.7 MB / 0.6067 GB, free: 4.629 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4197/0.5106, allocations: 75.73 MB / 0.6807 GB, free: 37 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003679/0.511, allocations: 67.97 kB / 0.6808 GB, free: 36.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03356/0.5446, allocations: 5.439 MB / 0.6861 GB, free: 31.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.5446, allocations: 0 / 0.6861 GB, free: 31.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.566e-05/0.5447, allocations: 8 kB / 0.6861 GB, free: 31.62 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.001042/0.5457, allocations: 0.7464 MB / 0.6868 GB, free: 30.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.5458, allocations: 8.031 kB / 0.6868 GB, free: 30.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.5459, allocations: 48.22 kB / 0.6869 GB, free: 30.76 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008699/0.5468, allocations: 451.1 kB / 0.6873 GB, free: 30.28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.5469, allocations: 7.094 kB / 0.6873 GB, free: 30.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.5469, allocations: 4 kB / 0.6873 GB, free: 30.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.5471, allocations: 67.38 kB / 0.6874 GB, free: 30.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.5472, allocations: 0 / 0.6874 GB, free: 30.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.5472, allocations: 0 / 0.6874 GB, free: 30.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.5472, allocations: 4 kB / 0.6874 GB, free: 30.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.5474, allocations: 26.42 kB / 0.6874 GB, free: 30.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008679/0.5483, allocations: 374.3 kB / 0.6877 GB, free: 29.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.5485, allocations: 57.77 kB / 0.6878 GB, free: 29.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.162e-05/0.5486, allocations: 29.14 kB / 0.6878 GB, free: 29.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.5487, allocations: 0 / 0.6878 GB, free: 29.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002949/0.549, allocations: 92.16 kB / 0.6879 GB, free: 29.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 3.116e-06/0.549, allocations: 0 / 0.6879 GB, free: 29.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008143/0.5499, allocations: 149.3 kB / 0.6881 GB, free: 29.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.5499, allocations: 84.31 kB / 0.6881 GB, free: 29.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003354/0.5533, allocations: 0.9556 MB / 0.6891 GB, free: 28.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.744e-05/0.5534, allocations: 29.64 kB / 0.6891 GB, free: 28.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/0.5538, allocations: 224.1 kB / 0.6893 GB, free: 28.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.792e-05/0.5539, allocations: 27.72 kB / 0.6893 GB, free: 28.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.162e-05/0.5539, allocations: 4 kB / 0.6893 GB, free: 28.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.5541, allocations: 362.8 kB / 0.6897 GB, free: 27.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.5544, allocations: 34.73 kB / 0.6897 GB, free: 27.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.5546, allocations: 58.31 kB / 0.6898 GB, free: 27.58 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.5549, allocations: 98.83 kB / 0.6899 GB, free: 27.47 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.5549, allocations: 0 / 0.6899 GB, free: 27.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0009244/0.5559, allocations: 240.4 kB / 0.6901 GB, free: 27.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.526e-05/0.556, allocations: 63.39 kB / 0.6902 GB, free: 27.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.556, allocations: 2.094 kB / 0.6902 GB, free: 27.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.703e-05/0.5561, allocations: 2.812 kB / 0.6902 GB, free: 27.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.5563, allocations: 8 kB / 0.6902 GB, free: 27.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.5563, allocations: 7.938 kB / 0.6902 GB, free: 27.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003815/0.5567, allocations: 22.64 kB / 0.6902 GB, free: 27.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.187e-05/0.5568, allocations: 4 kB / 0.6902 GB, free: 27.11 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: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.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): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0004512/0.5573, allocations: 219.7 kB / 0.6904 GB, free: 26.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.5575, allocations: 51.38 kB / 0.6905 GB, free: 26.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005817/0.5581, allocations: 149.1 kB / 0.6906 GB, free: 26.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.5581, allocations: 4.562 kB / 0.6906 GB, free: 26.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.5581, allocations: 0 / 0.6906 GB, free: 26.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.5582, allocations: 10.05 kB / 0.6906 GB, free: 26.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008158/0.559, allocations: 361.3 kB / 0.691 GB, free: 26.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.559, allocations: 0 / 0.691 GB, free: 26.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.5592, allocations: 8 kB / 0.691 GB, free: 26.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-05/0.5592, allocations: 3.984 kB / 0.691 GB, free: 26.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.5592, allocations: 3.406 kB / 0.691 GB, free: 26.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.5593, allocations: 0 / 0.691 GB, free: 26.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.5593, allocations: 4 kB / 0.691 GB, free: 26.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005551/0.5598, allocations: 165.4 kB / 0.6911 GB, free: 26.06 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004159/0.5603, allocations: 184.5 kB / 0.6913 GB, free: 25.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/0.5604, allocations: 7.438 kB / 0.6913 GB, free: 25.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.5607, allocations: 11.31 kB / 0.6913 GB, free: 25.85 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.747e-05/0.5608, allocations: 10.09 kB / 0.6914 GB, free: 25.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/0.5608, allocations: 8 kB / 0.6914 GB, free: 25.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00207/0.5629, allocations: 0.7057 MB / 0.692 GB, free: 25.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.182e-06/0.563, allocations: 0 / 0.692 GB, free: 25.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001146/0.5642, allocations: 95.5 kB / 0.6921 GB, free: 25.04 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002632/0.5669, allocations: 471.5 kB / 0.6926 GB, free: 24.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006456/0.5676, allocations: 202.2 kB / 0.6928 GB, free: 24.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.279e-06/0.5676, allocations: 0 / 0.6928 GB, free: 24.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.5678, allocations: 35.19 kB / 0.6928 GB, free: 24.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.5689, allocations: 50.89 kB / 0.6929 GB, free: 24.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003174/0.5721, allocations: 0.917 MB / 0.6938 GB, free: 23.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004945/0.5727, allocations: 0.8368 MB / 0.6946 GB, free: 22.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003812/0.5731, allocations: 78.88 kB / 0.6947 GB, free: 22.67 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/0.5734, allocations: 34.69 kB / 0.6947 GB, free: 22.64 MB / 362.7 MB Notification: Performance of SimCode: time 1.543e-06/0.5734, allocations: 4 kB / 0.6947 GB, free: 22.64 MB / 362.7 MB Notification: Performance of Templates: time 0.01313/0.5865, allocations: 4.493 MB / 0.6991 GB, free: 18.32 MB / 362.7 MB