Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test21.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.CombiTable1D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test21") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004309/0.004315, allocations: 349.4 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.693/3.693, 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.004335/0.004335, allocations: 214.2 kB / 397.9 MB, free: 4.98 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.4716/0.4716, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004849/0.0004849, allocations: 16 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09085/0.09136, allocations: 48.7 MB / 0.6067 GB, free: 4.66 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4501/0.5415, allocations: 74.75 MB / 0.6797 GB, free: 38.01 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.5418, allocations: 79.95 kB / 0.6798 GB, free: 37.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01166/0.5535, allocations: 3.384 MB / 0.6831 GB, free: 34.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.887e-06/0.5535, allocations: 4 kB / 0.6831 GB, free: 34.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.5536, allocations: 3.812 kB / 0.6831 GB, free: 34.59 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.0004269/0.554, allocations: 395.8 kB / 0.6835 GB, free: 34.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.5541, allocations: 8.031 kB / 0.6835 GB, free: 34.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.183e-05/0.5541, allocations: 17.5 kB / 0.6835 GB, free: 34.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.5543, allocations: 187 kB / 0.6837 GB, free: 33.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.5544, allocations: 0 / 0.6837 GB, free: 33.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.5544, allocations: 4 kB / 0.6837 GB, free: 33.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.5546, allocations: 66.03 kB / 0.6838 GB, free: 33.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.5546, allocations: 0 / 0.6838 GB, free: 33.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.5546, allocations: 5.5 kB / 0.6838 GB, free: 33.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.5547, allocations: 3.328 kB / 0.6838 GB, free: 33.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.5548, allocations: 32.47 kB / 0.6838 GB, free: 33.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.5552, allocations: 287.4 kB / 0.6841 GB, free: 33.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.5555, allocations: 48.59 kB / 0.6841 GB, free: 33.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.89e-05/0.5556, allocations: 20.94 kB / 0.6841 GB, free: 33.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.5556, allocations: 0 / 0.6841 GB, free: 33.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.5556, allocations: 35.62 kB / 0.6842 GB, free: 33.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.5557, allocations: 0 / 0.6842 GB, free: 33.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007933/0.5565, allocations: 162.9 kB / 0.6843 GB, free: 33.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.5565, allocations: 85.05 kB / 0.6844 GB, free: 33.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.5566, allocations: 121.8 kB / 0.6845 GB, free: 32.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.5567, allocations: 25.7 kB / 0.6846 GB, free: 32.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/0.5567, allocations: 91.27 kB / 0.6846 GB, free: 32.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.5568, allocations: 19.75 kB / 0.6847 GB, free: 32.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.5568, allocations: 0 / 0.6847 GB, free: 32.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.586e-05/0.5568, allocations: 322.5 kB / 0.685 GB, free: 32.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.557, allocations: 27.98 kB / 0.685 GB, free: 32.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.5571, allocations: 43.38 kB / 0.685 GB, free: 32.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.5573, allocations: 60.69 kB / 0.6851 GB, free: 32.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.5573, allocations: 0 / 0.6851 GB, free: 32.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003349/0.5576, allocations: 134.3 kB / 0.6852 GB, free: 32.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/0.5577, allocations: 33.64 kB / 0.6853 GB, free: 32.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5577, allocations: 3.938 kB / 0.6853 GB, free: 32.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.5577, allocations: 0 / 0.6853 GB, free: 32.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.5578, allocations: 15.98 kB / 0.6853 GB, free: 32.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.5579, allocations: 0 / 0.6853 GB, free: 32.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.211e-05/0.5579, allocations: 11.31 kB / 0.6853 GB, free: 32.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.558, allocations: 0 / 0.6853 GB, free: 32.16 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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 7.77e-05/0.5581, allocations: 119.9 kB / 0.6854 GB, free: 32.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.598e-05/0.5581, allocations: 7.906 kB / 0.6854 GB, free: 32.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003548/0.5585, allocations: 110.1 kB / 0.6855 GB, free: 31.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.5585, allocations: 7.938 kB / 0.6855 GB, free: 31.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.5585, allocations: 0 / 0.6855 GB, free: 31.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.5585, allocations: 0 / 0.6855 GB, free: 31.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005307/0.5591, allocations: 357.6 kB / 0.6859 GB, free: 31.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.5591, allocations: 4 kB / 0.6859 GB, free: 31.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.452e-05/0.5592, allocations: 8 kB / 0.6859 GB, free: 31.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.5592, allocations: 7.984 kB / 0.6859 GB, free: 31.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.5592, allocations: 0 / 0.6859 GB, free: 31.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.5592, allocations: 3.438 kB / 0.6859 GB, free: 31.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.5592, allocations: 1.406 kB / 0.6859 GB, free: 31.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.5596, allocations: 197.5 kB / 0.6861 GB, free: 31.28 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.095e-05/0.5596, allocations: 81.09 kB / 0.6862 GB, free: 31.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.5596, allocations: 3.438 kB / 0.6862 GB, free: 31.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.5597, allocations: 8 kB / 0.6862 GB, free: 31.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.5598, allocations: 5.016 kB / 0.6862 GB, free: 31.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.5598, allocations: 4 kB / 0.6862 GB, free: 31.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.072e-05/0.5599, allocations: 95.27 kB / 0.6863 GB, free: 31.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5599, allocations: 0 / 0.6863 GB, free: 31.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003561/0.5603, allocations: 39.88 kB / 0.6863 GB, free: 31.04 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0008392/0.5611, allocations: 308.7 kB / 0.6866 GB, free: 30.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003447/0.5615, allocations: 125.5 kB / 0.6867 GB, free: 30.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5615, allocations: 0 / 0.6867 GB, free: 30.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.5617, allocations: 31.39 kB / 0.6867 GB, free: 30.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.562, allocations: 13.95 kB / 0.6868 GB, free: 30.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/0.5624, allocations: 166.7 kB / 0.6869 GB, free: 30.53 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.5626, allocations: 0.6926 MB / 0.6876 GB, free: 29.81 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.488e-05/0.5627, allocations: 15.05 kB / 0.6876 GB, free: 29.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.442e-05/0.5628, allocations: 11.44 kB / 0.6876 GB, free: 29.79 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.5628, allocations: 10.38 kB / 0.6876 GB, free: 29.78 MB / 362.7 MB Notification: Performance of Templates: time 0.00461/0.5674, allocations: 1.168 MB / 0.6888 GB, free: 28.71 MB / 362.7 MB