Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test10.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.Test10,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.Test10") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002737/0.002741, allocations: 346 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.872/3.872, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.003599/0.003599, allocations: 222.1 kB / 397.9 MB, free: 4.977 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.598/0.598, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007399/0.0007401, allocations: 12 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1065, allocations: 48.7 MB / 0.6067 GB, free: 4.66 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4671/0.5737, allocations: 74.74 MB / 0.6797 GB, free: 38.01 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/0.574, allocations: 79.95 kB / 0.6798 GB, free: 37.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01232/0.5863, allocations: 3.347 MB / 0.6831 GB, free: 34.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.5864, allocations: 0 / 0.6831 GB, free: 34.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.5864, allocations: 4 kB / 0.6831 GB, free: 34.64 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.0004777/0.5869, allocations: 413.7 kB / 0.6835 GB, free: 34.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.587, allocations: 12.03 kB / 0.6835 GB, free: 34.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.587, allocations: 7.656 kB / 0.6835 GB, free: 34.17 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.5872, allocations: 183 kB / 0.6837 GB, free: 33.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.5873, allocations: 0 / 0.6837 GB, free: 33.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.5873, allocations: 8 kB / 0.6837 GB, free: 33.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.5875, allocations: 74.86 kB / 0.6837 GB, free: 33.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.5876, allocations: 5.5 kB / 0.6837 GB, free: 33.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.5876, allocations: 7.766 kB / 0.6837 GB, free: 33.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.5876, allocations: 2.781 kB / 0.6837 GB, free: 33.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000216/0.5878, allocations: 39.97 kB / 0.6838 GB, free: 33.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.5882, allocations: 289.9 kB / 0.6841 GB, free: 33.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.5884, allocations: 48.25 kB / 0.6841 GB, free: 33.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.5885, allocations: 36.69 kB / 0.6841 GB, free: 33.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.5886, allocations: 0 / 0.6841 GB, free: 33.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.5886, allocations: 30.56 kB / 0.6842 GB, free: 33.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.5886, allocations: 0 / 0.6842 GB, free: 33.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.001168/0.5898, allocations: 239.5 kB / 0.6844 GB, free: 33.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.5899, allocations: 81.78 kB / 0.6845 GB, free: 33.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.59, allocations: 117.8 kB / 0.6846 GB, free: 32.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.59, allocations: 27.11 kB / 0.6846 GB, free: 32.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.779e-05/0.5901, allocations: 96.03 kB / 0.6847 GB, free: 32.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.5901, allocations: 23.66 kB / 0.6847 GB, free: 32.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-06/0.5901, allocations: 6.844 kB / 0.6847 GB, free: 32.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.129e-05/0.5902, allocations: 318.8 kB / 0.685 GB, free: 32.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.5904, allocations: 43.97 kB / 0.6851 GB, free: 32.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.5906, allocations: 65.91 kB / 0.6851 GB, free: 32.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.5909, allocations: 69.67 kB / 0.6852 GB, free: 32.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5909, allocations: 0 / 0.6852 GB, free: 32.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004997/0.5914, allocations: 164.2 kB / 0.6854 GB, free: 32.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/0.5914, allocations: 29.7 kB / 0.6854 GB, free: 32.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.5914, allocations: 0 / 0.6854 GB, free: 32.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.5915, allocations: 0 / 0.6854 GB, free: 32.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.5917, allocations: 26.11 kB / 0.6854 GB, free: 32.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.5917, allocations: 3.953 kB / 0.6854 GB, free: 32.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.5918, allocations: 15.98 kB / 0.6854 GB, free: 32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.5918, allocations: 7.406 kB / 0.6854 GB, free: 32 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 8.822e-05/0.5919, allocations: 115.9 kB / 0.6856 GB, free: 31.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.462e-05/0.592, allocations: 11.84 kB / 0.6856 GB, free: 31.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000522/0.5925, allocations: 141.9 kB / 0.6857 GB, free: 31.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.5925, allocations: 0 / 0.6857 GB, free: 31.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5926, allocations: 0 / 0.6857 GB, free: 31.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.5926, allocations: 11.94 kB / 0.6857 GB, free: 31.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000701/0.5933, allocations: 390.5 kB / 0.6861 GB, free: 31.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.5933, allocations: 3.312 kB / 0.6861 GB, free: 31.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.5935, allocations: 26.67 kB / 0.6861 GB, free: 31.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.5935, allocations: 4 kB / 0.6861 GB, free: 31.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.5935, allocations: 0 / 0.6861 GB, free: 31.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.5935, allocations: 7.938 kB / 0.6861 GB, free: 31.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.5935, allocations: 1.781 kB / 0.6861 GB, free: 31.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005112/0.5941, allocations: 224.1 kB / 0.6863 GB, free: 31.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.5941, allocations: 89.02 kB / 0.6864 GB, free: 30.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.5942, allocations: 0 / 0.6864 GB, free: 30.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.5943, allocations: 19.39 kB / 0.6864 GB, free: 30.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.554e-05/0.5944, allocations: 7.938 kB / 0.6865 GB, free: 30.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.968e-06/0.5944, allocations: 4 kB / 0.6865 GB, free: 30.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.082e-05/0.5945, allocations: 95.27 kB / 0.6866 GB, free: 30.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5945, allocations: 3.938 kB / 0.6866 GB, free: 30.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003478/0.5948, allocations: 31.94 kB / 0.6866 GB, free: 30.76 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.0008504/0.5957, allocations: 316.2 kB / 0.6869 GB, free: 30.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005306/0.5963, allocations: 152.6 kB / 0.687 GB, free: 30.44 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.5963, allocations: 0 / 0.687 GB, free: 30.44 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002119/0.5965, allocations: 55.53 kB / 0.6871 GB, free: 30.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.5969, allocations: 15.92 kB / 0.6871 GB, free: 30.37 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004775/0.5974, allocations: 175.9 kB / 0.6873 GB, free: 30.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.5975, allocations: 0.6926 MB / 0.6879 GB, free: 29.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.5976, allocations: 7.312 kB / 0.688 GB, free: 29.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.437e-05/0.5977, allocations: 17.86 kB / 0.688 GB, free: 29.44 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.5977, allocations: 0 / 0.688 GB, free: 29.44 MB / 362.7 MB Notification: Performance of Templates: time 0.00497/0.6027, allocations: 1.247 MB / 0.6892 GB, free: 28.27 MB / 362.7 MB