Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test1.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.Test1,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.Test1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004006/0.004012, allocations: 348.3 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.856/3.856, allocations: 341.5 MB / 358.2 MB, free: 12.55 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.003666/0.003666, allocations: 218.1 kB / 397.9 MB, free: 4.898 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.5852/0.5852, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004594/0.0004597, allocations: 15.98 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09182/0.0923, allocations: 48.7 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4204/0.5127, allocations: 74.58 MB / 0.6796 GB, free: 38.16 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/0.513, allocations: 78.64 kB / 0.6796 GB, free: 38.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.017/0.53, allocations: 5.28 MB / 0.6848 GB, free: 32.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.5301, allocations: 0 / 0.6848 GB, free: 32.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.138e-05/0.5302, allocations: 8.781 kB / 0.6848 GB, free: 32.96 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.0007269/0.5309, allocations: 0.6388 MB / 0.6854 GB, free: 32.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.5309, allocations: 8.031 kB / 0.6854 GB, free: 32.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.977e-05/0.531, allocations: 43.44 kB / 0.6855 GB, free: 32.22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005077/0.5316, allocations: 323.3 kB / 0.6858 GB, free: 31.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.5316, allocations: 4 kB / 0.6858 GB, free: 31.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.5316, allocations: 2.438 kB / 0.6858 GB, free: 31.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.5318, allocations: 57.67 kB / 0.6858 GB, free: 31.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.5319, allocations: 7.75 kB / 0.6858 GB, free: 31.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.5319, allocations: 0 / 0.6858 GB, free: 31.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.5319, allocations: 0 / 0.6858 GB, free: 31.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.5321, allocations: 27.98 kB / 0.6859 GB, free: 31.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006636/0.5327, allocations: 436.5 kB / 0.6863 GB, free: 31.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.533, allocations: 46.56 kB / 0.6863 GB, free: 31.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.459e-05/0.5331, allocations: 20.94 kB / 0.6864 GB, free: 31.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.5331, allocations: 0 / 0.6864 GB, free: 31.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.5332, allocations: 30.56 kB / 0.6864 GB, free: 31.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/0.5332, allocations: 3.938 kB / 0.6864 GB, free: 31.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000872/0.5341, allocations: 244 kB / 0.6866 GB, free: 30.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.5341, allocations: 51.41 kB / 0.6867 GB, free: 30.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/0.5358, allocations: 0.8338 MB / 0.6875 GB, free: 30.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.5358, allocations: 29.7 kB / 0.6875 GB, free: 29.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.536, allocations: 216 kB / 0.6877 GB, free: 29.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.5361, allocations: 19.81 kB / 0.6877 GB, free: 29.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/0.5361, allocations: 0 / 0.6877 GB, free: 29.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.5362, allocations: 358.8 kB / 0.6881 GB, free: 29.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.5364, allocations: 27.97 kB / 0.6881 GB, free: 29.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.5365, allocations: 27.98 kB / 0.6881 GB, free: 29.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.5366, allocations: 49.69 kB / 0.6882 GB, free: 29.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.5367, allocations: 4 kB / 0.6882 GB, free: 29.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003897/0.5371, allocations: 154.9 kB / 0.6883 GB, free: 29.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.541e-05/0.5371, allocations: 29.7 kB / 0.6884 GB, free: 29.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.5371, allocations: 0 / 0.6884 GB, free: 29.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.5372, allocations: 7.953 kB / 0.6884 GB, free: 29.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.5373, allocations: 22.55 kB / 0.6884 GB, free: 29.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.5373, allocations: 3.516 kB / 0.6884 GB, free: 29.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.5374, allocations: 4.609 kB / 0.6884 GB, free: 29.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.5375, allocations: 4 kB / 0.6884 GB, free: 29.05 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.0002393/0.5377, allocations: 215.8 kB / 0.6886 GB, free: 28.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.67e-05/0.5378, allocations: 43.44 kB / 0.6886 GB, free: 28.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004202/0.5382, allocations: 132.9 kB / 0.6888 GB, free: 28.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.5383, allocations: 4 kB / 0.6888 GB, free: 28.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.5383, allocations: 7.953 kB / 0.6888 GB, free: 28.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.5383, allocations: 5.672 kB / 0.6888 GB, free: 28.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009859/0.5393, allocations: 0.5764 MB / 0.6894 GB, free: 28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.5393, allocations: 0 / 0.6894 GB, free: 28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.5394, allocations: 23.92 kB / 0.6894 GB, free: 27.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.5394, allocations: 0 / 0.6894 GB, free: 27.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.5395, allocations: 9.453 kB / 0.6894 GB, free: 27.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.5395, allocations: 3.75 kB / 0.6894 GB, free: 27.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5395, allocations: 0 / 0.6894 GB, free: 27.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003693/0.5399, allocations: 222.9 kB / 0.6896 GB, free: 27.74 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000199/0.5401, allocations: 156.6 kB / 0.6898 GB, free: 27.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.925e-05/0.5401, allocations: 0 / 0.6898 GB, free: 27.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.5403, allocations: 7.953 kB / 0.6898 GB, free: 27.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.804e-05/0.5404, allocations: 11.98 kB / 0.6898 GB, free: 27.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.5404, allocations: 0 / 0.6898 GB, free: 27.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009518/0.5413, allocations: 0.6276 MB / 0.6904 GB, free: 26.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.5414, allocations: 0 / 0.6904 GB, free: 26.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004291/0.5418, allocations: 56 kB / 0.6904 GB, free: 26.87 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.0007141/0.5425, allocations: 237.4 kB / 0.6907 GB, free: 26.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003967/0.5429, allocations: 117.9 kB / 0.6908 GB, free: 26.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.543, allocations: 0 / 0.6908 GB, free: 26.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.5431, allocations: 27.98 kB / 0.6908 GB, free: 26.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005333/0.5436, allocations: 25.09 kB / 0.6908 GB, free: 26.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.5454, allocations: 0.8841 MB / 0.6917 GB, free: 25.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004644/0.5459, allocations: 0.8274 MB / 0.6925 GB, free: 24.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001556/0.5461, allocations: 40.42 kB / 0.6925 GB, free: 24.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.5462, allocations: 19.38 kB / 0.6926 GB, free: 24.73 MB / 362.7 MB Notification: Performance of SimCode: time 1.293e-06/0.5463, allocations: 0 / 0.6926 GB, free: 24.73 MB / 362.7 MB Notification: Performance of Templates: time 0.009488/0.5558, allocations: 2.151 MB / 0.6947 GB, free: 22.65 MB / 362.7 MB