Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|logFrequencySweep.y|const.y.re|const.y.im|transferFunction.y.re|transferFunction.y.im",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction") Notification: Performance of loadModel(Modelica): time 2.186/2.186, allocations: 194.8 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003591/0.0003592, allocations: 8 kB / 264.5 MB, free: 13.64 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1069, allocations: 44.5 MB / 309 MB, free: 1.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4615/0.5685, allocations: 72.74 MB / 381.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/0.5689, allocations: 71.34 kB / 381.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01762/0.5865, allocations: 3.754 MB / 385.5 MB, free: 14.31 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5866, allocations: 0 / 385.5 MB, free: 14.31 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.5866, allocations: 6.75 kB / 385.5 MB, free: 14.31 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.003377/0.59, allocations: 0.6589 MB / 386.2 MB, free: 13.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.59, allocations: 8.688 kB / 386.2 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.882e-05/0.5901, allocations: 16 kB / 386.2 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.5903, allocations: 192 kB / 386.4 MB, free: 13.67 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.119e-05/0.5904, allocations: 11.95 kB / 386.4 MB, free: 13.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.768e-05/0.5904, allocations: 11.12 kB / 386.4 MB, free: 13.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006323/0.5911, allocations: 179.2 kB / 386.6 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.5911, allocations: 1.094 kB / 386.6 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.5911, allocations: 4.219 kB / 386.6 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.5912, allocations: 5.875 kB / 386.6 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008061/0.592, allocations: 208.7 kB / 386.8 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.5934, allocations: 0.5518 MB / 387.4 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006526/0.5941, allocations: 184.3 kB / 387.5 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.689e-05/0.5941, allocations: 7.531 kB / 387.5 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.5942, allocations: 37.67 kB / 387.6 MB, free: 13.26 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 3.005e-06/0.5942, allocations: 0 / 387.6 MB, free: 13.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.001285/0.5955, allocations: 374.1 kB / 387.9 MB, free: 13.12 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.5955, allocations: 54.95 kB / 388 MB, free: 13.05 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.5958, allocations: 183.3 kB / 388.2 MB, free: 12.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.5958, allocations: 29.64 kB / 388.2 MB, free: 12.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.288e-05/0.5959, allocations: 172.9 kB / 388.4 MB, free: 12.76 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.422e-05/0.596, allocations: 48.05 kB / 388.4 MB, free: 12.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.028e-05/0.596, allocations: 4.562 kB / 388.4 MB, free: 12.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.139e-05/0.5961, allocations: 322.5 kB / 388.7 MB, free: 12.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003498/0.5964, allocations: 73.62 kB / 388.8 MB, free: 12.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004113/0.5968, allocations: 110 kB / 388.9 MB, free: 12.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003978/0.5973, allocations: 94.22 kB / 389 MB, free: 12.37 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.5973, allocations: 1.344 kB / 389 MB, free: 12.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008807/0.5982, allocations: 229.6 kB / 389.2 MB, free: 12.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.5982, allocations: 5.375 kB / 389.2 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.5982, allocations: 4.094 kB / 389.3 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.5983, allocations: 2.656 kB / 389.3 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004413/0.5987, allocations: 41.77 kB / 389.3 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.5987, allocations: 2.156 kB / 389.3 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/0.599, allocations: 24.28 kB / 389.3 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/0.5991, allocations: 7.969 kB / 389.3 MB, free: 12.31 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001655/0.5993, allocations: 136.5 kB / 389.5 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.895e-05/0.5993, allocations: 14.41 kB / 389.5 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.6004, allocations: 277.5 kB / 389.7 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.198e-06/0.6004, allocations: 2.5 kB / 389.7 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.6004, allocations: 5.25 kB / 389.8 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.6004, allocations: 3.938 kB / 389.8 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004358/0.6009, allocations: 287.5 kB / 390 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.6009, allocations: 0 / 390 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004463/0.6013, allocations: 44.3 kB / 390.1 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.6014, allocations: 5.391 kB / 390.1 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.6014, allocations: 4.719 kB / 390.1 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.6014, allocations: 1.438 kB / 390.1 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.6014, allocations: 2.766 kB / 390.1 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009296/0.6024, allocations: 344.5 kB / 390.4 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.756e-05/0.6024, allocations: 94.05 kB / 390.5 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.195e-05/0.6025, allocations: 5.203 kB / 390.5 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002933/0.6028, allocations: 18.44 kB / 390.5 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.765e-05/0.6029, allocations: 17.58 kB / 390.6 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.6029, allocations: 5.062 kB / 390.6 MB, free: 11.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000152/0.6031, allocations: 141.3 kB / 390.7 MB, free: 11.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.523e-06/0.6031, allocations: 0 / 390.7 MB, free: 11.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004/0.6035, allocations: 38.27 kB / 390.7 MB, free: 11.58 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001861/0.6037, allocations: 116.9 kB / 390.9 MB, free: 11.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008448/0.6046, allocations: 196.4 kB / 391.1 MB, free: 11.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.6046, allocations: 0 / 391.1 MB, free: 11.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004149/0.605, allocations: 123.1 kB / 391.2 MB, free: 11.46 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.6054, allocations: 20.84 kB / 391.2 MB, free: 11.45 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009039/0.6063, allocations: 403.2 kB / 391.6 MB, free: 11.21 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.6066, allocations: 0.73 MB / 392.3 MB, free: 10.52 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.6067, allocations: 27.7 kB / 392.3 MB, free: 10.51 MB / 314.7 MB Notification: Performance of SimCode: time 9.62e-07/0.6067, allocations: 0 / 392.3 MB, free: 10.51 MB / 314.7 MB Notification: Performance of Templates: time 0.005525/0.6123, allocations: 2.136 MB / 394.5 MB, free: 10.36 MB / 314.7 MB