Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test3.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.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.2_ModelicaTest.Tables.CombiTable2D.Test3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004142/0.004149, allocations: 360 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.105/4.105, allocations: 388.9 MB / 405.6 MB, free: 9.586 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.003504/0.003503, allocations: 236.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.6066/0.6066, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004853/0.0004855, allocations: 12 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1035, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4856/0.5892, allocations: 80.97 MB / 0.7592 GB, free: 4.391 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/0.5895, allocations: 77.89 kB / 0.7592 GB, free: 4.348 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02706/0.6166, allocations: 5.493 MB / 0.7646 GB, free: 15.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.098e-06/0.6167, allocations: 0 / 0.7646 GB, free: 15.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.062e-05/0.6168, allocations: 4 kB / 0.7646 GB, free: 15.39 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.00336/0.6202, allocations: 0.6391 MB / 0.7652 GB, free: 14.72 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.973e-05/0.6203, allocations: 8.828 kB / 0.7652 GB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002664/0.6206, allocations: 47.38 kB / 0.7653 GB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.6218, allocations: 320.8 kB / 0.7656 GB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.6219, allocations: 0 / 0.7656 GB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.702e-05/0.622, allocations: 4 kB / 0.7656 GB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003934/0.6224, allocations: 60.73 kB / 0.7656 GB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.6224, allocations: 7.891 kB / 0.7657 GB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.6225, allocations: 3.938 kB / 0.7657 GB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.6225, allocations: 2.25 kB / 0.7657 GB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003843/0.6229, allocations: 43.47 kB / 0.7657 GB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002275/0.6252, allocations: 438.1 kB / 0.7661 GB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003529/0.6256, allocations: 54.14 kB / 0.7662 GB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/0.6259, allocations: 27.5 kB / 0.7662 GB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.778e-05/0.6259, allocations: 3.984 kB / 0.7662 GB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/0.626, allocations: 35.06 kB / 0.7662 GB, free: 13.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 3.938e-06/0.626, allocations: 0 / 0.7662 GB, free: 13.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.003388/0.6294, allocations: 317 kB / 0.7665 GB, free: 13.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.6296, allocations: 55.41 kB / 0.7666 GB, free: 13.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002693/0.6323, allocations: 0.8295 MB / 0.7674 GB, free: 12.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.344e-05/0.6324, allocations: 29.7 kB / 0.7674 GB, free: 12.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.6327, allocations: 208.2 kB / 0.7676 GB, free: 12.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.244e-05/0.6327, allocations: 22.7 kB / 0.7676 GB, free: 12.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.394e-05/0.6327, allocations: 7.75 kB / 0.7677 GB, free: 12.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.6329, allocations: 360.7 kB / 0.768 GB, free: 12.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002697/0.6332, allocations: 35.47 kB / 0.768 GB, free: 12.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.6335, allocations: 47.28 kB / 0.7681 GB, free: 12.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/0.6337, allocations: 72.61 kB / 0.7681 GB, free: 12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.6338, allocations: 4 kB / 0.7682 GB, free: 11.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007038/0.6345, allocations: 196.4 kB / 0.7683 GB, free: 11.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.063e-05/0.6346, allocations: 29.7 kB / 0.7684 GB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.6346, allocations: 4 kB / 0.7684 GB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.6346, allocations: 4 kB / 0.7684 GB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.6348, allocations: 23.92 kB / 0.7684 GB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.6349, allocations: 0 / 0.7684 GB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.6351, allocations: 19.11 kB / 0.7684 GB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.6351, allocations: 4 kB / 0.7684 GB, free: 11.72 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.0003669/0.6355, allocations: 212.3 kB / 0.7686 GB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.6356, allocations: 39.53 kB / 0.7687 GB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007149/0.6363, allocations: 182.3 kB / 0.7688 GB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.6364, allocations: 4 kB / 0.7688 GB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.6364, allocations: 3.938 kB / 0.7688 GB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.6364, allocations: 0 / 0.7688 GB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.638, allocations: 0.6357 MB / 0.7695 GB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.296e-05/0.6384, allocations: 0 / 0.7695 GB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.6387, allocations: 27.98 kB / 0.7695 GB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.6388, allocations: 0 / 0.7695 GB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.6388, allocations: 0 / 0.7695 GB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.6388, allocations: 4 kB / 0.7695 GB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.6389, allocations: 4.078 kB / 0.7695 GB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.6402, allocations: 262.3 kB / 0.7697 GB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005249/0.6408, allocations: 160.2 kB / 0.7699 GB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.6409, allocations: 1.125 kB / 0.7699 GB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003721/0.6413, allocations: 12.55 kB / 0.7699 GB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.965e-05/0.6414, allocations: 9.484 kB / 0.7699 GB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/0.6415, allocations: 4 kB / 0.7699 GB, free: 10.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002592/0.6441, allocations: 0.6241 MB / 0.7705 GB, free: 9.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.31e-07/0.6442, allocations: 0 / 0.7705 GB, free: 9.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001176/0.6454, allocations: 63.62 kB / 0.7706 GB, free: 9.711 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.002734/0.6482, allocations: 277.9 kB / 0.7709 GB, free: 9.527 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.6493, allocations: 157.5 kB / 0.771 GB, free: 9.375 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.6494, allocations: 3.938 kB / 0.771 GB, free: 9.371 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003736/0.6497, allocations: 51.33 kB / 0.7711 GB, free: 9.328 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009566/0.6507, allocations: 24.59 kB / 0.7711 GB, free: 9.312 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004782/0.6556, allocations: 0.9127 MB / 0.772 GB, free: 8.441 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/0.6567, allocations: 0.8246 MB / 0.7728 GB, free: 7.605 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003183/0.6571, allocations: 36.42 kB / 0.7728 GB, free: 7.566 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/0.6573, allocations: 19.44 kB / 0.7728 GB, free: 7.547 MB / 362.7 MB Notification: Performance of SimCode: time 1.552e-06/0.6573, allocations: 4 kB / 0.7728 GB, free: 7.543 MB / 362.7 MB Notification: Performance of Templates: time 0.01551/0.6728, allocations: 2.226 MB / 0.775 GB, free: 5.328 MB / 362.7 MB