Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,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.Test18") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002643/0.002642, allocations: 348.1 kB / 15.94 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.654/3.654, allocations: 341.5 MB / 358.2 MB, free: 12.62 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.00363/0.00363, allocations: 226.1 kB / 397.9 MB, free: 4.965 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.5113/0.5113, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006466/0.0006467, allocations: 16 kB / 0.5592 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1153, allocations: 48.7 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4483/0.5637, allocations: 75.86 MB / 0.6808 GB, free: 36.86 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.564, allocations: 75.95 kB / 0.6809 GB, free: 36.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01586/0.5799, allocations: 3.972 MB / 0.6848 GB, free: 32.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5799, allocations: 2.219 kB / 0.6848 GB, free: 32.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.58, allocations: 0 / 0.6848 GB, free: 32.89 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.0004914/0.5805, allocations: 433.8 kB / 0.6852 GB, free: 32.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.5805, allocations: 12.03 kB / 0.6852 GB, free: 32.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.5806, allocations: 10.91 kB / 0.6852 GB, free: 32.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.5808, allocations: 190.9 kB / 0.6854 GB, free: 32.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.5808, allocations: 0 / 0.6854 GB, free: 32.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.5809, allocations: 4 kB / 0.6854 GB, free: 32.17 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.581, allocations: 49.61 kB / 0.6854 GB, free: 32.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.581, allocations: 4 kB / 0.6855 GB, free: 32.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.5811, allocations: 0 / 0.6855 GB, free: 32.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.5811, allocations: 0 / 0.6855 GB, free: 32.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.078e-05/0.5811, allocations: 13.39 kB / 0.6855 GB, free: 32.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003623/0.5815, allocations: 290 kB / 0.6857 GB, free: 31.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.5818, allocations: 56.58 kB / 0.6858 GB, free: 31.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.533e-05/0.5818, allocations: 8.859 kB / 0.6858 GB, free: 31.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.5818, allocations: 9.156 kB / 0.6858 GB, free: 31.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001304/0.582, allocations: 59.48 kB / 0.6859 GB, free: 31.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.763e-06/0.582, allocations: 0 / 0.6859 GB, free: 31.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004743/0.5825, allocations: 113.3 kB / 0.686 GB, free: 31.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.5825, allocations: 51.41 kB / 0.686 GB, free: 31.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.5827, allocations: 162.1 kB / 0.6862 GB, free: 31.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.5828, allocations: 28.7 kB / 0.6862 GB, free: 31.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.247e-05/0.5828, allocations: 96.12 kB / 0.6863 GB, free: 31.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.5828, allocations: 15.75 kB / 0.6863 GB, free: 31.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-06/0.5829, allocations: 4 kB / 0.6863 GB, free: 31.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.251e-05/0.5829, allocations: 322.8 kB / 0.6866 GB, free: 30.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.902e-05/0.583, allocations: 27.91 kB / 0.6867 GB, free: 30.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.415e-05/0.5831, allocations: 27.73 kB / 0.6867 GB, free: 30.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.605e-05/0.5832, allocations: 59.05 kB / 0.6867 GB, free: 30.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.5832, allocations: 0 / 0.6867 GB, free: 30.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002433/0.5835, allocations: 127.3 kB / 0.6869 GB, free: 30.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.471e-05/0.5835, allocations: 41.14 kB / 0.6869 GB, free: 30.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.5835, allocations: 2.969 kB / 0.6869 GB, free: 30.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.5835, allocations: 0 / 0.6869 GB, free: 30.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.299e-05/0.5836, allocations: 15.92 kB / 0.6869 GB, free: 30.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.5836, allocations: 3.953 kB / 0.6869 GB, free: 30.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.62e-05/0.5837, allocations: 4 kB / 0.6869 GB, free: 30.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.5837, allocations: 0 / 0.6869 GB, free: 30.48 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 (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 8.822e-05/0.5838, allocations: 123.2 kB / 0.687 GB, free: 30.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.5839, allocations: 11.31 kB / 0.687 GB, free: 30.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002368/0.5841, allocations: 89.97 kB / 0.6871 GB, free: 30.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.5841, allocations: 4 kB / 0.6871 GB, free: 30.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.5842, allocations: 0 / 0.6871 GB, free: 30.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.5842, allocations: 3.953 kB / 0.6871 GB, free: 30.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003718/0.5846, allocations: 348.8 kB / 0.6875 GB, free: 29.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5846, allocations: 0.5938 kB / 0.6875 GB, free: 29.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.448e-05/0.5846, allocations: 4 kB / 0.6875 GB, free: 29.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.5846, allocations: 3.438 kB / 0.6875 GB, free: 29.85 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.5847, allocations: 8 kB / 0.6875 GB, free: 29.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.5847, allocations: 3.953 kB / 0.6875 GB, free: 29.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5847, allocations: 0 / 0.6875 GB, free: 29.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.5849, allocations: 175.4 kB / 0.6877 GB, free: 29.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.003e-05/0.5849, allocations: 85.02 kB / 0.6877 GB, free: 29.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.585, allocations: 7.094 kB / 0.6877 GB, free: 29.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.569e-05/0.5851, allocations: 10.8 kB / 0.6878 GB, free: 29.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.5851, allocations: 3.953 kB / 0.6878 GB, free: 29.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.5852, allocations: 7.125 kB / 0.6878 GB, free: 29.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001104/0.5853, allocations: 123 kB / 0.6879 GB, free: 29.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.5853, allocations: 0 / 0.6879 GB, free: 29.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003623/0.5857, allocations: 39.92 kB / 0.6879 GB, free: 29.37 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 (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.001063/0.5867, allocations: 354.9 kB / 0.6883 GB, free: 29.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002668/0.587, allocations: 119.3 kB / 0.6884 GB, free: 29.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5871, allocations: 0.9375 kB / 0.6884 GB, free: 29.08 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.259e-05/0.5871, allocations: 16 kB / 0.6884 GB, free: 29.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.5876, allocations: 18.95 kB / 0.6884 GB, free: 29.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004588/0.5881, allocations: 191.8 kB / 0.6886 GB, free: 28.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/0.5882, allocations: 0.7054 MB / 0.6893 GB, free: 28.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.774e-05/0.5883, allocations: 13.56 kB / 0.6893 GB, free: 28.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.938e-05/0.5884, allocations: 11.44 kB / 0.6893 GB, free: 28.09 MB / 362.7 MB Notification: Performance of SimCode: time 1.233e-06/0.5884, allocations: 0 / 0.6893 GB, free: 28.09 MB / 362.7 MB Notification: Performance of Templates: time 0.005413/0.5938, allocations: 1.488 MB / 0.6908 GB, free: 26.75 MB / 362.7 MB