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.Continuous_InitialOutput.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Continuous_InitialOutput") Notification: Performance of loadModel(ModelicaTest): time 2.171/2.171, allocations: 234.9 MB / 250.5 MB, free: 9.598 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007828/0.0007831, allocations: 12 kB / 314.3 MB, free: 9.656 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3695, allocations: 54.87 MB / 369.2 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.004318/0.3739, allocations: 2.656 MB / 371.8 MB, free: 10.08 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003237/0.3772, allocations: 1.392 MB / 373.2 MB, free: 8.684 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000384/0.3776, allocations: 15.94 kB / 373.2 MB, free: 8.668 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004238/0.378, allocations: 87.33 kB / 373.3 MB, free: 8.582 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005987/0.3787, allocations: 179.5 kB / 373.5 MB, free: 8.406 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.38, allocations: 395.2 kB / 373.9 MB, free: 8.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001065/0.3811, allocations: 0.6161 MB / 374.5 MB, free: 7.402 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003657/0.3815, allocations: 160.8 kB / 374.7 MB, free: 7.242 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005429/0.382, allocations: 298.8 kB / 375 MB, free: 6.949 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005293/0.3826, allocations: 318.5 kB / 375.3 MB, free: 6.637 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.657e-05/0.3827, allocations: 20 kB / 375.3 MB, free: 6.617 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002665/0.383, allocations: 111.8 kB / 375.4 MB, free: 6.508 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002046/0.3832, allocations: 135.5 kB / 375.5 MB, free: 6.375 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.3833, allocations: 129.3 kB / 375.6 MB, free: 6.242 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008245/0.3842, allocations: 0.5892 MB / 376.2 MB, free: 5.652 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.831e-06/0.3842, allocations: 3.938 kB / 376.2 MB, free: 5.648 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.146e-06/0.3842, allocations: 0 / 376.2 MB, free: 5.648 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.474e-06/0.3842, allocations: 0 / 376.2 MB, free: 5.648 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.002447/0.3867, allocations: 1.012 MB / 377.3 MB, free: 4.586 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3867, allocations: 15.97 kB / 377.3 MB, free: 4.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/0.3869, allocations: 86.97 kB / 377.4 MB, free: 4.484 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.388, allocations: 494.6 kB / 377.8 MB, free: 3.957 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.379e-05/0.3881, allocations: 37 kB / 377.9 MB, free: 3.918 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.3883, allocations: 55.91 kB / 377.9 MB, free: 3.863 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/0.3897, allocations: 0.5443 MB / 378.5 MB, free: 3.293 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.3897, allocations: 4 kB / 378.5 MB, free: 3.289 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.349e-05/0.3898, allocations: 19.95 kB / 378.5 MB, free: 3.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.3898, allocations: 8 kB / 378.5 MB, free: 3.262 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.3912, allocations: 465.9 kB / 379 MB, free: 2.805 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004396/0.3957, allocations: 1.947 MB / 380.9 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.3972, allocations: 0.5398 MB / 381.4 MB, free: 224 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.669e-05/0.3972, allocations: 4 kB / 381.5 MB, free: 220 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.411e-05/0.3973, allocations: 42.84 kB / 381.5 MB, free: 168 kB / 298.7 MB Notification: Performance of pre-optimization done (n=44): time 3.758e-06/0.3973, allocations: 0 / 381.5 MB, free: 168 kB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.003419/0.4007, allocations: 1.166 MB / 382.7 MB, free: 14.99 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.938e-05/0.4009, allocations: 132.5 kB / 382.8 MB, free: 14.83 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.402, allocations: 0.5978 MB / 383.4 MB, free: 14.22 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.307e-05/0.4021, allocations: 33.7 kB / 383.4 MB, free: 14.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003031/0.4024, allocations: 334.9 kB / 383.7 MB, free: 13.85 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/0.4026, allocations: 177.4 kB / 383.9 MB, free: 13.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.385e-05/0.4027, allocations: 16 kB / 383.9 MB, free: 13.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.4029, allocations: 338.8 kB / 384.3 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008601/0.4038, allocations: 285 kB / 384.5 MB, free: 13.04 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009819/0.4048, allocations: 404.8 kB / 384.9 MB, free: 12.61 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009276/0.4057, allocations: 325.2 kB / 385.3 MB, free: 12.3 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.437e-06/0.4057, allocations: 0 / 385.3 MB, free: 12.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002159/0.4079, allocations: 0.7518 MB / 386 MB, free: 11.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001506/0.4081, allocations: 170.8 kB / 386.2 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.4081, allocations: 4 kB / 386.2 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.4081, allocations: 4 kB / 386.2 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.4092, allocations: 195.8 kB / 386.4 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/0.4093, allocations: 8 kB / 386.4 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006646/0.4099, allocations: 87.62 kB / 386.5 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.373e-05/0.41, allocations: 16 kB / 386.5 MB, free: 11.03 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.4101, allocations: 7.953 kB / 386.5 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001958/0.412, allocations: 0.6792 MB / 387.2 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.876e-06/0.4121, allocations: 0 / 387.2 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.4121, allocations: 8 kB / 387.2 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.4131, allocations: 192 kB / 387.4 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.4132, allocations: 4 kB / 387.4 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004427/0.4136, allocations: 83.48 kB / 387.5 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-05/0.4137, allocations: 23.97 kB / 387.5 MB, free: 10.04 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (69): * Single equations (assignments): 68 * Array equations: 1 * 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 prepare postOptimizeDAE: time 0.0004666/0.4142, allocations: 273 kB / 387.7 MB, free: 9.758 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002462/0.4144, allocations: 71.14 kB / 387.8 MB, free: 9.688 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/0.4147, allocations: 85.62 kB / 387.9 MB, free: 9.598 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.769e-06/0.4147, allocations: 4 kB / 387.9 MB, free: 9.594 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.289e-06/0.4147, allocations: 0 / 387.9 MB, free: 9.594 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.4147, allocations: 4 kB / 387.9 MB, free: 9.59 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00279/0.4175, allocations: 1.255 MB / 389.2 MB, free: 8.273 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.4176, allocations: 7.938 kB / 389.2 MB, free: 8.266 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008624/0.4184, allocations: 115.9 kB / 389.3 MB, free: 8.152 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.291e-05/0.4185, allocations: 7.938 kB / 389.3 MB, free: 8.145 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.901e-05/0.4185, allocations: 19.98 kB / 389.3 MB, free: 8.125 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/0.4186, allocations: 4 kB / 389.3 MB, free: 8.121 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.316e-06/0.4186, allocations: 4 kB / 389.3 MB, free: 8.117 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002829/0.4214, allocations: 1.204 MB / 390.5 MB, free: 6.887 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003846/0.4218, allocations: 196.2 kB / 390.7 MB, free: 6.676 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.422, allocations: 19.98 kB / 390.7 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007054/0.4227, allocations: 67.88 kB / 390.8 MB, free: 6.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.4228, allocations: 43.8 kB / 390.8 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.495e-05/0.4229, allocations: 16 kB / 390.9 MB, free: 6.531 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008352/0.4238, allocations: 423 kB / 391.3 MB, free: 6.121 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.17e-07/0.4238, allocations: 0 / 391.3 MB, free: 6.121 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001121/0.4249, allocations: 204 kB / 391.5 MB, free: 5.922 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * 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 (45): * Single equations (assignments): 45 * 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.0003631/0.4253, allocations: 145.7 kB / 391.6 MB, free: 5.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002949/0.4283, allocations: 0.9958 MB / 392.6 MB, free: 4.773 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.103e-06/0.4283, allocations: 0 / 392.6 MB, free: 4.773 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000959/0.4293, allocations: 312 kB / 392.9 MB, free: 4.469 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.4304, allocations: 151.5 kB / 393.1 MB, free: 4.328 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003687/0.4342, allocations: 1.691 MB / 394.7 MB, free: 2.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007863/0.435, allocations: 0.9455 MB / 395.7 MB, free: 1.617 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003571/0.4354, allocations: 43.44 kB / 395.7 MB, free: 1.574 MB / 314.7 MB Notification: Performance of SimCode: time 4.065e-06/0.4354, allocations: 4 kB / 395.7 MB, free: 1.57 MB / 314.7 MB Notification: Performance of Templates: time 0.01726/0.4527, allocations: 8.231 MB / 404 MB, free: 9.355 MB / 330.7 MB