Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test5") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002891/0.002891, allocations: 363.6 kB / 15.95 MB, free: 6.207 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.22/4.22, allocations: 388.9 MB / 405.6 MB, free: 9.676 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.00354/0.00354, allocations: 227.5 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.6072/0.6072, allocations: 80.03 MB / 0.5627 GB, free: 19.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006922/0.0006924, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1358, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5697/0.7056, allocations: 81 MB / 0.7592 GB, free: 4.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.7059, allocations: 73.89 kB / 0.7593 GB, free: 4.281 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01703/0.7229, allocations: 5.328 MB / 0.7645 GB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.723, allocations: 4 kB / 0.7645 GB, free: 15.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.808e-05/0.723, allocations: 4 kB / 0.7645 GB, free: 15.47 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.0009757/0.724, allocations: 0.6359 MB / 0.7651 GB, free: 14.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.7241, allocations: 8.828 kB / 0.7651 GB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.7242, allocations: 47.42 kB / 0.7651 GB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006069/0.7248, allocations: 321.7 kB / 0.7655 GB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.7249, allocations: 4.625 kB / 0.7655 GB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.7249, allocations: 7.375 kB / 0.7655 GB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.7251, allocations: 52.3 kB / 0.7655 GB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.7251, allocations: 7.953 kB / 0.7655 GB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.7252, allocations: 3.938 kB / 0.7655 GB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.7252, allocations: 4 kB / 0.7655 GB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.7253, allocations: 23.42 kB / 0.7655 GB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000804/0.7262, allocations: 443 kB / 0.766 GB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.7265, allocations: 45.94 kB / 0.766 GB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.443e-05/0.7266, allocations: 18.42 kB / 0.766 GB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.7266, allocations: 0 / 0.766 GB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.7266, allocations: 38.58 kB / 0.7661 GB, free: 13.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.7266, allocations: 0 / 0.7661 GB, free: 13.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009636/0.7276, allocations: 244.1 kB / 0.7663 GB, free: 13.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.7277, allocations: 55.34 kB / 0.7664 GB, free: 13.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/0.7296, allocations: 0.8363 MB / 0.7672 GB, free: 12.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.446e-05/0.7297, allocations: 25.7 kB / 0.7672 GB, free: 12.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.7299, allocations: 211.2 kB / 0.7674 GB, free: 12.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.7299, allocations: 19.11 kB / 0.7674 GB, free: 12.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-06/0.73, allocations: 0 / 0.7674 GB, free: 12.65 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.7302, allocations: 359.5 kB / 0.7678 GB, free: 12.31 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.7303, allocations: 22.3 kB / 0.7678 GB, free: 12.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.7305, allocations: 28.67 kB / 0.7678 GB, free: 12.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.7306, allocations: 60.58 kB / 0.7679 GB, free: 12.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.7307, allocations: 0 / 0.7679 GB, free: 12.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004666/0.7311, allocations: 152.4 kB / 0.768 GB, free: 12.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.572e-05/0.7312, allocations: 33.7 kB / 0.768 GB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.7312, allocations: 3.984 kB / 0.768 GB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-05/0.7313, allocations: 0 / 0.768 GB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.7314, allocations: 15.94 kB / 0.7681 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.7314, allocations: 0 / 0.7681 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.7315, allocations: 11.89 kB / 0.7681 GB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.7316, allocations: 4 kB / 0.7681 GB, free: 11.99 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.0003137/0.7319, allocations: 210.6 kB / 0.7683 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.732, allocations: 39.53 kB / 0.7683 GB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000473/0.7325, allocations: 145.3 kB / 0.7685 GB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.7325, allocations: 320 / 0.7685 GB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.7325, allocations: 4 kB / 0.7685 GB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.7326, allocations: 3.938 kB / 0.7685 GB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001565/0.7341, allocations: 0.5809 MB / 0.769 GB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.7342, allocations: 4 kB / 0.769 GB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.7344, allocations: 15.98 kB / 0.769 GB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/0.7345, allocations: 4 kB / 0.7691 GB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.7345, allocations: 0 / 0.7691 GB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.7345, allocations: 0 / 0.7691 GB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.7345, allocations: 0 / 0.7691 GB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009375/0.7355, allocations: 232.4 kB / 0.7693 GB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004764/0.736, allocations: 154.6 kB / 0.7694 GB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.7361, allocations: 0 / 0.7694 GB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002899/0.7364, allocations: 11.98 kB / 0.7694 GB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.902e-05/0.7365, allocations: 3.984 kB / 0.7694 GB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.7366, allocations: 0 / 0.7694 GB, free: 10.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002217/0.7388, allocations: 0.6301 MB / 0.7701 GB, free: 10.17 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.222e-06/0.7389, allocations: 0 / 0.7701 GB, free: 10.17 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001174/0.7401, allocations: 60 kB / 0.7701 GB, free: 10.11 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.001715/0.7419, allocations: 294.5 kB / 0.7704 GB, free: 9.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007302/0.7427, allocations: 117.2 kB / 0.7705 GB, free: 9.797 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.7427, allocations: 0 / 0.7705 GB, free: 9.797 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.743, allocations: 27.92 kB / 0.7705 GB, free: 9.773 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008908/0.7439, allocations: 28.97 kB / 0.7706 GB, free: 9.754 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003345/0.7473, allocations: 0.8835 MB / 0.7714 GB, free: 8.906 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008868/0.7483, allocations: 0.828 MB / 0.7722 GB, free: 8.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002365/0.7485, allocations: 36.44 kB / 0.7723 GB, free: 8.031 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.7487, allocations: 19.44 kB / 0.7723 GB, free: 8.012 MB / 362.7 MB Notification: Performance of SimCode: time 1.913e-06/0.7487, allocations: 0 / 0.7723 GB, free: 8.012 MB / 362.7 MB Notification: Performance of Templates: time 0.01335/0.7621, allocations: 2.154 MB / 0.7744 GB, free: 5.863 MB / 362.7 MB