Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test9.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test9") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002702/0.002702, allocations: 363.1 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.27/4.27, allocations: 388.9 MB / 405.6 MB, free: 9.578 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003528/0.003527, allocations: 222.8 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5518/0.5518, allocations: 80.02 MB / 0.5627 GB, free: 19.75 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006909/0.0006913, allocations: 12 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1384, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5735/0.7119, allocations: 80.81 MB / 0.759 GB, free: 4.531 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/0.7123, allocations: 78.39 kB / 0.7591 GB, free: 4.488 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01693/0.7292, allocations: 5.262 MB / 0.7642 GB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.7293, allocations: 4 kB / 0.7642 GB, free: 15.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.502e-05/0.7293, allocations: 4 kB / 0.7642 GB, free: 15.72 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0009852/0.7303, allocations: 0.6406 MB / 0.7648 GB, free: 15.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.7304, allocations: 8.031 kB / 0.7649 GB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.7305, allocations: 43.44 kB / 0.7649 GB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006084/0.7311, allocations: 309.6 kB / 0.7652 GB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.7311, allocations: 7.562 kB / 0.7652 GB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.7312, allocations: 4 kB / 0.7652 GB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.7314, allocations: 60.3 kB / 0.7653 GB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.7314, allocations: 4 kB / 0.7653 GB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.7315, allocations: 3.953 kB / 0.7653 GB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.7315, allocations: 3.984 kB / 0.7653 GB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002285/0.7317, allocations: 39.59 kB / 0.7653 GB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007347/0.7325, allocations: 417.4 kB / 0.7657 GB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.7327, allocations: 41.25 kB / 0.7657 GB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.7328, allocations: 32.44 kB / 0.7658 GB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.7329, allocations: 3.953 kB / 0.7658 GB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.7329, allocations: 36.33 kB / 0.7658 GB, free: 14.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 2.244e-06/0.7329, allocations: 3.938 kB / 0.7658 GB, free: 14.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005394/0.7335, allocations: 131.9 kB / 0.7659 GB, free: 13.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.7335, allocations: 51.41 kB / 0.766 GB, free: 13.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001895/0.7354, allocations: 0.8282 MB / 0.7668 GB, free: 13.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.7355, allocations: 25.7 kB / 0.7668 GB, free: 13.15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002135/0.7357, allocations: 211.2 kB / 0.767 GB, free: 13.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.7357, allocations: 7.812 kB / 0.767 GB, free: 13.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-06/0.7357, allocations: 4 kB / 0.767 GB, free: 13.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.7359, allocations: 366.2 kB / 0.7674 GB, free: 12.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.7361, allocations: 15.98 kB / 0.7674 GB, free: 12.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.7362, allocations: 19.55 kB / 0.7674 GB, free: 12.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.7364, allocations: 53.44 kB / 0.7675 GB, free: 12.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.7364, allocations: 0 / 0.7675 GB, free: 12.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004065/0.7368, allocations: 144.1 kB / 0.7676 GB, free: 12.44 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.545e-05/0.7369, allocations: 33.66 kB / 0.7676 GB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.7369, allocations: 0 / 0.7676 GB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.7369, allocations: 0 / 0.7676 GB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.737, allocations: 15.98 kB / 0.7677 GB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.7371, allocations: 3.938 kB / 0.7677 GB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.7372, allocations: 8 kB / 0.7677 GB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.7372, allocations: 0 / 0.7677 GB, free: 12.37 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 (4): * Single equations (assignments): 3 * 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.0002983/0.7375, allocations: 211 kB / 0.7679 GB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.7376, allocations: 39.44 kB / 0.7679 GB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004206/0.7381, allocations: 137.3 kB / 0.768 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.7381, allocations: 0 / 0.768 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.7381, allocations: 0 / 0.768 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.7381, allocations: 0 / 0.768 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000457/0.7386, allocations: 320.6 kB / 0.7683 GB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.7386, allocations: 0 / 0.7683 GB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.44e-05/0.7387, allocations: 11.98 kB / 0.7684 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.7387, allocations: 8 kB / 0.7684 GB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.7387, allocations: 0 / 0.7684 GB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.7388, allocations: 3.953 kB / 0.7684 GB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.7388, allocations: 0 / 0.7684 GB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004353/0.7392, allocations: 202.3 kB / 0.7686 GB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002572/0.7395, allocations: 170.9 kB / 0.7687 GB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.775e-05/0.7396, allocations: 7.875 kB / 0.7687 GB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.7397, allocations: 4 kB / 0.7687 GB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/0.7398, allocations: 11.94 kB / 0.7687 GB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.7398, allocations: 0 / 0.7687 GB, free: 11.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001096/0.7409, allocations: 0.6264 MB / 0.7694 GB, free: 10.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7409, allocations: 0 / 0.7694 GB, free: 10.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004196/0.7413, allocations: 45.38 kB / 0.7694 GB, free: 10.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 (3): * Single equations (assignments): 3 * 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.0007566/0.7421, allocations: 241.7 kB / 0.7696 GB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003648/0.7425, allocations: 101.8 kB / 0.7697 GB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.7425, allocations: 0 / 0.7697 GB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.7427, allocations: 26.86 kB / 0.7698 GB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004827/0.7431, allocations: 21.95 kB / 0.7698 GB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.7451, allocations: 0.8662 MB / 0.7706 GB, free: 9.613 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005556/0.7457, allocations: 0.8217 MB / 0.7714 GB, free: 8.781 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001106/0.7458, allocations: 32.23 kB / 0.7715 GB, free: 8.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.7459, allocations: 19.44 kB / 0.7715 GB, free: 8.73 MB / 362.7 MB Notification: Performance of SimCode: time 3.046e-06/0.7459, allocations: 0 / 0.7715 GB, free: 8.73 MB / 362.7 MB Notification: Performance of Templates: time 0.008918/0.7548, allocations: 2.003 MB / 0.7734 GB, free: 6.73 MB / 362.7 MB