Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test12.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.CombiTable2D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test12") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00256/0.00256, allocations: 345.6 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.765/3.765, 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.004985/0.004985, allocations: 214.2 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.5561/0.5561, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007277/0.0007278, allocations: 8 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.144, allocations: 48.71 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4041/0.5482, allocations: 74.74 MB / 0.6797 GB, free: 38 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.5485, allocations: 79.91 kB / 0.6798 GB, free: 37.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01262/0.5611, allocations: 3.349 MB / 0.6831 GB, free: 34.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5612, allocations: 0 / 0.6831 GB, free: 34.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.5612, allocations: 4 kB / 0.6831 GB, free: 34.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005437/0.5618, allocations: 408.3 kB / 0.6835 GB, free: 34.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.5618, allocations: 17.64 kB / 0.6835 GB, free: 34.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.184e-05/0.5619, allocations: 5.625 kB / 0.6835 GB, free: 34.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.5621, allocations: 185.8 kB / 0.6837 GB, free: 33.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.5621, allocations: 4 kB / 0.6837 GB, free: 33.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.5621, allocations: 2.031 kB / 0.6837 GB, free: 33.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.5624, allocations: 76.55 kB / 0.6837 GB, free: 33.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.5624, allocations: 8.906 kB / 0.6837 GB, free: 33.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.5625, allocations: 0 / 0.6837 GB, free: 33.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.5625, allocations: 3.562 kB / 0.6837 GB, free: 33.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000219/0.5627, allocations: 47.91 kB / 0.6838 GB, free: 33.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.5631, allocations: 287.5 kB / 0.6841 GB, free: 33.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.5633, allocations: 42.56 kB / 0.6841 GB, free: 33.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.5634, allocations: 30.59 kB / 0.6841 GB, free: 33.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.5635, allocations: 3.938 kB / 0.6841 GB, free: 33.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.5635, allocations: 34.55 kB / 0.6842 GB, free: 33.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.953e-06/0.5635, allocations: 0.6875 kB / 0.6842 GB, free: 33.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.001179/0.5647, allocations: 243.1 kB / 0.6844 GB, free: 33.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.5648, allocations: 81.06 kB / 0.6845 GB, free: 33.01 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.5649, allocations: 121.8 kB / 0.6846 GB, free: 32.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.5649, allocations: 29.7 kB / 0.6846 GB, free: 32.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.565, allocations: 92.05 kB / 0.6847 GB, free: 32.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.565, allocations: 23.64 kB / 0.6847 GB, free: 32.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-06/0.565, allocations: 4 kB / 0.6847 GB, free: 32.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.139e-05/0.5651, allocations: 314.3 kB / 0.685 GB, free: 32.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.5653, allocations: 43.97 kB / 0.6851 GB, free: 32.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.5656, allocations: 59.28 kB / 0.6851 GB, free: 32.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.5658, allocations: 73.38 kB / 0.6852 GB, free: 32.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.5658, allocations: 0 / 0.6852 GB, free: 32.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005166/0.5664, allocations: 159.7 kB / 0.6854 GB, free: 32.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.603e-05/0.5664, allocations: 29.7 kB / 0.6854 GB, free: 32.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.5664, allocations: 0 / 0.6854 GB, free: 32.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.5665, allocations: 3.984 kB / 0.6854 GB, free: 32.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.5668, allocations: 30.02 kB / 0.6854 GB, free: 32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.5668, allocations: 7.391 kB / 0.6854 GB, free: 32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.5669, allocations: 12.62 kB / 0.6854 GB, free: 31.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.567, allocations: 3.984 kB / 0.6854 GB, free: 31.98 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 (8): * Single equations (assignments): 7 * 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 9.874e-05/0.5671, allocations: 119.3 kB / 0.6856 GB, free: 31.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.5671, allocations: 15.45 kB / 0.6856 GB, free: 31.85 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005421/0.5677, allocations: 145.1 kB / 0.6857 GB, free: 31.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.5677, allocations: 0 / 0.6857 GB, free: 31.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.5677, allocations: 3.562 kB / 0.6857 GB, free: 31.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.5677, allocations: 7.953 kB / 0.6857 GB, free: 31.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000725/0.5685, allocations: 395.4 kB / 0.6861 GB, free: 31.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.5685, allocations: 0 / 0.6861 GB, free: 31.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.5687, allocations: 27.92 kB / 0.6861 GB, free: 31.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.5687, allocations: 5.562 kB / 0.6861 GB, free: 31.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.5687, allocations: 4 kB / 0.6861 GB, free: 31.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.5687, allocations: 3.953 kB / 0.6861 GB, free: 31.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.5687, allocations: 0 / 0.6861 GB, free: 31.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004891/0.5692, allocations: 220.9 kB / 0.6863 GB, free: 31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/0.5693, allocations: 89 kB / 0.6864 GB, free: 30.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.5693, allocations: 0 / 0.6864 GB, free: 30.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.5695, allocations: 16 kB / 0.6864 GB, free: 30.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.507e-05/0.5696, allocations: 7.938 kB / 0.6865 GB, free: 30.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.5696, allocations: 7.375 kB / 0.6865 GB, free: 30.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.706e-05/0.5697, allocations: 91.27 kB / 0.6866 GB, free: 30.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5697, allocations: 0 / 0.6866 GB, free: 30.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003767/0.5701, allocations: 35.92 kB / 0.6866 GB, free: 30.74 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 (7): * Single equations (assignments): 7 * 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.0009349/0.571, allocations: 322.4 kB / 0.6869 GB, free: 30.58 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005928/0.5717, allocations: 150.1 kB / 0.687 GB, free: 30.42 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.5717, allocations: 1 kB / 0.687 GB, free: 30.42 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002195/0.5719, allocations: 52.91 kB / 0.6871 GB, free: 30.37 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.5723, allocations: 17.81 kB / 0.6871 GB, free: 30.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005063/0.5728, allocations: 168.8 kB / 0.6873 GB, free: 30.17 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001464/0.573, allocations: 0.6962 MB / 0.6879 GB, free: 29.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.5731, allocations: 9.656 kB / 0.688 GB, free: 29.44 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.345e-05/0.5732, allocations: 11.44 kB / 0.688 GB, free: 29.43 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.5732, allocations: 0 / 0.688 GB, free: 29.43 MB / 362.7 MB Notification: Performance of Templates: time 0.005188/0.5784, allocations: 1.247 MB / 0.6892 GB, free: 28.27 MB / 362.7 MB