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: 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_Modelica.ComplexBlocks.Examples.ShowTransferFunction") Notification: Performance of loadModel(Modelica): time 2.457/2.457, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003596, allocations: 8 kB / 264.5 MB, free: 12.97 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1217, allocations: 44.52 MB / 309 MB, free: 396 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5137/0.6355, allocations: 72.74 MB / 381.8 MB, free: 15.38 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/0.6358, allocations: 72.53 kB / 381.8 MB, free: 15.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01681/0.6526, allocations: 3.757 MB / 385.6 MB, free: 14.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.6527, allocations: 0 / 385.6 MB, free: 14.89 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.6527, allocations: 2.375 kB / 385.6 MB, free: 14.89 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.003348/0.6561, allocations: 0.6543 MB / 386.3 MB, free: 14.47 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.6561, allocations: 9.031 kB / 386.3 MB, free: 14.47 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.028e-05/0.6562, allocations: 23.69 kB / 386.3 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.6564, allocations: 192.1 kB / 386.5 MB, free: 14.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.6565, allocations: 7.641 kB / 386.5 MB, free: 14.24 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.458e-05/0.6565, allocations: 10.97 kB / 386.5 MB, free: 14.24 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006153/0.6571, allocations: 181.3 kB / 386.7 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.6572, allocations: 1.125 kB / 386.7 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.6572, allocations: 3.938 kB / 386.7 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.6572, allocations: 6.656 kB / 386.7 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008112/0.6581, allocations: 213.4 kB / 386.9 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.6596, allocations: 0.5521 MB / 387.4 MB, free: 13.9 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006741/0.6603, allocations: 184.2 kB / 387.6 MB, free: 13.87 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.832e-05/0.6604, allocations: 1.344 kB / 387.6 MB, free: 13.87 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.6605, allocations: 41.42 kB / 387.7 MB, free: 13.83 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 3.567e-06/0.6605, allocations: 1.281 kB / 387.7 MB, free: 13.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.001339/0.6618, allocations: 381.3 kB / 388 MB, free: 13.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.6619, allocations: 52.72 kB / 388.1 MB, free: 13.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.6622, allocations: 174.9 kB / 388.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.6622, allocations: 32.17 kB / 388.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.496e-05/0.6623, allocations: 108.4 kB / 388.4 MB, free: 13.4 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.179e-05/0.6624, allocations: 55.58 kB / 388.5 MB, free: 13.37 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.846e-05/0.6624, allocations: 3.562 kB / 388.5 MB, free: 13.37 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.409e-05/0.6625, allocations: 323 kB / 388.8 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003647/0.6629, allocations: 83.08 kB / 388.9 MB, free: 13.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/0.6633, allocations: 100.4 kB / 389 MB, free: 13.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003928/0.6637, allocations: 96.61 kB / 389 MB, free: 13.01 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.6637, allocations: 1.281 kB / 389 MB, free: 13.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009149/0.6647, allocations: 242.3 kB / 389.3 MB, free: 12.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.6647, allocations: 7.375 kB / 389.3 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.6647, allocations: 1.375 kB / 389.3 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/0.6648, allocations: 2.719 kB / 389.3 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004262/0.6652, allocations: 38.05 kB / 389.3 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.6652, allocations: 0 / 389.3 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002765/0.6655, allocations: 26.14 kB / 389.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.6656, allocations: 9.375 kB / 389.4 MB, free: 12.95 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.000164/0.6657, allocations: 140.6 kB / 389.5 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.624e-05/0.6658, allocations: 7.625 kB / 389.5 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009721/0.6668, allocations: 280.3 kB / 389.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.6668, allocations: 7.906 kB / 389.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.6668, allocations: 0.875 kB / 389.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.6668, allocations: 9.375 kB / 389.8 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004191/0.6673, allocations: 275.1 kB / 390.1 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.6673, allocations: 0 / 390.1 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004211/0.6677, allocations: 43.22 kB / 390.1 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/0.6677, allocations: 3.953 kB / 390.1 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.6678, allocations: 18.55 kB / 390.1 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.6678, allocations: 0 / 390.1 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6678, allocations: 0 / 390.1 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008779/0.6687, allocations: 345.7 kB / 390.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.494e-05/0.6688, allocations: 97.48 kB / 390.6 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.988e-05/0.6688, allocations: 9.172 kB / 390.6 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002866/0.6691, allocations: 17.97 kB / 390.6 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.477e-05/0.6692, allocations: 13.61 kB / 390.6 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.6693, allocations: 5.109 kB / 390.6 MB, free: 12.29 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001624/0.6694, allocations: 138.9 kB / 390.7 MB, free: 12.21 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6695, allocations: 3.969 kB / 390.8 MB, free: 12.21 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004241/0.6699, allocations: 30.38 kB / 390.8 MB, free: 12.21 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.0001863/0.6701, allocations: 121.1 kB / 390.9 MB, free: 12.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007865/0.6709, allocations: 195.5 kB / 391.1 MB, free: 12.11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6709, allocations: 0 / 391.1 MB, free: 12.11 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000402/0.6713, allocations: 114.6 kB / 391.2 MB, free: 12.1 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.6717, allocations: 21.27 kB / 391.2 MB, free: 12.1 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009001/0.6726, allocations: 370.4 kB / 391.6 MB, free: 11.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.6728, allocations: 0.7345 MB / 392.3 MB, free: 11.19 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000238/0.6731, allocations: 31.7 kB / 392.4 MB, free: 11.19 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.6732, allocations: 23.28 kB / 392.4 MB, free: 11.18 MB / 314.7 MB Notification: Performance of SimCode: time 1.143e-06/0.6732, allocations: 0 / 392.4 MB, free: 11.18 MB / 314.7 MB Notification: Performance of Templates: time 0.006752/0.68, allocations: 1.824 MB / 394.2 MB, free: 11.04 MB / 314.7 MB