Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test6.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.Test6,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.Test6") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00455/0.004556, allocations: 361.4 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.652/4.652, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.003671/0.00367, allocations: 231 kB / 451 MB, free: 145.1 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.6184/0.6184, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006271/0.0006273, allocations: 8 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1148, allocations: 54.86 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4569/0.5718, allocations: 80.94 MB / 0.7591 GB, free: 4.352 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.5721, allocations: 75.34 kB / 0.7592 GB, free: 4.316 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01761/0.5897, allocations: 5.393 MB / 0.7645 GB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5898, allocations: 4 kB / 0.7645 GB, free: 15.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.863e-05/0.5898, allocations: 4 kB / 0.7645 GB, free: 15.44 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.001035/0.5908, allocations: 0.6375 MB / 0.7651 GB, free: 14.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.5909, allocations: 12.83 kB / 0.7651 GB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.591, allocations: 43.44 kB / 0.7651 GB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006463/0.5917, allocations: 320.6 kB / 0.7654 GB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.5917, allocations: 0 / 0.7654 GB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.54e-05/0.5918, allocations: 7.984 kB / 0.7655 GB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.5921, allocations: 64.53 kB / 0.7655 GB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.5921, allocations: 3.953 kB / 0.7655 GB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.5921, allocations: 0 / 0.7655 GB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.5921, allocations: 4 kB / 0.7655 GB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002385/0.5924, allocations: 42.91 kB / 0.7656 GB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008453/0.5932, allocations: 438 kB / 0.766 GB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.5935, allocations: 53.7 kB / 0.766 GB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.5936, allocations: 28.88 kB / 0.7661 GB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.5937, allocations: 0 / 0.7661 GB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.5937, allocations: 36.36 kB / 0.7661 GB, free: 13.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.5937, allocations: 4 kB / 0.7661 GB, free: 13.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.001429/0.5952, allocations: 313.4 kB / 0.7664 GB, free: 13.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.5952, allocations: 55.41 kB / 0.7665 GB, free: 13.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002032/0.5973, allocations: 0.8259 MB / 0.7673 GB, free: 12.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/0.5974, allocations: 25.7 kB / 0.7673 GB, free: 12.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002491/0.5977, allocations: 216.3 kB / 0.7675 GB, free: 12.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.5977, allocations: 18.78 kB / 0.7675 GB, free: 12.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.509e-05/0.5977, allocations: 4 kB / 0.7675 GB, free: 12.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002165/0.598, allocations: 369.6 kB / 0.7679 GB, free: 12.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002717/0.5982, allocations: 39.53 kB / 0.7679 GB, free: 12.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.5985, allocations: 42.67 kB / 0.7679 GB, free: 12.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.5988, allocations: 79.17 kB / 0.768 GB, free: 12.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.5988, allocations: 0 / 0.768 GB, free: 12.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006854/0.5995, allocations: 193.3 kB / 0.7682 GB, free: 11.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.506e-05/0.5995, allocations: 33.45 kB / 0.7682 GB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.5996, allocations: 0 / 0.7682 GB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.5996, allocations: 4 kB / 0.7682 GB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.5998, allocations: 23.97 kB / 0.7683 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.5998, allocations: 0 / 0.7683 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.6, allocations: 16.88 kB / 0.7683 GB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.6001, allocations: 3.938 kB / 0.7683 GB, free: 11.77 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.0003652/0.6004, allocations: 217.6 kB / 0.7685 GB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.6006, allocations: 39.53 kB / 0.7685 GB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006664/0.6012, allocations: 177.7 kB / 0.7687 GB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.6013, allocations: 4 kB / 0.7687 GB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6013, allocations: 0 / 0.7687 GB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.6013, allocations: 3.984 kB / 0.7687 GB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/0.6028, allocations: 0.6342 MB / 0.7693 GB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.6029, allocations: 3.938 kB / 0.7693 GB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.6031, allocations: 23.98 kB / 0.7694 GB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.794e-06/0.6031, allocations: 4 kB / 0.7694 GB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.6031, allocations: 0 / 0.7694 GB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.148e-06/0.6031, allocations: 3.984 kB / 0.7694 GB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/0.6031, allocations: 4 kB / 0.7694 GB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006789/0.6038, allocations: 268.1 kB / 0.7696 GB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002654/0.6041, allocations: 152.3 kB / 0.7698 GB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.842e-05/0.6042, allocations: 11.48 kB / 0.7698 GB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.6044, allocations: 8 kB / 0.7698 GB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.6045, allocations: 11.98 kB / 0.7698 GB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.6045, allocations: 4 kB / 0.7698 GB, free: 10.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00119/0.6057, allocations: 0.625 MB / 0.7704 GB, free: 9.809 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6057, allocations: 0 / 0.7704 GB, free: 9.809 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004688/0.6062, allocations: 59.94 kB / 0.7705 GB, free: 9.75 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.0009465/0.6072, allocations: 283.8 kB / 0.7707 GB, free: 9.566 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006184/0.6078, allocations: 154 kB / 0.7709 GB, free: 9.418 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.6078, allocations: 3.938 kB / 0.7709 GB, free: 9.414 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002268/0.6081, allocations: 47.09 kB / 0.7709 GB, free: 9.375 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005198/0.6086, allocations: 36.78 kB / 0.771 GB, free: 9.352 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.6107, allocations: 0.9046 MB / 0.7718 GB, free: 8.488 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006128/0.6114, allocations: 0.8256 MB / 0.7727 GB, free: 7.652 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001917/0.6116, allocations: 44.36 kB / 0.7727 GB, free: 7.605 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.6117, allocations: 19.44 kB / 0.7727 GB, free: 7.586 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6117, allocations: 0 / 0.7727 GB, free: 7.586 MB / 362.7 MB Notification: Performance of Templates: time 0.01008/0.6218, allocations: 2.22 MB / 0.7749 GB, free: 5.371 MB / 362.7 MB