Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test25.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.Test25,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.Test25") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002698/0.002703, allocations: 363.1 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.41/4.41, 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.003539/0.003539, allocations: 232.4 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.7063/0.7063, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004633/0.0004634, allocations: 13.09 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1072, allocations: 54.86 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4623/0.5695, allocations: 80.97 MB / 0.7592 GB, free: 4.332 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.5699, allocations: 80.08 kB / 0.7592 GB, free: 4.289 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01069/0.5806, allocations: 2.892 MB / 0.7621 GB, free: 1.805 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5806, allocations: 0 / 0.7621 GB, free: 1.805 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.5806, allocations: 4 kB / 0.7621 GB, free: 1.801 MB / 346.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.0004876/0.5811, allocations: 424.2 kB / 0.7625 GB, free: 1.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.5812, allocations: 8.828 kB / 0.7625 GB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.673e-05/0.5812, allocations: 11.86 kB / 0.7625 GB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.5815, allocations: 182.9 kB / 0.7627 GB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.5815, allocations: 0.625 kB / 0.7627 GB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.5815, allocations: 5.188 kB / 0.7627 GB, free: 1.102 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.5818, allocations: 65.09 kB / 0.7627 GB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.5818, allocations: 3.906 kB / 0.7627 GB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.5818, allocations: 4.75 kB / 0.7627 GB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.5818, allocations: 3.953 kB / 0.7627 GB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002261/0.5821, allocations: 49.09 kB / 0.7628 GB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/0.5825, allocations: 288.6 kB / 0.7631 GB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.5827, allocations: 44.75 kB / 0.7631 GB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.5828, allocations: 30.19 kB / 0.7631 GB, free: 0.5977 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.5829, allocations: 3.953 kB / 0.7631 GB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.5829, allocations: 40.31 kB / 0.7632 GB, free: 0.5469 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.144e-06/0.5829, allocations: 3.984 kB / 0.7632 GB, free: 0.543 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.001139/0.584, allocations: 242 kB / 0.7634 GB, free: 336 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.5841, allocations: 55.41 kB / 0.7635 GB, free: 268 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.5843, allocations: 155.1 kB / 0.7636 GB, free: 116 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.5843, allocations: 25.7 kB / 0.7636 GB, free: 84 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.183e-05/0.5844, allocations: 98.09 kB / 0.7637 GB, free: 15.99 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.5844, allocations: 25.97 kB / 0.7638 GB, free: 15.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-06/0.5845, allocations: 0 / 0.7638 GB, free: 15.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.5846, allocations: 318.2 kB / 0.7641 GB, free: 15.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.5848, allocations: 46.78 kB / 0.7641 GB, free: 15.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.5851, allocations: 39.78 kB / 0.7641 GB, free: 15.58 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/0.5853, allocations: 75.38 kB / 0.7642 GB, free: 15.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5853, allocations: 0 / 0.7642 GB, free: 15.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005374/0.5859, allocations: 168.9 kB / 0.7644 GB, free: 15.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.948e-05/0.5859, allocations: 29.7 kB / 0.7644 GB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.5859, allocations: 4 kB / 0.7644 GB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.586, allocations: 3.984 kB / 0.7644 GB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.5862, allocations: 23.92 kB / 0.7644 GB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.5862, allocations: 4 kB / 0.7644 GB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.5863, allocations: 15.98 kB / 0.7644 GB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.5864, allocations: 8 kB / 0.7645 GB, free: 15.25 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.0001407/0.5865, allocations: 116.8 kB / 0.7646 GB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.52e-05/0.5866, allocations: 11.86 kB / 0.7646 GB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005603/0.5871, allocations: 140.4 kB / 0.7647 GB, free: 15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.5872, allocations: 4 kB / 0.7647 GB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.5872, allocations: 0 / 0.7647 GB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.5872, allocations: 0 / 0.7647 GB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008383/0.588, allocations: 415.4 kB / 0.7651 GB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.588, allocations: 0 / 0.7651 GB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.5882, allocations: 23.98 kB / 0.7651 GB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.5882, allocations: 4 kB / 0.7651 GB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.5883, allocations: 0 / 0.7651 GB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.5883, allocations: 7.922 kB / 0.7651 GB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5883, allocations: 0 / 0.7651 GB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005376/0.5888, allocations: 229 kB / 0.7654 GB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.5889, allocations: 85.02 kB / 0.7654 GB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.5889, allocations: 4 kB / 0.7654 GB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.5891, allocations: 19.8 kB / 0.7655 GB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.862e-05/0.5892, allocations: 7.984 kB / 0.7655 GB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.5892, allocations: 0 / 0.7655 GB, free: 14.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001274/0.5893, allocations: 117.7 kB / 0.7656 GB, free: 14.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5893, allocations: 0 / 0.7656 GB, free: 14.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003242/0.5897, allocations: 23.38 kB / 0.7656 GB, free: 14.05 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.0009133/0.5906, allocations: 285 kB / 0.7659 GB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005553/0.5912, allocations: 159.2 kB / 0.766 GB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.5912, allocations: 3.938 kB / 0.766 GB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002381/0.5914, allocations: 50.7 kB / 0.7661 GB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.5918, allocations: 18.64 kB / 0.7661 GB, free: 13.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005847/0.5924, allocations: 213.9 kB / 0.7663 GB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.5928, allocations: 0.7004 MB / 0.767 GB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.411e-05/0.5929, allocations: 12.17 kB / 0.767 GB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.239e-05/0.5929, allocations: 11.44 kB / 0.767 GB, free: 12.68 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/0.5929, allocations: 0 / 0.767 GB, free: 12.68 MB / 362.7 MB Notification: Performance of Templates: time 0.004845/0.5978, allocations: 0.9532 MB / 0.7679 GB, free: 11.74 MB / 362.7 MB