Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Blocks.Continuous_InitialOutput") Notification: Performance of loadModel(ModelicaTest): time 1.942/1.942, allocations: 209.3 MB / 222.4 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.106e-05/3.123e-05, allocations: 11.98 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08908/0.08914, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3436/0.4328, allocations: 83.84 MB / 410.4 MB, free: 7.773 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001682/0.433, allocations: 64.53 kB / 410.4 MB, free: 7.742 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1274/0.5604, allocations: 29.33 MB / 439.8 MB, free: 14.87 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.052e-06/0.5605, allocations: 0 / 439.8 MB, free: 14.87 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.722e-05/0.5606, allocations: 20.38 kB / 439.8 MB, free: 14.85 MB / 346.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.002226/0.5628, allocations: 0.9303 MB / 440.7 MB, free: 13.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.5629, allocations: 12.02 kB / 440.7 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002771/0.5632, allocations: 86.97 kB / 440.8 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/0.5647, allocations: 0.5545 MB / 441.4 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.95e-05/0.5648, allocations: 30.16 kB / 441.4 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.565, allocations: 56.14 kB / 441.4 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.566, allocations: 484.4 kB / 441.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.5661, allocations: 7.938 kB / 441.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.228e-05/0.5662, allocations: 24.45 kB / 442 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/0.5662, allocations: 12 kB / 442 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008593/0.5671, allocations: 331.1 kB / 442.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004648/0.5717, allocations: 1.929 MB / 444.2 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009799/0.5728, allocations: 426.5 kB / 444.6 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004398/0.5732, allocations: 195.4 kB / 444.8 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.866e-05/0.5733, allocations: 11.94 kB / 444.8 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.5733, allocations: 40.19 kB / 444.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of pre-optimization done (n=44): time 3.792e-06/0.5734, allocations: 0 / 444.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.001984/0.5753, allocations: 0.7635 MB / 445.6 MB, free: 9.789 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.378e-05/0.5755, allocations: 114.8 kB / 445.8 MB, free: 9.652 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008601/0.5763, allocations: 0.5014 MB / 446.3 MB, free: 9.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.234e-05/0.5764, allocations: 37.02 kB / 446.3 MB, free: 9.215 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/0.5767, allocations: 338.4 kB / 446.6 MB, free: 8.988 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/0.5769, allocations: 170.6 kB / 446.8 MB, free: 8.844 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.577, allocations: 7 kB / 446.8 MB, free: 8.844 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.5772, allocations: 341.3 kB / 447.1 MB, free: 8.512 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005004/0.5777, allocations: 194.6 kB / 447.3 MB, free: 8.391 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005795/0.5783, allocations: 297.6 kB / 447.6 MB, free: 8.141 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005486/0.5789, allocations: 230.9 kB / 447.8 MB, free: 7.988 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.162e-06/0.5789, allocations: 0 / 447.8 MB, free: 7.988 MB / 346.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001402/0.5803, allocations: 0.5767 MB / 448.4 MB, free: 7.555 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.5803, allocations: 5.094 kB / 448.4 MB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.5804, allocations: 4 kB / 448.4 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.5804, allocations: 4 kB / 448.4 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.5817, allocations: 197.2 kB / 448.6 MB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/0.5817, allocations: 4 kB / 448.6 MB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007476/0.5825, allocations: 85.38 kB / 448.7 MB, free: 7.277 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.475e-05/0.5826, allocations: 19.31 kB / 448.7 MB, free: 7.262 MB / 346.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 (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.0001928/0.5828, allocations: 140.9 kB / 448.9 MB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/0.583, allocations: 71.14 kB / 448.9 MB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/0.5833, allocations: 83.67 kB / 449 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.453e-06/0.5833, allocations: 4 kB / 449 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.623e-06/0.5833, allocations: 4 kB / 449 MB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.5833, allocations: 3.984 kB / 449 MB, free: 7.012 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002365/0.5857, allocations: 1.162 MB / 450.2 MB, free: 6.039 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.5857, allocations: 0 / 450.2 MB, free: 6.039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000943/0.5867, allocations: 117.5 kB / 450.3 MB, free: 5.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/0.5867, allocations: 8.031 kB / 450.3 MB, free: 5.922 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.997e-05/0.5868, allocations: 10.88 kB / 450.3 MB, free: 5.918 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.026e-05/0.5868, allocations: 7.938 kB / 450.3 MB, free: 5.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.677e-06/0.5869, allocations: 7.984 kB / 450.3 MB, free: 5.902 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001871/0.5887, allocations: 1.01 MB / 451.3 MB, free: 5.055 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003934/0.5892, allocations: 198.6 kB / 451.5 MB, free: 4.863 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.5893, allocations: 15.69 kB / 451.6 MB, free: 4.855 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000769/0.5901, allocations: 55.75 kB / 451.6 MB, free: 4.805 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.5902, allocations: 43.69 kB / 451.6 MB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.072e-05/0.5903, allocations: 12 kB / 451.7 MB, free: 4.758 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006786/0.591, allocations: 397.2 kB / 452 MB, free: 4.457 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.86e-07/0.591, allocations: 4 kB / 452.1 MB, free: 4.453 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000878/0.5919, allocations: 147.2 kB / 452.2 MB, free: 4.324 MB / 346.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 () * 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.0003787/0.5923, allocations: 153.2 kB / 452.3 MB, free: 4.176 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00115/0.5935, allocations: 470.6 kB / 452.8 MB, free: 3.848 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.335e-06/0.5935, allocations: 4.188 kB / 452.8 MB, free: 3.844 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005281/0.594, allocations: 221 kB / 453 MB, free: 3.695 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.5951, allocations: 157.2 kB / 453.2 MB, free: 3.582 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002903/0.5981, allocations: 1.209 MB / 454.4 MB, free: 2.457 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000761/0.5989, allocations: 0.945 MB / 455.3 MB, free: 1.492 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003938/0.5993, allocations: 51.11 kB / 455.4 MB, free: 1.445 MB / 346.7 MB Notification: Performance of SimCode: time 1.79e-06/0.5993, allocations: 0 / 455.4 MB, free: 1.445 MB / 346.7 MB Notification: Performance of Templates: time 0.01679/0.6161, allocations: 8.284 MB / 463.7 MB, free: 9.266 MB / 362.7 MB