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.314/2.314, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.786e-05/2.804e-05, allocations: 4 kB / 309.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3235, allocations: 54.85 MB / 364.5 MB, free: 5.379 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1359/0.4594, allocations: 89.57 MB / 454.1 MB, free: 6.777 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001984/0.4597, allocations: 55.98 kB / 454.2 MB, free: 6.723 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0604/0.5201, allocations: 13.74 MB / 467.9 MB, free: 8.977 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.61e-06/0.5202, allocations: 0 / 467.9 MB, free: 8.977 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.359e-05/0.5203, allocations: 24 kB / 467.9 MB, free: 8.953 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.002376/0.5226, allocations: 0.9037 MB / 468.8 MB, free: 8.004 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.5227, allocations: 8.031 kB / 468.8 MB, free: 7.996 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000338/0.5231, allocations: 82.97 kB / 468.9 MB, free: 7.914 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.5244, allocations: 0.5157 MB / 469.4 MB, free: 7.355 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.83e-05/0.5245, allocations: 36.78 kB / 469.5 MB, free: 7.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.5247, allocations: 59.84 kB / 469.5 MB, free: 7.262 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.5258, allocations: 476 kB / 470 MB, free: 6.766 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/0.5259, allocations: 4 kB / 470 MB, free: 6.762 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.259e-05/0.526, allocations: 16 kB / 470 MB, free: 6.746 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.526, allocations: 8 kB / 470 MB, free: 6.738 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008977/0.5269, allocations: 338.1 kB / 470.3 MB, free: 6.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004896/0.5318, allocations: 1.967 MB / 472.3 MB, free: 4.367 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.5331, allocations: 480.5 kB / 472.8 MB, free: 3.871 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004799/0.5336, allocations: 194.6 kB / 473 MB, free: 3.672 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.047e-05/0.5337, allocations: 4.75 kB / 473 MB, free: 3.668 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.5337, allocations: 43.41 kB / 473 MB, free: 3.617 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 3.763e-06/0.5337, allocations: 0 / 473 MB, free: 3.617 MB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.002016/0.5358, allocations: 0.7663 MB / 473.8 MB, free: 2.844 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.5359, allocations: 140.4 kB / 473.9 MB, free: 2.676 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008934/0.5368, allocations: 499.8 kB / 474.4 MB, free: 2.184 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.132e-05/0.5369, allocations: 45.69 kB / 474.5 MB, free: 2.133 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003018/0.5372, allocations: 338.8 kB / 474.8 MB, free: 1.801 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000227/0.5374, allocations: 170.4 kB / 474.9 MB, free: 1.633 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.5375, allocations: 8 kB / 475 MB, free: 1.625 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.5377, allocations: 330.8 kB / 475.3 MB, free: 1.293 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005207/0.5382, allocations: 197.1 kB / 475.5 MB, free: 1.102 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006372/0.5389, allocations: 308.9 kB / 475.8 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005656/0.5395, allocations: 224.5 kB / 476 MB, free: 0.5469 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.5395, allocations: 11.88 kB / 476 MB, free: 0.5352 MB / 394.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001437/0.5409, allocations: 0.5648 MB / 476.6 MB, free: 15.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006255/0.5416, allocations: 1.051 MB / 477.6 MB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.993e-06/0.5416, allocations: 1.406 kB / 477.6 MB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.035e-05/0.5416, allocations: 11.95 kB / 477.6 MB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009316/0.5426, allocations: 147.8 kB / 477.8 MB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.039e-05/0.5426, allocations: 11.98 kB / 477.8 MB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007795/0.5434, allocations: 87.62 kB / 477.9 MB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.674e-05/0.5435, allocations: 20 kB / 477.9 MB, free: 14.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.5435, allocations: 4 kB / 477.9 MB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001329/0.5449, allocations: 0.5151 MB / 478.4 MB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.5449, allocations: 8.062 kB / 478.4 MB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.5449, allocations: 4 kB / 478.4 MB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000859/0.5458, allocations: 139.9 kB / 478.6 MB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.5458, allocations: 7.938 kB / 478.6 MB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004574/0.5463, allocations: 71.64 kB / 478.6 MB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-05/0.5464, allocations: 20 kB / 478.7 MB, free: 13.8 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 () * 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.0002194/0.5466, allocations: 132.8 kB / 478.8 MB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002691/0.5469, allocations: 69.03 kB / 478.9 MB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.5472, allocations: 85.42 kB / 478.9 MB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.5472, allocations: 8 kB / 478.9 MB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.767e-06/0.5472, allocations: 0 / 478.9 MB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.5472, allocations: 3.984 kB / 479 MB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/0.549, allocations: 0.7945 MB / 479.7 MB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.106e-06/0.549, allocations: 3.984 kB / 479.7 MB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000977/0.55, allocations: 111.9 kB / 479.9 MB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.27e-06/0.55, allocations: 4 kB / 479.9 MB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-05/0.5501, allocations: 15.98 kB / 479.9 MB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.5501, allocations: 0 / 479.9 MB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.441e-06/0.5501, allocations: 0 / 479.9 MB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001917/0.5521, allocations: 0.9669 MB / 480.8 MB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000376/0.5525, allocations: 188.3 kB / 481 MB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.5526, allocations: 23.98 kB / 481.1 MB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008139/0.5534, allocations: 63.88 kB / 481.1 MB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.5536, allocations: 43.89 kB / 481.2 MB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-05/0.5537, allocations: 15.94 kB / 481.2 MB, free: 11.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007213/0.5544, allocations: 399.2 kB / 481.6 MB, free: 10.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.77e-07/0.5544, allocations: 0 / 481.6 MB, free: 10.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001092/0.5555, allocations: 199.9 kB / 481.8 MB, free: 10.59 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 () * 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.0002249/0.5558, allocations: 115.2 kB / 481.9 MB, free: 10.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001872/0.5577, allocations: 0.7357 MB / 482.6 MB, free: 9.727 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.5577, allocations: 4.062 kB / 482.6 MB, free: 9.723 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005542/0.5583, allocations: 219.8 kB / 482.8 MB, free: 9.508 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.5594, allocations: 149.8 kB / 483 MB, free: 9.367 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003166/0.5626, allocations: 1.186 MB / 484.2 MB, free: 8.137 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000804/0.5634, allocations: 0.9455 MB / 485.1 MB, free: 7.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003734/0.5638, allocations: 47.42 kB / 485.1 MB, free: 7.113 MB / 410.7 MB Notification: Performance of SimCode: time 1.837e-06/0.5638, allocations: 0 / 485.1 MB, free: 7.113 MB / 410.7 MB Notification: Performance of Templates: time 0.01674/0.5806, allocations: 7.935 MB / 493.1 MB, free: 15.19 MB / 426.7 MB