Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test21") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004313/0.004312, 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.077/4.077, allocations: 388.9 MB / 405.6 MB, free: 9.637 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.003563/0.003563, allocations: 225.2 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.5834/0.5834, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005233/0.0005235, allocations: 16 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1053, allocations: 54.86 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5477/0.653, allocations: 82.31 MB / 0.7605 GB, free: 3.012 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/0.6534, allocations: 84.08 kB / 0.7605 GB, free: 2.969 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03702/0.6905, allocations: 6.607 MB / 0.767 GB, free: 13.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.6905, allocations: 3.938 kB / 0.767 GB, free: 13.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.446e-05/0.6906, allocations: 4 kB / 0.767 GB, free: 13.35 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001463/0.6921, allocations: 0.7259 MB / 0.7677 GB, free: 12.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.387e-05/0.6922, allocations: 12.03 kB / 0.7677 GB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002212/0.6924, allocations: 39.52 kB / 0.7678 GB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009073/0.6934, allocations: 293.1 kB / 0.768 GB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.235e-05/0.6934, allocations: 7.938 kB / 0.768 GB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-05/0.6935, allocations: 15.66 kB / 0.7681 GB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004958/0.694, allocations: 115.4 kB / 0.7682 GB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.6941, allocations: 0 / 0.7682 GB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.6941, allocations: 7.75 kB / 0.7682 GB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.6941, allocations: 0 / 0.7682 GB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000386/0.6945, allocations: 77.64 kB / 0.7683 GB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.6957, allocations: 479.9 kB / 0.7687 GB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003493/0.6961, allocations: 98.62 kB / 0.7688 GB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.6963, allocations: 39.03 kB / 0.7688 GB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.156e-05/0.6963, allocations: 7.984 kB / 0.7689 GB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.6964, allocations: 33.94 kB / 0.7689 GB, free: 11.42 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 3.016e-06/0.6964, allocations: 0 / 0.7689 GB, free: 11.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001721/0.6981, allocations: 400.1 kB / 0.7693 GB, free: 11.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.6982, allocations: 55.41 kB / 0.7693 GB, free: 11.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000909/0.6992, allocations: 461 kB / 0.7698 GB, free: 10.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.472e-05/0.6993, allocations: 31.95 kB / 0.7698 GB, free: 10.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002282/0.6995, allocations: 176.6 kB / 0.77 GB, free: 10.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.591e-05/0.6996, allocations: 53.98 kB / 0.77 GB, free: 10.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.384e-05/0.6996, allocations: 7.375 kB / 0.77 GB, free: 10.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.6998, allocations: 344.1 kB / 0.7703 GB, free: 10.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003224/0.7002, allocations: 66.27 kB / 0.7704 GB, free: 10.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/0.7004, allocations: 68.84 kB / 0.7705 GB, free: 10.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003631/0.7008, allocations: 209.2 kB / 0.7707 GB, free: 9.809 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.7008, allocations: 0 / 0.7707 GB, free: 9.809 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008567/0.7017, allocations: 359 kB / 0.771 GB, free: 9.469 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.7018, allocations: 147.4 kB / 0.7712 GB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.7019, allocations: 4 kB / 0.7712 GB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.7019, allocations: 0 / 0.7712 GB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.7022, allocations: 35.97 kB / 0.7712 GB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.7022, allocations: 4 kB / 0.7712 GB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.7024, allocations: 15.12 kB / 0.7712 GB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.7024, allocations: 8 kB / 0.7712 GB, free: 9.234 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 (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 5 * 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.0003035/0.7028, allocations: 167.2 kB / 0.7714 GB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.7029, allocations: 39.47 kB / 0.7714 GB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008975/0.7038, allocations: 251.8 kB / 0.7717 GB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.7039, allocations: 0 / 0.7717 GB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.7039, allocations: 0 / 0.7717 GB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.7039, allocations: 7.984 kB / 0.7717 GB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/0.7055, allocations: 0.649 MB / 0.7723 GB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.7056, allocations: 0 / 0.7723 GB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.7058, allocations: 35.98 kB / 0.7723 GB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.266e-05/0.7058, allocations: 7.984 kB / 0.7723 GB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.7059, allocations: 0 / 0.7723 GB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.7059, allocations: 4 kB / 0.7723 GB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.7059, allocations: 4 kB / 0.7723 GB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007509/0.7066, allocations: 314.2 kB / 0.7726 GB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001802/0.7069, allocations: 124.7 kB / 0.7728 GB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.158e-05/0.7069, allocations: 0 / 0.7728 GB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.7071, allocations: 11.61 kB / 0.7728 GB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.33e-05/0.7072, allocations: 15.92 kB / 0.7728 GB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.7072, allocations: 7.75 kB / 0.7728 GB, free: 7.746 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006127/0.7078, allocations: 332.5 kB / 0.7731 GB, free: 7.492 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.7079, allocations: 4 kB / 0.7731 GB, free: 7.488 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006044/0.7085, allocations: 97.36 kB / 0.7732 GB, free: 7.402 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 (17): * Single equations (assignments): 17 * 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.002466/0.711, allocations: 0.7525 MB / 0.7739 GB, free: 6.855 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009134/0.7119, allocations: 431.6 kB / 0.7744 GB, free: 6.414 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.712, allocations: 0 / 0.7744 GB, free: 6.414 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003057/0.7123, allocations: 83.52 kB / 0.7744 GB, free: 6.352 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006518/0.7129, allocations: 43.28 kB / 0.7745 GB, free: 6.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.7147, allocations: 0.6612 MB / 0.7751 GB, free: 5.695 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005199/0.7152, allocations: 0.7888 MB / 0.7759 GB, free: 4.887 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00026/0.7155, allocations: 49.34 kB / 0.7759 GB, free: 4.836 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.7157, allocations: 30.23 kB / 0.776 GB, free: 4.809 MB / 362.7 MB Notification: Performance of SimCode: time 1.353e-06/0.7157, allocations: 0 / 0.776 GB, free: 4.809 MB / 362.7 MB Notification: Performance of Templates: time 0.01197/0.7277, allocations: 3.143 MB / 0.779 GB, free: 1.691 MB / 362.7 MB