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.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,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") Notification: Performance of loadModel(ModelicaTest): time 2.096/2.096, allocations: 234.9 MB / 250.5 MB, free: 9.77 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000438/0.0004382, allocations: 12 kB / 314.4 MB, free: 9.797 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2892, allocations: 54.86 MB / 369.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1341/0.4233, allocations: 89.65 MB / 458.9 MB, free: 3.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.4235, allocations: 63.97 kB / 459 MB, free: 2.957 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06003/0.4836, allocations: 13.78 MB / 472.7 MB, free: 5.137 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.709e-06/0.4836, allocations: 0 / 472.7 MB, free: 5.137 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.535e-05/0.4837, allocations: 20 kB / 472.8 MB, free: 5.117 MB / 394.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.002697/0.4864, allocations: 1.04 MB / 473.8 MB, free: 4.027 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.4865, allocations: 8.031 kB / 473.8 MB, free: 4.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002305/0.4867, allocations: 82.97 kB / 473.9 MB, free: 3.938 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.4882, allocations: 0.5385 MB / 474.4 MB, free: 3.359 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.207e-05/0.4882, allocations: 29 kB / 474.5 MB, free: 3.328 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.4884, allocations: 59.89 kB / 474.5 MB, free: 3.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.4898, allocations: 0.5482 MB / 475.1 MB, free: 2.695 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.4899, allocations: 0 / 475.1 MB, free: 2.695 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.858e-05/0.4899, allocations: 16 kB / 475.1 MB, free: 2.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.49, allocations: 12 kB / 475.1 MB, free: 2.668 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/0.4914, allocations: 473.9 kB / 475.6 MB, free: 2.207 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004539/0.496, allocations: 1.967 MB / 477.5 MB, free: 168 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.4977, allocations: 0.5951 MB / 478.1 MB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.372e-05/0.4978, allocations: 8.047 kB / 478.1 MB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/0.4979, allocations: 38.56 kB / 478.2 MB, free: 15.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 3.631e-06/0.4979, allocations: 0 / 478.2 MB, free: 15.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.003531/0.5014, allocations: 1.161 MB / 479.3 MB, free: 14.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.764e-05/0.5016, allocations: 136.5 kB / 479.5 MB, free: 14.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.5027, allocations: 0.5229 MB / 480 MB, free: 13.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.128e-05/0.5028, allocations: 37.7 kB / 480 MB, free: 13.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002963/0.5031, allocations: 334.8 kB / 480.3 MB, free: 13.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/0.5033, allocations: 169.5 kB / 480.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.703e-05/0.5034, allocations: 12 kB / 480.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.5036, allocations: 334.8 kB / 480.9 MB, free: 12.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008582/0.5044, allocations: 281 kB / 481.1 MB, free: 12.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009665/0.5054, allocations: 392.8 kB / 481.5 MB, free: 12.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009272/0.5064, allocations: 309.2 kB / 481.8 MB, free: 11.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.981e-06/0.5064, allocations: 0 / 481.8 MB, free: 11.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002147/0.5085, allocations: 0.7202 MB / 482.5 MB, free: 11.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000582/0.5091, allocations: 1.055 MB / 483.6 MB, free: 9.883 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.5092, allocations: 4 kB / 483.6 MB, free: 9.879 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.5092, allocations: 4 kB / 483.6 MB, free: 9.875 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008597/0.5101, allocations: 151.8 kB / 483.7 MB, free: 9.727 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.325e-05/0.5101, allocations: 15.88 kB / 483.8 MB, free: 9.711 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007497/0.5109, allocations: 87.62 kB / 483.8 MB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.379e-05/0.5109, allocations: 20 kB / 483.9 MB, free: 9.605 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.511, allocations: 4.781 kB / 483.9 MB, free: 9.602 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001924/0.5129, allocations: 0.6557 MB / 484.5 MB, free: 8.945 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.5129, allocations: 4.281 kB / 484.5 MB, free: 8.941 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.513, allocations: 8 kB / 484.5 MB, free: 8.934 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008003/0.5138, allocations: 147.7 kB / 484.7 MB, free: 8.789 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/0.5138, allocations: 11.92 kB / 484.7 MB, free: 8.777 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004502/0.5143, allocations: 71.59 kB / 484.8 MB, free: 8.707 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-05/0.5144, allocations: 20 kB / 484.8 MB, free: 8.688 MB / 410.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 (68): * Single equations (assignments): 68 * 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 prepare postOptimizeDAE: time 0.0005226/0.5149, allocations: 276.9 kB / 485.1 MB, free: 8.406 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002539/0.5152, allocations: 67.16 kB / 485.1 MB, free: 8.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002006/0.5154, allocations: 81.64 kB / 485.2 MB, free: 8.254 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.07e-06/0.5154, allocations: 8 kB / 485.2 MB, free: 8.246 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.237e-06/0.5154, allocations: 4 kB / 485.2 MB, free: 8.242 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.5154, allocations: 3.984 kB / 485.2 MB, free: 8.238 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001803/0.5172, allocations: 0.8063 MB / 486 MB, free: 7.375 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.5173, allocations: 0 / 486 MB, free: 7.375 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008946/0.5182, allocations: 119.8 kB / 486.1 MB, free: 7.258 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.605e-06/0.5182, allocations: 3.984 kB / 486.1 MB, free: 7.254 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.855e-05/0.5183, allocations: 16 kB / 486.2 MB, free: 7.238 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.768e-06/0.5183, allocations: 0 / 486.2 MB, free: 7.238 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.278e-06/0.5183, allocations: 4 kB / 486.2 MB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002886/0.5212, allocations: 1.203 MB / 487.4 MB, free: 6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003711/0.5216, allocations: 192.3 kB / 487.6 MB, free: 5.793 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.5218, allocations: 12 kB / 487.6 MB, free: 5.781 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007694/0.5225, allocations: 67.94 kB / 487.6 MB, free: 5.715 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.5227, allocations: 43.83 kB / 487.7 MB, free: 5.672 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.972e-05/0.5228, allocations: 12 kB / 487.7 MB, free: 5.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008757/0.5237, allocations: 423 kB / 488.1 MB, free: 5.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.37e-07/0.5237, allocations: 0 / 488.1 MB, free: 5.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001059/0.5247, allocations: 188 kB / 488.3 MB, free: 5.066 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (43): * Single equations (assignments): 43 * 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.0002243/0.525, allocations: 131.1 kB / 488.4 MB, free: 4.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002816/0.5278, allocations: 0.9642 MB / 489.4 MB, free: 3.969 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.003e-06/0.5278, allocations: 0 / 489.4 MB, free: 3.969 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009205/0.5288, allocations: 304.5 kB / 489.7 MB, free: 3.672 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.53, allocations: 160.1 kB / 489.8 MB, free: 3.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00384/0.5339, allocations: 1.669 MB / 491.5 MB, free: 1.805 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007565/0.5347, allocations: 0.9533 MB / 492.4 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003598/0.5351, allocations: 43.42 kB / 492.5 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of SimCode: time 1.53e-06/0.5351, allocations: 4 kB / 492.5 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of Templates: time 0.0159/0.551, allocations: 7.946 MB / 0.4887 GB, free: 8.848 MB / 426.7 MB