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 2.004/2.004, allocations: 194.8 MB / 211.1 MB, free: 7.602 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005104/0.0005103, allocations: 12 kB / 264.1 MB, free: 2.52 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3506, allocations: 44.49 MB / 308.5 MB, free: 12.69 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1319/0.4825, allocations: 72.75 MB / 381.3 MB, free: 3.828 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/0.4828, allocations: 63.97 kB / 381.4 MB, free: 3.766 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01833/0.5012, allocations: 3.762 MB / 385.1 MB, free: 16 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5012, allocations: 0 / 385.1 MB, free: 16 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.5012, allocations: 4 kB / 385.1 MB, free: 15.99 MB / 330.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.003426/0.5047, allocations: 0.651 MB / 385.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.039e-05/0.5048, allocations: 16.02 kB / 385.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.543e-05/0.5049, allocations: 42.56 kB / 385.8 MB, free: 15.22 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.329e-05/0.5049, allocations: 15.81 kB / 385.9 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.5052, allocations: 194.7 kB / 386 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.5052, allocations: 12.23 kB / 386.1 MB, free: 14.96 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.448e-05/0.5053, allocations: 4 kB / 386.1 MB, free: 14.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000642/0.5059, allocations: 186.9 kB / 386.2 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.506, allocations: 4 kB / 386.2 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.506, allocations: 7.938 kB / 386.3 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.506, allocations: 4 kB / 386.3 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008229/0.5069, allocations: 212.2 kB / 386.5 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.5084, allocations: 0.5499 MB / 387 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000689/0.5091, allocations: 182.5 kB / 387.2 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.411e-05/0.5091, allocations: 8 kB / 387.2 MB, free: 13.76 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.5092, allocations: 34.56 kB / 387.2 MB, free: 13.71 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 3.055e-06/0.5092, allocations: 0 / 387.2 MB, free: 13.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.001335/0.5105, allocations: 381.4 kB / 387.6 MB, free: 13.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.5106, allocations: 51.41 kB / 387.7 MB, free: 13.26 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.5109, allocations: 166.5 kB / 387.8 MB, free: 13.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.5109, allocations: 29.7 kB / 387.9 MB, free: 13.05 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.447e-05/0.511, allocations: 111.6 kB / 388 MB, free: 12.94 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.268e-05/0.5111, allocations: 47.27 kB / 388 MB, free: 12.89 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.082e-05/0.5111, allocations: 4 kB / 388 MB, free: 12.89 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.5113, allocations: 326.8 kB / 388.3 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003593/0.5116, allocations: 79.94 kB / 388.4 MB, free: 12.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003698/0.512, allocations: 103.4 kB / 388.5 MB, free: 12.37 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003843/0.5124, allocations: 95.91 kB / 388.6 MB, free: 12.28 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.5124, allocations: 0 / 388.6 MB, free: 12.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009326/0.5134, allocations: 241.4 kB / 388.8 MB, free: 12.04 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.5134, allocations: 9.719 kB / 388.8 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.5134, allocations: 0 / 388.8 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.5135, allocations: 0 / 388.8 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004238/0.5139, allocations: 35.97 kB / 388.9 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.5139, allocations: 7.984 kB / 388.9 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002752/0.5142, allocations: 27.88 kB / 388.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.027e-05/0.5143, allocations: 11.92 kB / 388.9 MB, free: 11.95 MB / 330.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.0001879/0.5145, allocations: 137.8 kB / 389.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.974e-05/0.5145, allocations: 15.75 kB / 389.1 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.5156, allocations: 274.9 kB / 389.3 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.889e-05/0.5157, allocations: 8 kB / 389.4 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.5157, allocations: 0 / 389.4 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.5157, allocations: 7.969 kB / 389.4 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004759/0.5162, allocations: 277.4 kB / 389.6 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.5162, allocations: 0 / 389.6 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004341/0.5166, allocations: 47.95 kB / 389.7 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/0.5167, allocations: 11.95 kB / 389.7 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.5167, allocations: 0 / 389.7 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.5167, allocations: 4 kB / 389.7 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5167, allocations: 0 / 389.7 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009773/0.5177, allocations: 345 kB / 390 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.46e-05/0.5178, allocations: 96.84 kB / 390.1 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.606e-05/0.5179, allocations: 8 kB / 390.1 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000292/0.5182, allocations: 19.94 kB / 390.2 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/0.5183, allocations: 7.984 kB / 390.2 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.829e-05/0.5183, allocations: 7.984 kB / 390.2 MB, free: 10.61 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001834/0.5185, allocations: 140.6 kB / 390.3 MB, free: 10.47 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5185, allocations: 4 kB / 390.3 MB, free: 10.47 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003996/0.5189, allocations: 36 kB / 390.3 MB, free: 10.43 MB / 330.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.001333/0.5203, allocations: 0.8892 MB / 391.2 MB, free: 9.516 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008583/0.5211, allocations: 199.9 kB / 391.4 MB, free: 9.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.5212, allocations: 0 / 391.4 MB, free: 9.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004181/0.5216, allocations: 113.1 kB / 391.5 MB, free: 9.211 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.522, allocations: 15.98 kB / 391.6 MB, free: 9.195 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003187/0.5252, allocations: 1.536 MB / 393.1 MB, free: 7.594 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.5256, allocations: 0.7283 MB / 393.8 MB, free: 6.84 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002444/0.5258, allocations: 33.41 kB / 393.9 MB, free: 6.809 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.526, allocations: 51.41 kB / 393.9 MB, free: 6.758 MB / 330.7 MB Notification: Performance of SimCode: time 1.523e-06/0.526, allocations: 4 kB / 393.9 MB, free: 6.754 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.5511, allocations: 3.505 MB / 397.4 MB, free: 3.277 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002526/0.5514, allocations: 176.8 kB / 397.6 MB, free: 3.043 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.668/3.22, allocations: 3.938 kB / 397.6 MB, free: 3.039 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat does not exist to compare? outputFormat=mat