Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test9") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004065/0.00407, allocations: 347.2 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.67/3.67, allocations: 341.5 MB / 358.2 MB, free: 12.54 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.003711/0.003711, allocations: 222.1 kB / 397.9 MB, free: 4.883 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.5811/0.5811, allocations: 76.08 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007421/0.0007423, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.106, allocations: 48.7 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4202/0.5263, allocations: 74.35 MB / 0.6793 GB, free: 38.39 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/0.5266, allocations: 71.95 kB / 0.6794 GB, free: 38.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01642/0.543, allocations: 5.098 MB / 0.6844 GB, free: 33.37 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.5431, allocations: 0 / 0.6844 GB, free: 33.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.573e-05/0.5431, allocations: 11.98 kB / 0.6844 GB, free: 33.36 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.0008197/0.544, allocations: 0.6434 MB / 0.685 GB, free: 32.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.544, allocations: 12.03 kB / 0.685 GB, free: 32.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.78e-05/0.5441, allocations: 39.44 kB / 0.6851 GB, free: 32.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005141/0.5447, allocations: 323.3 kB / 0.6854 GB, free: 32.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.5447, allocations: 0 / 0.6854 GB, free: 32.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.5447, allocations: 4 kB / 0.6854 GB, free: 32.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.545, allocations: 57.69 kB / 0.6854 GB, free: 32.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.545, allocations: 0 / 0.6854 GB, free: 32.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.545, allocations: 0 / 0.6854 GB, free: 32.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.545, allocations: 0 / 0.6854 GB, free: 32.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002108/0.5452, allocations: 39.97 kB / 0.6855 GB, free: 32.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006661/0.5459, allocations: 424.7 kB / 0.6859 GB, free: 31.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.5461, allocations: 45 kB / 0.6859 GB, free: 31.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.5462, allocations: 28.94 kB / 0.686 GB, free: 31.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.5463, allocations: 4 kB / 0.686 GB, free: 31.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.5463, allocations: 30.56 kB / 0.686 GB, free: 31.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.763e-06/0.5463, allocations: 3.938 kB / 0.686 GB, free: 31.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004988/0.5468, allocations: 141 kB / 0.6861 GB, free: 31.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/0.5469, allocations: 51.41 kB / 0.6862 GB, free: 31.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/0.5485, allocations: 0.8298 MB / 0.687 GB, free: 30.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.5486, allocations: 25.7 kB / 0.687 GB, free: 30.49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/0.5488, allocations: 212.1 kB / 0.6872 GB, free: 30.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.5488, allocations: 11.81 kB / 0.6872 GB, free: 30.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/0.5488, allocations: 0 / 0.6872 GB, free: 30.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.952e-05/0.549, allocations: 354.8 kB / 0.6876 GB, free: 29.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.5491, allocations: 27.98 kB / 0.6876 GB, free: 29.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.5492, allocations: 15.98 kB / 0.6876 GB, free: 29.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.5494, allocations: 49.69 kB / 0.6877 GB, free: 29.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.5494, allocations: 0 / 0.6877 GB, free: 29.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003693/0.5498, allocations: 142.8 kB / 0.6878 GB, free: 29.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/0.5498, allocations: 37.69 kB / 0.6878 GB, free: 29.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.5499, allocations: 1.5 kB / 0.6878 GB, free: 29.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.5499, allocations: 0 / 0.6878 GB, free: 29.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.55, allocations: 8 kB / 0.6878 GB, free: 29.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.55, allocations: 0 / 0.6878 GB, free: 29.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.5502, allocations: 19.98 kB / 0.6879 GB, free: 29.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.5502, allocations: 3.953 kB / 0.6879 GB, free: 29.59 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.0002403/0.5504, allocations: 207.8 kB / 0.6881 GB, free: 29.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.607e-05/0.5505, allocations: 39.44 kB / 0.6881 GB, free: 29.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003885/0.5509, allocations: 131.9 kB / 0.6882 GB, free: 29.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.551, allocations: 3.984 kB / 0.6882 GB, free: 29.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.551, allocations: 4 kB / 0.6882 GB, free: 29.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.551, allocations: 0 / 0.6882 GB, free: 29.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003696/0.5514, allocations: 317.4 kB / 0.6885 GB, free: 28.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5514, allocations: 0 / 0.6885 GB, free: 28.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.59e-05/0.5515, allocations: 15.23 kB / 0.6885 GB, free: 28.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.5515, allocations: 0 / 0.6885 GB, free: 28.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.5515, allocations: 7.75 kB / 0.6885 GB, free: 28.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.5515, allocations: 8 kB / 0.6886 GB, free: 28.81 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5515, allocations: 0 / 0.6886 GB, free: 28.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/0.5519, allocations: 207 kB / 0.6888 GB, free: 28.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002094/0.5521, allocations: 156.5 kB / 0.6889 GB, free: 28.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.772e-05/0.5522, allocations: 11.94 kB / 0.6889 GB, free: 28.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.5524, allocations: 7.984 kB / 0.6889 GB, free: 28.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.5524, allocations: 4 kB / 0.6889 GB, free: 28.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.5524, allocations: 0 / 0.6889 GB, free: 28.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009633/0.5534, allocations: 0.6276 MB / 0.6895 GB, free: 27.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5534, allocations: 0 / 0.6895 GB, free: 27.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004059/0.5538, allocations: 48 kB / 0.6896 GB, free: 27.73 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.000562/0.5544, allocations: 203.5 kB / 0.6898 GB, free: 27.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003494/0.5548, allocations: 103.4 kB / 0.6899 GB, free: 27.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5548, allocations: 0 / 0.6899 GB, free: 27.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.5549, allocations: 23.98 kB / 0.6899 GB, free: 27.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004867/0.5554, allocations: 21.92 kB / 0.6899 GB, free: 27.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.557, allocations: 0.8713 MB / 0.6908 GB, free: 26.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.5573, allocations: 0.8223 MB / 0.6916 GB, free: 25.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.148e-05/0.5574, allocations: 28.25 kB / 0.6916 GB, free: 25.67 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.118e-05/0.5575, allocations: 23.44 kB / 0.6916 GB, free: 25.65 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/0.5575, allocations: 0 / 0.6916 GB, free: 25.65 MB / 362.7 MB Notification: Performance of Templates: time 0.008421/0.566, allocations: 1.998 MB / 0.6936 GB, free: 23.72 MB / 362.7 MB