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.889/1.889, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.000358, allocations: 12 kB / 263.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08564/0.08603, allocations: 44.51 MB / 308.3 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.00191/0.08798, allocations: 1.256 MB / 309.6 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.08929, allocations: 0.6478 MB / 310.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.693e-05/0.08937, allocations: 0 / 310.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.08958, allocations: 31.86 kB / 310.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001465/0.08974, allocations: 19.91 kB / 310.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.09111, allocations: 0.5023 MB / 310.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.09129, allocations: 63.81 kB / 310.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.09142, allocations: 29.08 kB / 310.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.09158, allocations: 47.83 kB / 310.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.09178, allocations: 75.73 kB / 311 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.09182, allocations: 4 kB / 311 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002697/0.0921, allocations: 127.8 kB / 311.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.316e-05/0.09218, allocations: 27.91 kB / 311.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.859e-05/0.09224, allocations: 37.64 kB / 311.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.09253, allocations: 143.7 kB / 311.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.699e-06/0.09254, allocations: 0 / 311.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.998e-06/0.09256, allocations: 0 / 311.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.246e-06/0.09257, allocations: 0 / 311.3 MB, free: 14.01 MB / 266.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.001775/0.09435, allocations: 0.5381 MB / 311.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.09441, allocations: 8.031 kB / 311.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/0.09618, allocations: 179.6 kB / 312.1 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.09646, allocations: 194.8 kB / 312.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/0.09652, allocations: 8 kB / 312.3 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.074e-05/0.09658, allocations: 4 kB / 312.3 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005678/0.09717, allocations: 189.4 kB / 312.5 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.0972, allocations: 0 / 312.5 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.09724, allocations: 7.938 kB / 312.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.753e-05/0.09729, allocations: 4 kB / 312.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005855/0.09789, allocations: 187.8 kB / 312.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.0992, allocations: 0.5508 MB / 313.2 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005498/0.09978, allocations: 182.5 kB / 313.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.591e-05/0.09984, allocations: 3.984 kB / 313.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.09989, allocations: 38.56 kB / 313.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 3.755e-06/0.0999, allocations: 0 / 313.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.001079/0.101, allocations: 370.4 kB / 313.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.1011, allocations: 55.41 kB / 313.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.1013, allocations: 179.3 kB / 314 MB, free: 11.13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.1014, allocations: 29.7 kB / 314 MB, free: 11.1 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.1015, allocations: 174.5 kB / 314.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.044e-05/0.1016, allocations: 51.25 kB / 314.3 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.67e-05/0.1016, allocations: 4 kB / 314.3 MB, free: 10.87 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.1018, allocations: 322.8 kB / 314.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.1021, allocations: 75.94 kB / 314.7 MB, free: 10.47 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002984/0.1024, allocations: 111.3 kB / 314.8 MB, free: 10.35 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.1027, allocations: 88.08 kB / 314.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.979e-06/0.1027, allocations: 4 kB / 314.9 MB, free: 10.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007106/0.1035, allocations: 233.5 kB / 315.1 MB, free: 10.03 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.1035, allocations: 8 kB / 315.1 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.717e-06/0.1035, allocations: 0 / 315.1 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.1035, allocations: 0 / 315.1 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.1039, allocations: 40.06 kB / 315.1 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.1039, allocations: 7.938 kB / 315.1 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.1041, allocations: 19.89 kB / 315.2 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.1041, allocations: 7.984 kB / 315.2 MB, free: 9.945 MB / 266.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.000169/0.1043, allocations: 137.7 kB / 315.3 MB, free: 9.801 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.214e-05/0.1044, allocations: 15.88 kB / 315.3 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008178/0.1052, allocations: 282 kB / 315.6 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.1052, allocations: 4 kB / 315.6 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.977e-06/0.1053, allocations: 0 / 315.6 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.683e-06/0.1053, allocations: 3.938 kB / 315.6 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004425/0.1057, allocations: 285.3 kB / 315.9 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.1058, allocations: 7.953 kB / 315.9 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002961/0.1061, allocations: 39.97 kB / 315.9 MB, free: 9.125 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.981e-06/0.1061, allocations: 4 kB / 315.9 MB, free: 9.121 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.1061, allocations: 3.984 kB / 315.9 MB, free: 9.117 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.37e-06/0.1061, allocations: 3.938 kB / 315.9 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.78e-06/0.1061, allocations: 0 / 315.9 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007642/0.1069, allocations: 343.2 kB / 316.3 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.124e-05/0.107, allocations: 88.92 kB / 316.4 MB, free: 8.656 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.547e-05/0.1071, allocations: 15.94 kB / 316.4 MB, free: 8.641 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.1073, allocations: 8 kB / 316.4 MB, free: 8.633 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/0.1074, allocations: 19.97 kB / 316.4 MB, free: 8.613 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.1074, allocations: 8 kB / 316.4 MB, free: 8.605 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001664/0.1076, allocations: 135.9 kB / 316.5 MB, free: 8.473 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.78e-07/0.1076, allocations: 0 / 316.5 MB, free: 8.473 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004167/0.108, allocations: 35.91 kB / 316.6 MB, free: 8.438 MB / 266.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.0001725/0.1082, allocations: 103.2 kB / 316.7 MB, free: 8.328 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006686/0.1089, allocations: 195.8 kB / 316.9 MB, free: 8.137 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.199e-06/0.1089, allocations: 3.938 kB / 316.9 MB, free: 8.133 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003321/0.1093, allocations: 116 kB / 317 MB, free: 8.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.1096, allocations: 20.8 kB / 317 MB, free: 8 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008371/0.1104, allocations: 394.1 kB / 317.4 MB, free: 7.582 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004385/0.1109, allocations: 0.7321 MB / 318.1 MB, free: 6.824 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.111, allocations: 27.42 kB / 318.1 MB, free: 6.801 MB / 266.7 MB Notification: Performance of SimCode: time 1.487e-06/0.1111, allocations: 4 kB / 318.1 MB, free: 6.797 MB / 266.7 MB Notification: Performance of Templates: time 0.005075/0.1161, allocations: 2.167 MB / 320.3 MB, free: 4.633 MB / 266.7 MB