Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 1.735/1.735, allocations: 194.9 MB / 211.7 MB, free: 2.973 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.00035, allocations: 8 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07748/0.07785, allocations: 44.5 MB / 308.4 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3319/0.4098, allocations: 72.74 MB / 381.2 MB, free: 18.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001893/0.4101, allocations: 71.98 kB / 381.2 MB, free: 18.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01418/0.4243, allocations: 3.752 MB / 385 MB, free: 18.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.738e-06/0.4243, allocations: 0 / 385 MB, free: 18.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.4243, allocations: 2.5 kB / 385 MB, free: 18.3 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.002281/0.4266, allocations: 0.6571 MB / 385.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.4267, allocations: 8.5 kB / 385.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.713e-05/0.4267, allocations: 15.28 kB / 385.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.4269, allocations: 193.2 kB / 385.9 MB, free: 17.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.4269, allocations: 8.422 kB / 385.9 MB, free: 17.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.609e-05/0.427, allocations: 11.16 kB / 385.9 MB, free: 17.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004577/0.4274, allocations: 183.7 kB / 386.1 MB, free: 17.62 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.4275, allocations: 0 / 386.1 MB, free: 17.62 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.4275, allocations: 5.125 kB / 386.1 MB, free: 17.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.572e-06/0.4275, allocations: 9.203 kB / 386.1 MB, free: 17.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005979/0.4281, allocations: 214.3 kB / 386.3 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.4291, allocations: 0.5445 MB / 386.8 MB, free: 17.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004963/0.4297, allocations: 188.2 kB / 387 MB, free: 17.29 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.4297, allocations: 3.406 kB / 387 MB, free: 17.29 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.355e-05/0.4297, allocations: 31.31 kB / 387.1 MB, free: 17.25 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 2.332e-06/0.4297, allocations: 0 / 387.1 MB, free: 17.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009314/0.4307, allocations: 379.9 kB / 387.4 MB, free: 17.11 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.989e-05/0.4307, allocations: 54.72 kB / 387.5 MB, free: 17.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.4309, allocations: 165 kB / 387.6 MB, free: 16.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.4309, allocations: 25.7 kB / 387.7 MB, free: 16.92 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.839e-05/0.431, allocations: 179.1 kB / 387.8 MB, free: 16.76 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.286e-05/0.4311, allocations: 50.03 kB / 387.9 MB, free: 16.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.453e-05/0.4311, allocations: 1.75 kB / 387.9 MB, free: 16.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.075e-05/0.4311, allocations: 318.2 kB / 388.2 MB, free: 16.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/0.4314, allocations: 77.56 kB / 388.3 MB, free: 16.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.4317, allocations: 105.3 kB / 388.4 MB, free: 16.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/0.432, allocations: 86.23 kB / 388.5 MB, free: 16.38 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.656e-06/0.432, allocations: 10.77 kB / 388.5 MB, free: 16.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006659/0.4327, allocations: 230.8 kB / 388.7 MB, free: 16.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.4327, allocations: 5.688 kB / 388.7 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.852e-06/0.4327, allocations: 1.656 kB / 388.7 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.4327, allocations: 5.75 kB / 388.7 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.433, allocations: 44.64 kB / 388.8 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.4331, allocations: 1.562 kB / 388.8 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.4333, allocations: 20.08 kB / 388.8 MB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.4333, allocations: 11.98 kB / 388.8 MB, free: 16.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.0001091/0.4334, allocations: 128.8 kB / 388.9 MB, free: 16.19 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.796e-05/0.4335, allocations: 14.77 kB / 388.9 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007349/0.4342, allocations: 284.3 kB / 389.2 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.4343, allocations: 3.125 kB / 389.2 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4343, allocations: 3.984 kB / 389.2 MB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.299e-06/0.4343, allocations: 4 kB / 389.2 MB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003302/0.4346, allocations: 293.3 kB / 389.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.259e-06/0.4347, allocations: 1.688 kB / 389.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/0.435, allocations: 41.45 kB / 389.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.653e-06/0.435, allocations: 1.562 kB / 389.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.435, allocations: 8.438 kB / 389.6 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.254e-06/0.435, allocations: 1.594 kB / 389.6 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.536e-06/0.435, allocations: 0 / 389.6 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006599/0.4357, allocations: 344.4 kB / 389.9 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/0.4358, allocations: 100.5 kB / 390 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.736e-05/0.4358, allocations: 1.469 kB / 390 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.436, allocations: 18.73 kB / 390 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.963e-05/0.4361, allocations: 16.03 kB / 390 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.4362, allocations: 9.406 kB / 390 MB, free: 15.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001196/0.4363, allocations: 137.2 kB / 390.2 MB, free: 15.58 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.18e-07/0.4363, allocations: 0 / 390.2 MB, free: 15.58 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003844/0.4367, allocations: 38.33 kB / 390.2 MB, free: 15.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.0001374/0.4368, allocations: 115 kB / 390.3 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005968/0.4375, allocations: 197.6 kB / 390.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.967e-06/0.4375, allocations: 0 / 390.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002975/0.4378, allocations: 113.7 kB / 390.6 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.4381, allocations: 22.41 kB / 390.6 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006923/0.4388, allocations: 404.5 kB / 391 MB, free: 15.22 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001801/0.439, allocations: 0.7273 MB / 391.8 MB, free: 14.53 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.4391, allocations: 32.33 kB / 391.8 MB, free: 14.52 MB / 314.7 MB Notification: Performance of SimCode: time 1.367e-06/0.4391, allocations: 0 / 391.8 MB, free: 14.52 MB / 314.7 MB Notification: Performance of Templates: time 0.004208/0.4433, allocations: 2.131 MB / 393.9 MB, free: 14.37 MB / 314.7 MB