Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_3_2_2_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.889/1.889, allocations: 194.9 MB / 211.1 MB, free: 8.43 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003442, allocations: 8 kB / 264 MB, free: 3.371 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2828, allocations: 44.51 MB / 308.5 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002144/0.285, allocations: 1.269 MB / 309.8 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.2864, allocations: 0.6322 MB / 310.4 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.566e-05/0.2865, allocations: 4 kB / 310.5 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002181/0.2867, allocations: 31.8 kB / 310.5 MB, free: 10.81 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001673/0.2869, allocations: 31.89 kB / 310.5 MB, free: 10.78 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.2884, allocations: 0.4906 MB / 311 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.2886, allocations: 63.86 kB / 311.1 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.2887, allocations: 25.11 kB / 311.1 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001659/0.2889, allocations: 51.77 kB / 311.1 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.2891, allocations: 71.73 kB / 311.2 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.2891, allocations: 4 kB / 311.2 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002877/0.2894, allocations: 123.8 kB / 311.3 MB, free: 9.949 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.385e-05/0.2895, allocations: 31.89 kB / 311.4 MB, free: 9.918 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.23e-05/0.2896, allocations: 45.58 kB / 311.4 MB, free: 9.867 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.2899, allocations: 135.8 kB / 311.5 MB, free: 9.734 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.2899, allocations: 0 / 311.5 MB, free: 9.734 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2899, allocations: 4 kB / 311.5 MB, free: 9.73 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.2899, allocations: 0 / 311.5 MB, free: 9.73 MB / 250.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.002093/0.292, allocations: 0.5427 MB / 312.1 MB, free: 9.141 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.2921, allocations: 8.031 kB / 312.1 MB, free: 9.133 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.56e-05/0.2922, allocations: 46.56 kB / 312.1 MB, free: 9.078 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002171/0.2943, allocations: 171.5 kB / 312.3 MB, free: 8.91 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.2946, allocations: 202.8 kB / 312.5 MB, free: 8.672 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.2946, allocations: 4 kB / 312.5 MB, free: 8.668 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.787e-05/0.2947, allocations: 12 kB / 312.5 MB, free: 8.656 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006359/0.2953, allocations: 185.4 kB / 312.7 MB, free: 8.469 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.2954, allocations: 0 / 312.7 MB, free: 8.469 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.2954, allocations: 0 / 312.7 MB, free: 8.469 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.529e-05/0.2954, allocations: 12 kB / 312.7 MB, free: 8.457 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007559/0.2962, allocations: 183.8 kB / 312.9 MB, free: 8.277 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.2976, allocations: 0.547 MB / 313.4 MB, free: 7.68 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006585/0.2983, allocations: 182.4 kB / 313.6 MB, free: 7.492 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.961e-05/0.2984, allocations: 3.984 kB / 313.6 MB, free: 7.488 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.2984, allocations: 34.56 kB / 313.7 MB, free: 7.445 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 2.034e-06/0.2984, allocations: 4 kB / 313.7 MB, free: 7.441 MB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.001303/0.2997, allocations: 366.5 kB / 314 MB, free: 7.059 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.2998, allocations: 55.41 kB / 314.1 MB, free: 6.992 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/0.3001, allocations: 187.3 kB / 314.3 MB, free: 6.797 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.3001, allocations: 29.7 kB / 314.3 MB, free: 6.762 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.725e-05/0.3002, allocations: 108.1 kB / 314.4 MB, free: 6.652 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.046e-05/0.3003, allocations: 55.2 kB / 314.4 MB, free: 6.598 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.728e-05/0.3003, allocations: 0 / 314.4 MB, free: 6.598 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.3005, allocations: 330.8 kB / 314.8 MB, free: 6.266 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003651/0.3009, allocations: 79.89 kB / 314.9 MB, free: 6.188 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003768/0.3013, allocations: 103.4 kB / 315 MB, free: 6.074 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003935/0.3017, allocations: 96.08 kB / 315 MB, free: 5.98 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.3017, allocations: 3.984 kB / 315 MB, free: 5.977 MB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000888/0.3026, allocations: 233.5 kB / 315.3 MB, free: 5.742 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.3026, allocations: 12.09 kB / 315.3 MB, free: 5.73 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.3027, allocations: 0 / 315.3 MB, free: 5.73 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.3027, allocations: 0 / 315.3 MB, free: 5.73 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004286/0.3031, allocations: 43.91 kB / 315.3 MB, free: 5.688 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.3031, allocations: 4 kB / 315.3 MB, free: 5.684 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002786/0.3034, allocations: 19.83 kB / 315.4 MB, free: 5.664 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/0.3035, allocations: 4 kB / 315.4 MB, free: 5.66 MB / 250.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.0001764/0.3037, allocations: 145.7 kB / 315.5 MB, free: 5.508 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.865e-05/0.3037, allocations: 7.906 kB / 315.5 MB, free: 5.5 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.3048, allocations: 274.9 kB / 315.8 MB, free: 5.227 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.3048, allocations: 11.94 kB / 315.8 MB, free: 5.215 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3048, allocations: 0 / 315.8 MB, free: 5.215 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.3048, allocations: 3.938 kB / 315.8 MB, free: 5.211 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004574/0.3053, allocations: 289.3 kB / 316.1 MB, free: 4.879 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3053, allocations: 0 / 316.1 MB, free: 4.879 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004225/0.3058, allocations: 39.91 kB / 316.1 MB, free: 4.84 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/0.3058, allocations: 4 kB / 316.1 MB, free: 4.836 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.3058, allocations: 3.984 kB / 316.1 MB, free: 4.832 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.3058, allocations: 0 / 316.1 MB, free: 4.832 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3058, allocations: 0 / 316.1 MB, free: 4.832 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009322/0.3068, allocations: 345.4 kB / 316.5 MB, free: 4.48 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-05/0.3069, allocations: 92.92 kB / 316.6 MB, free: 4.371 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.006e-05/0.3069, allocations: 11.95 kB / 316.6 MB, free: 4.359 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002845/0.3072, allocations: 15.98 kB / 316.6 MB, free: 4.344 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.959e-05/0.3073, allocations: 19.95 kB / 316.6 MB, free: 4.324 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/0.3074, allocations: 8 kB / 316.6 MB, free: 4.316 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001687/0.3075, allocations: 139.9 kB / 316.7 MB, free: 4.18 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3075, allocations: 0 / 316.7 MB, free: 4.18 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004043/0.308, allocations: 28 kB / 316.8 MB, free: 4.152 MB / 250.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.001293/0.3093, allocations: 0.8816 MB / 317.7 MB, free: 3.246 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0008331/0.3101, allocations: 199.8 kB / 317.8 MB, free: 3.051 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3101, allocations: 3.938 kB / 317.8 MB, free: 3.047 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004148/0.3106, allocations: 108.1 kB / 318 MB, free: 2.941 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.3109, allocations: 21.02 kB / 318 MB, free: 2.922 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002874/0.3138, allocations: 1.08 MB / 319.1 MB, free: 1.785 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.3142, allocations: 0.7361 MB / 319.8 MB, free: 1.023 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0002258/0.3144, allocations: 33.41 kB / 319.8 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.3146, allocations: 51.41 kB / 319.9 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of SimCode: time 1.282e-06/0.3146, allocations: 0 / 319.9 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02357/0.3382, allocations: 3.53 MB / 323.4 MB, free: 13.44 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003617/0.3386, allocations: 182.7 kB / 323.6 MB, free: 13.2 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.352/2.691, allocations: 0 / 323.6 MB, free: 13.2 MB / 266.7 MB