Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test3.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.Test3,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.Test3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002656/0.002661, allocations: 347.2 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.71/3.71, 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.005187/0.005187, allocations: 221.4 kB / 397.9 MB, free: 4.973 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.4943/0.4943, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000604/0.0006042, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09772/0.09837, allocations: 48.71 MB / 0.6067 GB, free: 4.648 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4288/0.5273, allocations: 74.51 MB / 0.6795 GB, free: 38.22 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/0.5276, allocations: 79.95 kB / 0.6796 GB, free: 38.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.022/0.5497, allocations: 5.327 MB / 0.6848 GB, free: 32.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.5497, allocations: 0 / 0.6848 GB, free: 32.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.372e-05/0.5498, allocations: 6.406 kB / 0.6848 GB, free: 32.97 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.001003/0.5508, allocations: 0.6466 MB / 0.6854 GB, free: 32.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.5509, allocations: 12.03 kB / 0.6854 GB, free: 32.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.551, allocations: 40.72 kB / 0.6855 GB, free: 32.22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000672/0.5517, allocations: 323.3 kB / 0.6858 GB, free: 31.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.5517, allocations: 4 kB / 0.6858 GB, free: 31.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.943e-05/0.5518, allocations: 4 kB / 0.6858 GB, free: 31.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.5521, allocations: 61.67 kB / 0.6858 GB, free: 31.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.5521, allocations: 0 / 0.6858 GB, free: 31.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.5521, allocations: 1.078 kB / 0.6858 GB, free: 31.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-06/0.5521, allocations: 0 / 0.6858 GB, free: 31.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.5524, allocations: 47.97 kB / 0.6859 GB, free: 31.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008272/0.5533, allocations: 440.5 kB / 0.6863 GB, free: 31.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.5535, allocations: 46.56 kB / 0.6864 GB, free: 31.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.5537, allocations: 32.94 kB / 0.6864 GB, free: 31.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.5537, allocations: 0 / 0.6864 GB, free: 31.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.5538, allocations: 30.56 kB / 0.6864 GB, free: 31.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.734e-06/0.5538, allocations: 0 / 0.6864 GB, free: 31.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.001586/0.5554, allocations: 331 kB / 0.6867 GB, free: 30.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.5554, allocations: 55.41 kB / 0.6868 GB, free: 30.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002385/0.5578, allocations: 0.8221 MB / 0.6876 GB, free: 29.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.5579, allocations: 25.7 kB / 0.6876 GB, free: 29.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/0.5581, allocations: 212.1 kB / 0.6878 GB, free: 29.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.751e-05/0.5582, allocations: 27.64 kB / 0.6878 GB, free: 29.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.5582, allocations: 5.5 kB / 0.6878 GB, free: 29.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.5584, allocations: 358.7 kB / 0.6882 GB, free: 29.28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/0.5587, allocations: 43.97 kB / 0.6882 GB, free: 29.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/0.5589, allocations: 43.97 kB / 0.6883 GB, free: 29.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.5592, allocations: 73.67 kB / 0.6883 GB, free: 29.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5592, allocations: 0 / 0.6883 GB, free: 29.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007524/0.56, allocations: 196.3 kB / 0.6885 GB, free: 28.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.967e-05/0.5601, allocations: 33.7 kB / 0.6886 GB, free: 28.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.5601, allocations: 0 / 0.6886 GB, free: 28.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.5601, allocations: 3.953 kB / 0.6886 GB, free: 28.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.5604, allocations: 23.98 kB / 0.6886 GB, free: 28.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.5604, allocations: 4 kB / 0.6886 GB, free: 28.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.5606, allocations: 11.98 kB / 0.6886 GB, free: 28.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.5606, allocations: 7.938 kB / 0.6886 GB, free: 28.82 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 0.0002418/0.5609, allocations: 207.8 kB / 0.6888 GB, free: 28.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.561, allocations: 47.52 kB / 0.6889 GB, free: 28.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000586/0.5616, allocations: 183.4 kB / 0.689 GB, free: 28.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.5616, allocations: 7.953 kB / 0.689 GB, free: 28.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.5616, allocations: 3.375 kB / 0.689 GB, free: 28.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.5616, allocations: 0 / 0.689 GB, free: 28.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.5629, allocations: 0.631 MB / 0.6897 GB, free: 27.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.5629, allocations: 3.938 kB / 0.6897 GB, free: 27.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.5631, allocations: 23.98 kB / 0.6897 GB, free: 27.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.5631, allocations: 3.953 kB / 0.6897 GB, free: 27.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.5631, allocations: 0 / 0.6897 GB, free: 27.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.5631, allocations: 4 kB / 0.6897 GB, free: 27.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5631, allocations: 0 / 0.6897 GB, free: 27.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005668/0.5637, allocations: 263 kB / 0.6899 GB, free: 27.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002397/0.564, allocations: 156.5 kB / 0.6901 GB, free: 27.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.77e-05/0.5641, allocations: 7.953 kB / 0.6901 GB, free: 27.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.5643, allocations: 11.98 kB / 0.6901 GB, free: 27.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.794e-05/0.5643, allocations: 7.984 kB / 0.6901 GB, free: 27.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.5644, allocations: 4 kB / 0.6901 GB, free: 27.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009663/0.5653, allocations: 0.6198 MB / 0.6907 GB, free: 26.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5653, allocations: 0 / 0.6907 GB, free: 26.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00044/0.5658, allocations: 71.92 kB / 0.6908 GB, free: 26.5 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.0006895/0.5665, allocations: 235.5 kB / 0.691 GB, free: 26.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000558/0.5671, allocations: 155.3 kB / 0.6912 GB, free: 26.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.5671, allocations: 0 / 0.6912 GB, free: 26.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.5673, allocations: 59.95 kB / 0.6912 GB, free: 26.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005158/0.5678, allocations: 17.95 kB / 0.6912 GB, free: 26.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.5696, allocations: 0.8959 MB / 0.6921 GB, free: 25.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.57, allocations: 0.8262 MB / 0.6929 GB, free: 24.35 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001388/0.5701, allocations: 52.59 kB / 0.693 GB, free: 24.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.5702, allocations: 19.44 kB / 0.693 GB, free: 24.28 MB / 362.7 MB Notification: Performance of SimCode: time 1.633e-06/0.5702, allocations: 0 / 0.693 GB, free: 24.28 MB / 362.7 MB Notification: Performance of Templates: time 0.01365/0.5839, allocations: 2.21 MB / 0.6952 GB, free: 22.14 MB / 362.7 MB