Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test4") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002652/0.002652, 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.846/3.846, allocations: 341.5 MB / 358.2 MB, free: 12.64 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.005584/0.005584, allocations: 222.1 kB / 397.9 MB, free: 4.969 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.5178/0.5178, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008532/0.0008534, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1087, allocations: 48.69 MB / 0.6067 GB, free: 4.656 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4058/0.5145, allocations: 74.55 MB / 0.6795 GB, free: 38.18 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/0.5149, allocations: 75.97 kB / 0.6796 GB, free: 38.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01684/0.5317, allocations: 5.188 MB / 0.6847 GB, free: 33.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.5318, allocations: 0 / 0.6847 GB, free: 33.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.942e-05/0.5318, allocations: 4 kB / 0.6847 GB, free: 33.07 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.00086/0.5327, allocations: 0.6349 MB / 0.6853 GB, free: 32.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.5328, allocations: 10.38 kB / 0.6853 GB, free: 32.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.5329, allocations: 43.44 kB / 0.6853 GB, free: 32.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005184/0.5334, allocations: 323.3 kB / 0.6857 GB, free: 31.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.5335, allocations: 4 kB / 0.6857 GB, free: 31.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.5335, allocations: 4 kB / 0.6857 GB, free: 31.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.5337, allocations: 56.47 kB / 0.6857 GB, free: 31.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.5337, allocations: 4.688 kB / 0.6857 GB, free: 31.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.5337, allocations: 0 / 0.6857 GB, free: 31.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.5338, allocations: 0.5625 kB / 0.6857 GB, free: 31.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.5339, allocations: 29.2 kB / 0.6857 GB, free: 31.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006604/0.5346, allocations: 426.6 kB / 0.6862 GB, free: 31.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/0.5349, allocations: 55.53 kB / 0.6862 GB, free: 31.37 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.633e-05/0.535, allocations: 20.94 kB / 0.6862 GB, free: 31.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.535, allocations: 4 kB / 0.6862 GB, free: 31.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.535, allocations: 34.56 kB / 0.6863 GB, free: 31.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.784e-06/0.5351, allocations: 0 / 0.6863 GB, free: 31.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008761/0.5359, allocations: 240 kB / 0.6865 GB, free: 31.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.536, allocations: 51.41 kB / 0.6865 GB, free: 30.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001677/0.5377, allocations: 0.83 MB / 0.6874 GB, free: 30.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.5377, allocations: 25.7 kB / 0.6874 GB, free: 30.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.5379, allocations: 220 kB / 0.6876 GB, free: 29.9 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.538, allocations: 19.75 kB / 0.6876 GB, free: 29.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/0.538, allocations: 4 kB / 0.6876 GB, free: 29.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.5381, allocations: 354.8 kB / 0.6879 GB, free: 29.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.5382, allocations: 27.92 kB / 0.688 GB, free: 29.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.5384, allocations: 23.98 kB / 0.688 GB, free: 29.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.5385, allocations: 57.69 kB / 0.6881 GB, free: 29.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5386, allocations: 0 / 0.6881 GB, free: 29.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004137/0.539, allocations: 159 kB / 0.6882 GB, free: 29.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.818e-05/0.539, allocations: 29.7 kB / 0.6882 GB, free: 29.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.539, allocations: 0 / 0.6882 GB, free: 29.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.5391, allocations: 3.953 kB / 0.6882 GB, free: 29.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.5392, allocations: 19.98 kB / 0.6883 GB, free: 29.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.5392, allocations: 0 / 0.6883 GB, free: 29.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.5394, allocations: 12 kB / 0.6883 GB, free: 29.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.5394, allocations: 0 / 0.6883 GB, free: 29.18 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 0.0002611/0.5397, allocations: 215.8 kB / 0.6885 GB, free: 28.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.964e-05/0.5398, allocations: 39.44 kB / 0.6885 GB, free: 28.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004429/0.5402, allocations: 144.9 kB / 0.6886 GB, free: 28.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.5402, allocations: 0 / 0.6886 GB, free: 28.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.5403, allocations: 3.953 kB / 0.6887 GB, free: 28.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.5403, allocations: 0 / 0.6887 GB, free: 28.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.5413, allocations: 0.5882 MB / 0.6892 GB, free: 28.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.5414, allocations: 0 / 0.6892 GB, free: 28.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.5415, allocations: 22.81 kB / 0.6892 GB, free: 28.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.5415, allocations: 0 / 0.6892 GB, free: 28.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.5415, allocations: 7.938 kB / 0.6893 GB, free: 28.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.5415, allocations: 0 / 0.6893 GB, free: 28.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5415, allocations: 0 / 0.6893 GB, free: 28.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/0.5419, allocations: 226.9 kB / 0.6895 GB, free: 27.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000199/0.5421, allocations: 156.6 kB / 0.6896 GB, free: 27.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.078e-05/0.5422, allocations: 4 kB / 0.6896 GB, free: 27.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.5424, allocations: 7.953 kB / 0.6896 GB, free: 27.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/0.5424, allocations: 7.984 kB / 0.6896 GB, free: 27.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.5425, allocations: 4 kB / 0.6896 GB, free: 27.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009308/0.5434, allocations: 0.6276 MB / 0.6903 GB, free: 27.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5434, allocations: 0 / 0.6903 GB, free: 27.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004041/0.5438, allocations: 52 kB / 0.6903 GB, free: 26.99 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.0006855/0.5445, allocations: 239 kB / 0.6905 GB, free: 26.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003945/0.5449, allocations: 115.4 kB / 0.6906 GB, free: 26.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.545, allocations: 0 / 0.6906 GB, free: 26.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.5451, allocations: 35.92 kB / 0.6907 GB, free: 26.69 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004759/0.5456, allocations: 23.47 kB / 0.6907 GB, free: 26.67 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.5473, allocations: 0.888 MB / 0.6916 GB, free: 25.76 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.5477, allocations: 0.8184 MB / 0.6924 GB, free: 24.92 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001222/0.5478, allocations: 43.16 kB / 0.6924 GB, free: 24.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.896e-05/0.5479, allocations: 23.38 kB / 0.6924 GB, free: 24.85 MB / 362.7 MB Notification: Performance of SimCode: time 1.983e-06/0.5479, allocations: 0 / 0.6924 GB, free: 24.85 MB / 362.7 MB Notification: Performance of Templates: time 0.008491/0.5564, allocations: 2.15 MB / 0.6945 GB, free: 22.77 MB / 362.7 MB