Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.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.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002879/0.002884, allocations: 363.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.18/4.18, allocations: 388.9 MB / 405.6 MB, free: 9.59 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.003693/0.003693, allocations: 229.1 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.577/0.577, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006802/0.0006808, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1119, allocations: 54.86 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4877/0.5997, allocations: 81.87 MB / 0.76 GB, free: 3.484 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/0.6, allocations: 63.28 kB / 0.7601 GB, free: 3.453 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05054/0.6505, allocations: 9.388 MB / 0.7692 GB, free: 11.28 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.6506, allocations: 4 kB / 0.7693 GB, free: 11.28 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.609e-05/0.6506, allocations: 11.98 kB / 0.7693 GB, free: 11.27 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.002031/0.6527, allocations: 0.6898 MB / 0.7699 GB, free: 10.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.6527, allocations: 8.828 kB / 0.7699 GB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.6529, allocations: 39.47 kB / 0.77 GB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006188/0.6535, allocations: 295 kB / 0.7703 GB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.6536, allocations: 14.62 kB / 0.7703 GB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.6537, allocations: 22.94 kB / 0.7703 GB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007923/0.6545, allocations: 279.6 kB / 0.7706 GB, free: 9.941 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.6545, allocations: 0 / 0.7706 GB, free: 9.941 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.228e-05/0.6546, allocations: 10.81 kB / 0.7706 GB, free: 9.938 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.6546, allocations: 7.953 kB / 0.7706 GB, free: 9.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007675/0.6554, allocations: 231.1 kB / 0.7708 GB, free: 9.762 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002091/0.6575, allocations: 0.7671 MB / 0.7716 GB, free: 9.047 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007735/0.6583, allocations: 293 kB / 0.7718 GB, free: 8.816 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005299/0.6589, allocations: 195.7 kB / 0.772 GB, free: 8.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.624e-05/0.659, allocations: 4 kB / 0.772 GB, free: 8.676 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.659, allocations: 35 kB / 0.7721 GB, free: 8.633 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 3.707e-06/0.659, allocations: 0 / 0.7721 GB, free: 8.633 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.00182/0.6609, allocations: 0.5479 MB / 0.7726 GB, free: 8.215 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/0.661, allocations: 81.11 kB / 0.7727 GB, free: 8.117 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005477/0.6615, allocations: 353.3 kB / 0.773 GB, free: 7.836 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.763e-05/0.6616, allocations: 36.64 kB / 0.773 GB, free: 7.801 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.6618, allocations: 148.8 kB / 0.7732 GB, free: 7.668 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.6619, allocations: 92.38 kB / 0.7733 GB, free: 7.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.6619, allocations: 11 kB / 0.7733 GB, free: 7.586 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.6621, allocations: 344.9 kB / 0.7736 GB, free: 7.254 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007256/0.6628, allocations: 286.1 kB / 0.7739 GB, free: 7.066 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007766/0.6636, allocations: 348.7 kB / 0.7742 GB, free: 6.832 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008481/0.6645, allocations: 328.6 kB / 0.7745 GB, free: 6.625 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.6645, allocations: 0 / 0.7745 GB, free: 6.625 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001949/0.6665, allocations: 0.761 MB / 0.7753 GB, free: 6.082 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.6666, allocations: 8 kB / 0.7753 GB, free: 6.074 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.179e-05/0.6666, allocations: 4 kB / 0.7753 GB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/0.6667, allocations: 3.984 kB / 0.7753 GB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.6677, allocations: 97 kB / 0.7754 GB, free: 5.973 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.931e-05/0.6677, allocations: 4 kB / 0.7754 GB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004376/0.6682, allocations: 64.89 kB / 0.7754 GB, free: 5.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-05/0.6683, allocations: 10.62 kB / 0.7755 GB, free: 5.902 MB / 362.7 MB Warning: Assuming fixed start value for the following 6 variables: padeDelay2a.x[3]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay2a.x[2]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay2a.x[1]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[3]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[2]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[1]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.000467/0.6688, allocations: 198.3 kB / 0.7756 GB, free: 5.727 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.6689, allocations: 23.62 kB / 0.7757 GB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/0.669, allocations: 42.83 kB / 0.7757 GB, free: 5.688 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.136e-06/0.6691, allocations: 7.938 kB / 0.7757 GB, free: 5.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.6691, allocations: 4 kB / 0.7757 GB, free: 5.676 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.6691, allocations: 0 / 0.7757 GB, free: 5.676 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000643/0.6697, allocations: 342.5 kB / 0.776 GB, free: 5.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6698, allocations: 0 / 0.776 GB, free: 5.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000789/0.6706, allocations: 51.53 kB / 0.7761 GB, free: 5.293 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.318e-05/0.6706, allocations: 4 kB / 0.7761 GB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.243e-05/0.6707, allocations: 14.55 kB / 0.7761 GB, free: 5.281 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/0.6707, allocations: 4 kB / 0.7761 GB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.6707, allocations: 0 / 0.7761 GB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/0.6726, allocations: 0.7688 MB / 0.7769 GB, free: 4.641 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.6727, allocations: 100.9 kB / 0.777 GB, free: 4.523 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-05/0.6729, allocations: 22.86 kB / 0.777 GB, free: 4.508 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000381/0.6733, allocations: 7.984 kB / 0.777 GB, free: 4.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.335e-05/0.6734, allocations: 15.92 kB / 0.777 GB, free: 4.488 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.362e-05/0.6734, allocations: 11.98 kB / 0.777 GB, free: 4.477 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003788/0.6738, allocations: 219.4 kB / 0.7772 GB, free: 4.305 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.6738, allocations: 0 / 0.7772 GB, free: 4.305 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001332/0.6752, allocations: 278.2 kB / 0.7775 GB, free: 4.043 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (padeDelay2a.x[1],padeDelay2a.x[2],padeDelay2a.x[3],padeDelay2a.x[4],padeDelay2b.x[1],padeDelay2b.x[2],padeDelay2b.x[3],padeDelay2b.x[4],padeDelay1b.x[1],padeDelay1b.x[2],padeDelay1b.x[3],padeDelay1b.x[4],padeDelay1a.x[1],padeDelay1a.x[2],padeDelay1a.x[3],padeDelay1a.x[4]) * 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 (24): * Single equations (assignments): 24 * 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.001157/0.6764, allocations: 289.7 kB / 0.7778 GB, free: 3.754 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001904/0.6783, allocations: 0.7392 MB / 0.7785 GB, free: 3.195 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.6784, allocations: 3.938 kB / 0.7785 GB, free: 3.191 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005923/0.679, allocations: 198.6 kB / 0.7787 GB, free: 3.051 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007816/0.6798, allocations: 46.61 kB / 0.7787 GB, free: 3.023 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.682, allocations: 1.037 MB / 0.7797 GB, free: 2.055 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005021/0.6826, allocations: 0.8175 MB / 0.7805 GB, free: 1.219 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003873/0.683, allocations: 70.22 kB / 0.7806 GB, free: 1.148 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.6832, allocations: 27.12 kB / 0.7806 GB, free: 1.125 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/0.6832, allocations: 0 / 0.7806 GB, free: 1.125 MB / 362.7 MB Notification: Performance of Templates: time 0.01905/0.7023, allocations: 6.089 MB / 0.7866 GB, free: 11.06 MB / 378.7 MB