Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test18_usertab.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.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test18_usertab") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002608/0.002613, allocations: 346.9 kB / 15.93 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.748/3.748, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.003618/0.003618, allocations: 226.1 kB / 397.9 MB, free: 4.973 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.4925/0.4925, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004726/0.0004727, allocations: 16 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1121, allocations: 48.7 MB / 0.6067 GB, free: 4.656 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4966/0.6087, allocations: 74.66 MB / 0.6796 GB, free: 38.11 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003772/0.6092, allocations: 71.97 kB / 0.6797 GB, free: 38.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01764/0.6268, allocations: 2.774 MB / 0.6824 GB, free: 35.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.268e-06/0.6269, allocations: 0 / 0.6824 GB, free: 35.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.39e-05/0.627, allocations: 0 / 0.6824 GB, free: 35.32 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001074/0.6281, allocations: 443.9 kB / 0.6828 GB, free: 34.85 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.936e-05/0.6282, allocations: 8.031 kB / 0.6828 GB, free: 34.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.6284, allocations: 5.719 kB / 0.6829 GB, free: 34.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.6288, allocations: 194.8 kB / 0.683 GB, free: 34.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.6288, allocations: 4 kB / 0.683 GB, free: 34.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.57e-05/0.6288, allocations: 4 kB / 0.683 GB, free: 34.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004517/0.6293, allocations: 106.6 kB / 0.6831 GB, free: 34.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.6293, allocations: 0 / 0.6831 GB, free: 34.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.6294, allocations: 4.688 kB / 0.6832 GB, free: 34.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.6294, allocations: 0 / 0.6832 GB, free: 34.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005739/0.63, allocations: 96.09 kB / 0.6832 GB, free: 34.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004379/0.6304, allocations: 298.4 kB / 0.6835 GB, free: 34.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003595/0.6308, allocations: 86.31 kB / 0.6836 GB, free: 33.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002687/0.6311, allocations: 56.11 kB / 0.6837 GB, free: 33.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.963e-05/0.6311, allocations: 8.047 kB / 0.6837 GB, free: 33.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.6312, allocations: 34.56 kB / 0.6837 GB, free: 33.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 3.146e-06/0.6312, allocations: 2.859 kB / 0.6837 GB, free: 33.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.002863/0.6341, allocations: 460.4 kB / 0.6841 GB, free: 33.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.6341, allocations: 81.06 kB / 0.6842 GB, free: 33.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.6343, allocations: 133.8 kB / 0.6844 GB, free: 33.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.6343, allocations: 25.7 kB / 0.6844 GB, free: 33.15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.382e-05/0.6344, allocations: 98.41 kB / 0.6845 GB, free: 33.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.6344, allocations: 27.56 kB / 0.6845 GB, free: 33.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.879e-06/0.6344, allocations: 0 / 0.6845 GB, free: 33.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.724e-05/0.6345, allocations: 322.8 kB / 0.6848 GB, free: 32.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00051/0.635, allocations: 90.95 kB / 0.6849 GB, free: 32.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008021/0.6358, allocations: 110.6 kB / 0.685 GB, free: 32.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005161/0.6364, allocations: 117 kB / 0.6851 GB, free: 32.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6364, allocations: 4 kB / 0.6851 GB, free: 32.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00111/0.6375, allocations: 263.5 kB / 0.6854 GB, free: 32.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.29e-05/0.6376, allocations: 29.7 kB / 0.6854 GB, free: 32.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.6376, allocations: 0 / 0.6854 GB, free: 32.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.6376, allocations: 0 / 0.6854 GB, free: 32.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003583/0.638, allocations: 53.92 kB / 0.6854 GB, free: 32.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.638, allocations: 6.281 kB / 0.6854 GB, free: 32.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002674/0.6383, allocations: 34.47 kB / 0.6855 GB, free: 32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.6383, allocations: 0 / 0.6855 GB, free: 32 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 (9): * Single equations (assignments): 8 * 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 9.174e-05/0.6384, allocations: 121.5 kB / 0.6856 GB, free: 31.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.234e-05/0.6384, allocations: 7.906 kB / 0.6856 GB, free: 31.87 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/0.6396, allocations: 245.2 kB / 0.6858 GB, free: 31.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.6396, allocations: 3.984 kB / 0.6858 GB, free: 31.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.6396, allocations: 3.25 kB / 0.6858 GB, free: 31.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.6397, allocations: 3.953 kB / 0.6859 GB, free: 31.63 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.641, allocations: 0.4946 MB / 0.6863 GB, free: 31.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.641, allocations: 1.5 kB / 0.6863 GB, free: 31.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003262/0.6413, allocations: 58.33 kB / 0.6864 GB, free: 31.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.6414, allocations: 0 / 0.6864 GB, free: 31.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.6414, allocations: 0 / 0.6864 GB, free: 31.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.6414, allocations: 3.953 kB / 0.6864 GB, free: 31.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.6414, allocations: 0 / 0.6864 GB, free: 31.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.6425, allocations: 328.3 kB / 0.6867 GB, free: 30.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.753e-05/0.6425, allocations: 81.02 kB / 0.6868 GB, free: 30.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.6426, allocations: 8 kB / 0.6868 GB, free: 30.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002944/0.6429, allocations: 35.95 kB / 0.6868 GB, free: 30.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.579e-05/0.643, allocations: 11.94 kB / 0.6868 GB, free: 30.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.643, allocations: 7.938 kB / 0.6868 GB, free: 30.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.706e-05/0.6431, allocations: 104 kB / 0.6869 GB, free: 30.44 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6431, allocations: 0 / 0.6869 GB, free: 30.44 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003961/0.6435, allocations: 39.94 kB / 0.687 GB, free: 30.4 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 (8): * Single equations (assignments): 8 * 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.0008332/0.6443, allocations: 323.5 kB / 0.6873 GB, free: 30.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001106/0.6455, allocations: 251.2 kB / 0.6875 GB, free: 29.97 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.6455, allocations: 0 / 0.6875 GB, free: 29.97 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005177/0.646, allocations: 107.8 kB / 0.6876 GB, free: 29.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.6464, allocations: 10.44 kB / 0.6876 GB, free: 29.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006579/0.6471, allocations: 199.9 kB / 0.6878 GB, free: 29.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.6473, allocations: 0.6926 MB / 0.6885 GB, free: 28.92 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000217/0.6475, allocations: 14.8 kB / 0.6885 GB, free: 28.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.6477, allocations: 15.44 kB / 0.6885 GB, free: 28.89 MB / 362.7 MB Notification: Performance of SimCode: time 1.603e-06/0.6477, allocations: 0 / 0.6885 GB, free: 28.89 MB / 362.7 MB Notification: Performance of Templates: time 0.008922/0.6566, allocations: 1.616 MB / 0.6901 GB, free: 27.34 MB / 362.7 MB