Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.PadeDelay2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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_cpp_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadModel(ModelicaTest): time 2.244/2.244, allocations: 235.1 MB / 243 MB, free: 9.5 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.081e-05/2.091e-05, allocations: 4 kB / 303.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2784, allocations: 54.86 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1276/0.4061, allocations: 81.1 MB / 439.1 MB, free: 13.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.4063, allocations: 59.98 kB / 439.2 MB, free: 13.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04494/0.4513, allocations: 9.315 MB / 448.5 MB, free: 4.332 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.05e-06/0.4513, allocations: 3.938 kB / 448.5 MB, free: 4.328 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.871e-05/0.4514, allocations: 8 kB / 448.5 MB, free: 4.32 MB / 378.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.001386/0.4528, allocations: 0.6575 MB / 449.2 MB, free: 3.617 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.4528, allocations: 8.031 kB / 449.2 MB, free: 3.609 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.5e-05/0.4529, allocations: 31.58 kB / 449.2 MB, free: 3.578 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005168/0.4535, allocations: 295.9 kB / 449.5 MB, free: 3.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.4535, allocations: 4 kB / 449.5 MB, free: 3.246 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-05/0.4536, allocations: 19.89 kB / 449.5 MB, free: 3.227 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004644/0.4541, allocations: 199.9 kB / 449.7 MB, free: 3.031 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005408/0.4546, allocations: 247.2 kB / 450 MB, free: 2.777 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.4547, allocations: 0 / 450 MB, free: 2.777 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.298e-05/0.4547, allocations: 3.953 kB / 450 MB, free: 2.773 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.234e-06/0.4547, allocations: 4 kB / 450 MB, free: 2.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.4563, allocations: 0.7154 MB / 450.7 MB, free: 2.012 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000506/0.4569, allocations: 268.9 kB / 451 MB, free: 1.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/0.4572, allocations: 173.6 kB / 451.1 MB, free: 1.555 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.4573, allocations: 4 kB / 451.1 MB, free: 1.551 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.4573, allocations: 38.55 kB / 451.2 MB, free: 1.504 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 2.774e-06/0.4573, allocations: 4 kB / 451.2 MB, free: 1.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.000882/0.4582, allocations: 358.2 kB / 451.5 MB, free: 1.141 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.031e-05/0.4583, allocations: 81.11 kB / 451.6 MB, free: 1.043 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004374/0.4588, allocations: 301.1 kB / 451.9 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.079e-05/0.4588, allocations: 29.64 kB / 451.9 MB, free: 0.707 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.459, allocations: 199.5 kB / 452.1 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.4591, allocations: 98.61 kB / 452.2 MB, free: 424 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.4592, allocations: 0 / 452.2 MB, free: 424 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.4594, allocations: 342.8 kB / 452.5 MB, free: 72 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005277/0.4599, allocations: 264.7 kB / 452.8 MB, free: 15.81 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005573/0.4605, allocations: 310.3 kB / 453.1 MB, free: 15.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006978/0.4612, allocations: 321.7 kB / 453.4 MB, free: 15.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.912e-06/0.4612, allocations: 0 / 453.4 MB, free: 15.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001448/0.4627, allocations: 0.6925 MB / 454.1 MB, free: 14.49 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.4627, allocations: 8 kB / 454.1 MB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.283e-05/0.4628, allocations: 8 kB / 454.1 MB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.4628, allocations: 4 kB / 454.1 MB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006117/0.4634, allocations: 99.88 kB / 454.2 MB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.959e-06/0.4634, allocations: 4 kB / 454.2 MB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002745/0.4637, allocations: 63.11 kB / 454.3 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-05/0.4638, allocations: 8 kB / 454.3 MB, free: 14.3 MB / 394.7 MB Warning: Assuming fixed start value for the following 6 variables: padeDelay2a.x[3]:VARIABLE(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(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(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(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(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(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 () * 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.0002108/0.464, allocations: 133.1 kB / 454.4 MB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.4641, allocations: 27.62 kB / 454.5 MB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.4642, allocations: 34.84 kB / 454.5 MB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.182e-06/0.4643, allocations: 4 kB / 454.5 MB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.4643, allocations: 7.922 kB / 454.5 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.03e-06/0.4643, allocations: 3.984 kB / 454.5 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005507/0.4649, allocations: 301.8 kB / 454.8 MB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.239e-06/0.4649, allocations: 0 / 454.8 MB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005721/0.4655, allocations: 51.92 kB / 454.9 MB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.575e-06/0.4655, allocations: 4 kB / 454.9 MB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.217e-05/0.4656, allocations: 15.98 kB / 454.9 MB, free: 13.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.322e-06/0.4656, allocations: 0 / 454.9 MB, free: 13.69 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.943e-06/0.4656, allocations: 0 / 454.9 MB, free: 13.69 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/0.4668, allocations: 0.7186 MB / 455.6 MB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.753e-05/0.467, allocations: 100.7 kB / 455.7 MB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.314e-05/0.467, allocations: 11.98 kB / 455.7 MB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002983/0.4674, allocations: 12 kB / 455.7 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.689e-05/0.4675, allocations: 15.97 kB / 455.7 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.454e-05/0.4675, allocations: 8 kB / 455.7 MB, free: 12.78 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002811/0.4678, allocations: 200.6 kB / 455.9 MB, free: 12.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.95e-07/0.4678, allocations: 0 / 455.9 MB, free: 12.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00108/0.4689, allocations: 271.8 kB / 456.2 MB, free: 12.32 MB / 394.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 () * 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.0007405/0.4697, allocations: 294.8 kB / 456.5 MB, free: 12.02 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001282/0.471, allocations: 0.6862 MB / 457.2 MB, free: 11.31 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.671e-06/0.471, allocations: 0 / 457.2 MB, free: 11.31 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003609/0.4714, allocations: 183.7 kB / 457.4 MB, free: 11.13 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.4718, allocations: 41.64 kB / 457.4 MB, free: 11.09 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.4734, allocations: 0.8213 MB / 458.2 MB, free: 10.23 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005878/0.474, allocations: 0.8104 MB / 459 MB, free: 9.391 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.4742, allocations: 23.44 kB / 459 MB, free: 9.367 MB / 394.7 MB Notification: Performance of SimCode: time 2.249e-06/0.4743, allocations: 0 / 459 MB, free: 9.367 MB / 394.7 MB Notification: Performance of Templates: time 0.01381/0.4881, allocations: 6.581 MB / 465.6 MB, free: 2.809 MB / 394.7 MB