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 1.929/1.929, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003472, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09164/0.09201, allocations: 44.51 MB / 309.1 MB, free: 384 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002178/0.09424, allocations: 1.256 MB / 310.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.09575, allocations: 0.6361 MB / 310.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.117e-05/0.09583, allocations: 4 kB / 311 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002312/0.09608, allocations: 31.8 kB / 311 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001712/0.09626, allocations: 27.95 kB / 311 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.09778, allocations: 0.4984 MB / 311.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.09796, allocations: 63.86 kB / 311.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.09811, allocations: 33.03 kB / 311.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.09828, allocations: 51.81 kB / 311.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.09848, allocations: 67.69 kB / 311.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.901e-05/0.09852, allocations: 8 kB / 311.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002886/0.09882, allocations: 119.8 kB / 311.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.356e-05/0.0989, allocations: 27.91 kB / 311.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.083e-05/0.09896, allocations: 45.64 kB / 311.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.09926, allocations: 139.7 kB / 312.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.09928, allocations: 0 / 312.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.09929, allocations: 0 / 312.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.0993, allocations: 0 / 312.1 MB, free: 13.35 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.002115/0.1014, allocations: 0.5419 MB / 312.6 MB, free: 12.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.1015, allocations: 8.031 kB / 312.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002192/0.1037, allocations: 171.6 kB / 312.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.1039, allocations: 194.8 kB / 313 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/0.104, allocations: 4 kB / 313 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/0.104, allocations: 12 kB / 313 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006251/0.1046, allocations: 189.3 kB / 313.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1047, allocations: 0 / 313.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/0.1047, allocations: 4 kB / 313.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.395e-05/0.1048, allocations: 12 kB / 313.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007373/0.1055, allocations: 171.9 kB / 313.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.107, allocations: 0.5508 MB / 313.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006442/0.1076, allocations: 178.5 kB / 314.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.674e-05/0.1077, allocations: 7.984 kB / 314.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.1077, allocations: 34.69 kB / 314.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 2.695e-06/0.1077, allocations: 0 / 314.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.001293/0.109, allocations: 386.3 kB / 314.5 MB, free: 10.72 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.1091, allocations: 55.39 kB / 314.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.1094, allocations: 179.3 kB / 314.7 MB, free: 10.47 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.1094, allocations: 29.7 kB / 314.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.33e-05/0.1095, allocations: 108.1 kB / 314.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.902e-05/0.1096, allocations: 55.2 kB / 314.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.692e-05/0.1096, allocations: 0 / 314.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1098, allocations: 330.8 kB / 315.2 MB, free: 9.938 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003409/0.1101, allocations: 75.95 kB / 315.3 MB, free: 9.863 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003718/0.1105, allocations: 107.4 kB / 315.4 MB, free: 9.746 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003868/0.1109, allocations: 95.89 kB / 315.5 MB, free: 9.652 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1109, allocations: 0 / 315.5 MB, free: 9.652 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008769/0.1118, allocations: 237.4 kB / 315.7 MB, free: 9.414 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.1119, allocations: 8 kB / 315.7 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-06/0.1119, allocations: 0 / 315.7 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.1119, allocations: 4 kB / 315.7 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/0.1124, allocations: 43.91 kB / 315.8 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.1124, allocations: 4 kB / 315.8 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/0.1126, allocations: 19.83 kB / 315.8 MB, free: 9.336 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/0.1127, allocations: 12.05 kB / 315.8 MB, free: 9.324 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.000166/0.1129, allocations: 137.8 kB / 316 MB, free: 9.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.439e-05/0.1129, allocations: 7.906 kB / 316 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.114, allocations: 283.4 kB / 316.2 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-06/0.114, allocations: 0 / 316.2 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.114, allocations: 4 kB / 316.2 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.011e-05/0.1141, allocations: 100.8 kB / 316.3 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.818e-05/0.1142, allocations: 4 kB / 316.3 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002812/0.1145, allocations: 8 kB / 316.4 MB, free: 8.758 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.496e-05/0.1146, allocations: 19.97 kB / 316.4 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001084/0.1156, allocations: 335.3 kB / 316.7 MB, free: 8.406 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009455/0.1166, allocations: 426.4 kB / 317.1 MB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003855/0.117, allocations: 103 kB / 317.2 MB, free: 7.875 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001684/0.1172, allocations: 135.9 kB / 317.4 MB, free: 7.742 MB / 266.7 MB Notification: Performance of Backend: time 8.21e-07/0.1172, allocations: 4 kB / 317.4 MB, free: 7.738 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008946/0.1181, allocations: 226.3 kB / 317.6 MB, free: 7.512 MB / 266.7 MB Notification: Performance of SimCode: time 0.00096/0.1191, allocations: 0.7517 MB / 318.3 MB, free: 6.719 MB / 266.7 MB Notification: Performance of Templates: time 0.009221/0.1283, allocations: 2.886 MB / 321.2 MB, free: 3.836 MB / 266.7 MB "" Variables in the reference:time,logFrequencySweep.y,const.y.re,const.y.im,transferFunction.y.re,transferFunction.y.im Variables in the result:a[1],a[2],a[3],b[1],complexToPolar.useConjugateInput,const.k.im,const.k.re,const.y.im,const.y.re,d,logFrequencySweep.duration,logFrequencySweep.startTime,logFrequencySweep.wMax,logFrequencySweep.wMin,logFrequencySweep.y,time,transferFunction.a[1],transferFunction.a[2],transferFunction.a[3],transferFunction.aw[1].re,transferFunction.bSum.re,transferFunction.b[1],transferFunction.bw[1].re,transferFunction.u.im,transferFunction.u.re,transferFunction.useConjugateInput,transferFunction.y.im,transferFunction.y.re,wMax,wMin