Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.Continuous_SteadyState.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous_SteadyState,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.1_cpp_ModelicaTest.Blocks.Continuous_SteadyState") Notification: Performance of loadModel(ModelicaTest): time 2.171/2.171, allocations: 209.2 MB / 225.4 MB, free: 0.6289 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004353/0.0004356, allocations: 12 kB / 283.1 MB, free: 9.715 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1131, allocations: 48.71 MB / 331.8 MB, free: 8.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4299/0.543, allocations: 83.68 MB / 415.5 MB, free: 1.508 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.5433, allocations: 72.47 kB / 415.5 MB, free: 1.438 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09978/0.6431, allocations: 20.02 MB / 435.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6432, allocations: 0 / 435.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.411e-05/0.6433, allocations: 19.94 kB / 435.6 MB, free: 13.35 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.003739/0.647, allocations: 1.055 MB / 436.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.6471, allocations: 8.031 kB / 436.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000319/0.6474, allocations: 91 kB / 436.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001867/0.6493, allocations: 0.5618 MB / 437.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.883e-05/0.6494, allocations: 29 kB / 437.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.6495, allocations: 51.91 kB / 437.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/0.6514, allocations: 0.5686 MB / 438 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.247e-05/0.6514, allocations: 3.938 kB / 438 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.074e-05/0.6515, allocations: 16 kB / 438 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/0.6516, allocations: 16 kB / 438 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001938/0.6535, allocations: 469.9 kB / 438.4 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00545/0.659, allocations: 1.928 MB / 440.4 MB, free: 8.363 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002151/0.6612, allocations: 0.5856 MB / 441 MB, free: 7.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.743e-05/0.6613, allocations: 11.95 kB / 441 MB, free: 7.738 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.6613, allocations: 38.56 kB / 441 MB, free: 7.691 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 3.387e-06/0.6613, allocations: 0 / 441 MB, free: 7.691 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.004357/0.6657, allocations: 1.156 MB / 442.2 MB, free: 6.523 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.6658, allocations: 158.2 kB / 442.3 MB, free: 6.332 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/0.6672, allocations: 0.6019 MB / 442.9 MB, free: 5.719 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.571e-05/0.6673, allocations: 41.64 kB / 443 MB, free: 5.672 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003131/0.6676, allocations: 338.8 kB / 443.3 MB, free: 5.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002209/0.6678, allocations: 165.5 kB / 443.5 MB, free: 5.176 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.954e-05/0.6679, allocations: 12 kB / 443.5 MB, free: 5.164 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.6681, allocations: 334.8 kB / 443.8 MB, free: 4.828 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.6692, allocations: 269 kB / 444.1 MB, free: 4.566 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/0.6705, allocations: 389.8 kB / 444.4 MB, free: 4.145 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.6717, allocations: 303.9 kB / 444.7 MB, free: 3.852 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.6717, allocations: 3.984 kB / 444.7 MB, free: 3.848 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.003149/0.6749, allocations: 0.7494 MB / 445.5 MB, free: 3.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.6749, allocations: 8 kB / 445.5 MB, free: 3.082 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.6749, allocations: 288 / 445.5 MB, free: 3.082 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00034/0.6753, allocations: 68.73 kB / 445.6 MB, free: 3.012 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001718/0.677, allocations: 203.7 kB / 445.8 MB, free: 2.812 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001923/0.6789, allocations: 1.503 MB / 447.3 MB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.68, allocations: 83.62 kB / 447.3 MB, free: 1.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.575e-05/0.6801, allocations: 20 kB / 447.4 MB, free: 1.07 MB / 362.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 (67): * Single equations (assignments): 66 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004957/0.6806, allocations: 201.7 kB / 447.6 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002087/0.6808, allocations: 75.14 kB / 447.6 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002306/0.6811, allocations: 81.64 kB / 447.7 MB, free: 0.707 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.6811, allocations: 4 kB / 447.7 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.6811, allocations: 0 / 447.7 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.6811, allocations: 0 / 447.7 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.683, allocations: 0.8258 MB / 448.5 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.683, allocations: 0 / 448.5 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/0.6843, allocations: 115.9 kB / 448.7 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.647e-06/0.6843, allocations: 7.938 kB / 448.7 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.875e-05/0.6844, allocations: 12 kB / 448.7 MB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.543e-06/0.6844, allocations: 4 kB / 448.7 MB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.6844, allocations: 3.984 kB / 448.7 MB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003586/0.688, allocations: 1.186 MB / 449.9 MB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003567/0.6884, allocations: 196.3 kB / 450.1 MB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/0.6886, allocations: 12 kB / 450.1 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.6896, allocations: 71.92 kB / 450.1 MB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.6898, allocations: 39.89 kB / 450.2 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.337e-05/0.6898, allocations: 19.92 kB / 450.2 MB, free: 14.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009903/0.6908, allocations: 427 kB / 450.6 MB, free: 13.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6909, allocations: 0 / 450.6 MB, free: 13.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007622/0.6916, allocations: 127.9 kB / 450.7 MB, free: 13.59 MB / 378.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.0002164/0.6919, allocations: 115.2 kB / 450.9 MB, free: 13.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002754/0.6946, allocations: 0.7329 MB / 451.6 MB, free: 12.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.6946, allocations: 0 / 451.6 MB, free: 12.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.6958, allocations: 311.7 kB / 451.9 MB, free: 12.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.6971, allocations: 164.9 kB / 452.1 MB, free: 12.26 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004057/0.7012, allocations: 1.669 MB / 453.7 MB, free: 10.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006845/0.7019, allocations: 0.945 MB / 454.7 MB, free: 9.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003847/0.7023, allocations: 43.44 kB / 454.7 MB, free: 9.527 MB / 378.7 MB Notification: Performance of SimCode: time 1.132e-06/0.7023, allocations: 0 / 454.7 MB, free: 9.527 MB / 378.7 MB Notification: Performance of Templates: time 0.02041/0.7227, allocations: 9.126 MB / 463.8 MB, free: 420 kB / 378.7 MB