Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003929/0.003934, allocations: 345.7 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.709/3.709, allocations: 341.5 MB / 358.2 MB, free: 28.77 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003684/0.003684, allocations: 212.4 kB / 397.8 MB, free: 6.148 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5628/0.5628, allocations: 76.09 MB / 0.5014 GB, free: 0.8164 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004559/0.0004562, allocations: 8 kB / 0.5592 GB, free: 60.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08782/0.0883, allocations: 48.71 MB / 0.6067 GB, free: 11.54 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4439/0.5322, allocations: 74.58 MB / 0.6796 GB, free: 12.26 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/0.5326, allocations: 74.52 kB / 0.6796 GB, free: 12.22 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01697/0.5496, allocations: 5.287 MB / 0.6848 GB, free: 7.629 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.5496, allocations: 0 / 0.6848 GB, free: 7.629 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.708e-05/0.5497, allocations: 7.938 kB / 0.6848 GB, free: 7.621 MB / 314.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.0007587/0.5504, allocations: 0.6356 MB / 0.6854 GB, free: 6.953 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.5505, allocations: 8.031 kB / 0.6854 GB, free: 6.945 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.063e-05/0.5506, allocations: 43.44 kB / 0.6855 GB, free: 6.902 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004975/0.5511, allocations: 321.4 kB / 0.6858 GB, free: 6.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.5511, allocations: 7.688 kB / 0.6858 GB, free: 6.566 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.5512, allocations: 4 kB / 0.6858 GB, free: 6.562 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.5513, allocations: 52.73 kB / 0.6858 GB, free: 6.512 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.5514, allocations: 4 kB / 0.6858 GB, free: 6.508 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.5514, allocations: 0 / 0.6858 GB, free: 6.508 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.5514, allocations: 0 / 0.6858 GB, free: 6.508 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.5516, allocations: 27.8 kB / 0.6859 GB, free: 6.484 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006174/0.5522, allocations: 438.8 kB / 0.6863 GB, free: 6.062 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.5525, allocations: 45.69 kB / 0.6863 GB, free: 6.016 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.448e-05/0.5525, allocations: 20.75 kB / 0.6864 GB, free: 5.996 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.5526, allocations: 4 kB / 0.6864 GB, free: 5.992 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.5526, allocations: 34.56 kB / 0.6864 GB, free: 5.949 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.703e-06/0.5526, allocations: 0 / 0.6864 GB, free: 5.949 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009177/0.5535, allocations: 242 kB / 0.6866 GB, free: 5.723 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.5536, allocations: 51.41 kB / 0.6867 GB, free: 5.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001677/0.5553, allocations: 0.8283 MB / 0.6875 GB, free: 5.016 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.5553, allocations: 25.7 kB / 0.6875 GB, free: 4.984 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.5555, allocations: 219.6 kB / 0.6877 GB, free: 4.855 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.5555, allocations: 23.06 kB / 0.6877 GB, free: 4.836 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-06/0.5556, allocations: 0 / 0.6877 GB, free: 4.836 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.5557, allocations: 359.4 kB / 0.6881 GB, free: 4.492 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.5558, allocations: 27.11 kB / 0.6881 GB, free: 4.473 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.5559, allocations: 22.61 kB / 0.6881 GB, free: 4.453 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.5561, allocations: 55.56 kB / 0.6882 GB, free: 4.398 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5561, allocations: 0 / 0.6882 GB, free: 4.398 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003884/0.5565, allocations: 154.2 kB / 0.6883 GB, free: 4.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/0.5566, allocations: 33.7 kB / 0.6884 GB, free: 4.211 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.5566, allocations: 4 kB / 0.6884 GB, free: 4.207 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.5566, allocations: 7.938 kB / 0.6884 GB, free: 4.199 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.5567, allocations: 19.98 kB / 0.6884 GB, free: 4.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.5568, allocations: 0 / 0.6884 GB, free: 4.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.5569, allocations: 8 kB / 0.6884 GB, free: 4.172 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.5569, allocations: 3.938 kB / 0.6884 GB, free: 4.168 MB / 314.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.0002605/0.5572, allocations: 215.6 kB / 0.6886 GB, free: 3.969 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.773e-05/0.5573, allocations: 39.44 kB / 0.6886 GB, free: 3.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004038/0.5577, allocations: 141.2 kB / 0.6888 GB, free: 3.809 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.5577, allocations: 0 / 0.6888 GB, free: 3.809 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.5577, allocations: 7.891 kB / 0.6888 GB, free: 3.801 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.5578, allocations: 0 / 0.6888 GB, free: 3.801 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000982/0.5588, allocations: 0.5922 MB / 0.6894 GB, free: 3.234 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.5588, allocations: 3.938 kB / 0.6894 GB, free: 3.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.5589, allocations: 12 kB / 0.6894 GB, free: 3.219 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.5589, allocations: 0 / 0.6894 GB, free: 3.219 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.5589, allocations: 7.938 kB / 0.6894 GB, free: 3.211 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.5589, allocations: 0 / 0.6894 GB, free: 3.211 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5589, allocations: 0 / 0.6894 GB, free: 3.211 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000374/0.5593, allocations: 225.1 kB / 0.6896 GB, free: 2.988 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/0.5595, allocations: 155.5 kB / 0.6898 GB, free: 2.824 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.856e-05/0.5596, allocations: 0 / 0.6898 GB, free: 2.824 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.5598, allocations: 12.14 kB / 0.6898 GB, free: 2.812 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.5598, allocations: 7.984 kB / 0.6898 GB, free: 2.805 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.5598, allocations: 8 kB / 0.6898 GB, free: 2.797 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009512/0.5608, allocations: 0.6286 MB / 0.6904 GB, free: 2.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5608, allocations: 0 / 0.6904 GB, free: 2.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004349/0.5613, allocations: 51.44 kB / 0.6904 GB, free: 2.293 MB / 314.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.00067/0.5619, allocations: 241.3 kB / 0.6907 GB, free: 2.121 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003783/0.5623, allocations: 113.4 kB / 0.6908 GB, free: 2.008 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.5624, allocations: 0 / 0.6908 GB, free: 2.008 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.5625, allocations: 35.11 kB / 0.6908 GB, free: 1.98 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/0.563, allocations: 16.91 kB / 0.6908 GB, free: 1.969 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.5646, allocations: 0.8871 MB / 0.6917 GB, free: 1.125 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004725/0.5651, allocations: 0.8202 MB / 0.6925 GB, free: 300 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001333/0.5652, allocations: 44.36 kB / 0.6925 GB, free: 252 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.5654, allocations: 22.56 kB / 0.6926 GB, free: 232 kB / 314.7 MB Notification: Performance of SimCode: time 1.342e-06/0.5654, allocations: 0 / 0.6926 GB, free: 232 kB / 314.7 MB Notification: Performance of Templates: time 0.009656/0.575, allocations: 2.151 MB / 0.6947 GB, free: 14.09 MB / 330.7 MB