Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction") 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.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002738/0.002744, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.708/3.708, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001838/0.001838, allocations: 94.88 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006424/0.0006425, allocations: 15.98 kB / 327 MB, free: 15.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1689, allocations: 47.58 MB / 374.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003508/0.1725, allocations: 1.273 MB / 375.8 MB, free: 14.17 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002489/0.1751, allocations: 0.6402 MB / 376.4 MB, free: 13.52 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.1753, allocations: 4 kB / 376.4 MB, free: 13.52 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003452/0.1756, allocations: 31.8 kB / 376.5 MB, free: 13.48 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002886/0.1759, allocations: 27.91 kB / 376.5 MB, free: 13.46 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002539/0.1785, allocations: 0.5023 MB / 377 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000346/0.1789, allocations: 63.86 kB / 377.1 MB, free: 12.89 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.1791, allocations: 25.05 kB / 377.1 MB, free: 12.87 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002581/0.1794, allocations: 55.77 kB / 377.1 MB, free: 12.81 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002638/0.1797, allocations: 71.73 kB / 377.2 MB, free: 12.74 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.773e-05/0.1797, allocations: 4 kB / 377.2 MB, free: 12.74 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005377/0.1803, allocations: 123.8 kB / 377.3 MB, free: 12.62 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.1804, allocations: 27.91 kB / 377.4 MB, free: 12.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.443e-05/0.1805, allocations: 41.64 kB / 377.4 MB, free: 12.54 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005083/0.181, allocations: 139.7 kB / 377.5 MB, free: 12.41 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1811, allocations: 0 / 377.5 MB, free: 12.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.396e-06/0.1811, allocations: 3.938 kB / 377.6 MB, free: 12.4 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.1811, allocations: 4 kB / 377.6 MB, free: 12.4 MB / 282.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.003329/0.1845, allocations: 0.5458 MB / 378.1 MB, free: 11.8 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.26e-05/0.1846, allocations: 8.031 kB / 378.1 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003806/0.1884, allocations: 171.6 kB / 378.3 MB, free: 11.63 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.1888, allocations: 186.8 kB / 378.5 MB, free: 11.41 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.862e-05/0.1889, allocations: 12 kB / 378.5 MB, free: 11.39 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.681e-05/0.189, allocations: 8 kB / 378.5 MB, free: 11.39 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.1901, allocations: 193.5 kB / 378.7 MB, free: 11.19 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.1901, allocations: 0 / 378.7 MB, free: 11.19 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.572e-05/0.1902, allocations: 8 kB / 378.7 MB, free: 11.18 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.982e-05/0.1903, allocations: 4 kB / 378.7 MB, free: 11.18 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.1914, allocations: 179.9 kB / 378.9 MB, free: 11 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00234/0.1938, allocations: 0.5392 MB / 379.4 MB, free: 10.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.1949, allocations: 186.4 kB / 379.6 MB, free: 10.22 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.616e-05/0.195, allocations: 0 / 379.6 MB, free: 10.22 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.364e-05/0.1951, allocations: 38.5 kB / 379.6 MB, free: 10.18 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 3.286e-06/0.1951, allocations: 0 / 379.6 MB, free: 10.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.00203/0.1972, allocations: 372.8 kB / 380 MB, free: 9.789 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.1973, allocations: 51.41 kB / 380 MB, free: 9.727 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004052/0.1977, allocations: 191.2 kB / 380.2 MB, free: 9.527 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.919e-05/0.1978, allocations: 25.7 kB / 380.2 MB, free: 9.496 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.198, allocations: 174.5 kB / 380.4 MB, free: 9.324 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.1981, allocations: 59.19 kB / 380.5 MB, free: 9.266 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.506e-05/0.1982, allocations: 0 / 380.5 MB, free: 9.266 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.1984, allocations: 318.8 kB / 380.8 MB, free: 8.945 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005802/0.199, allocations: 71.95 kB / 380.9 MB, free: 8.875 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005368/0.1996, allocations: 111.3 kB / 381 MB, free: 8.754 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005656/0.2002, allocations: 92.08 kB / 381 MB, free: 8.664 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.2002, allocations: 0 / 381 MB, free: 8.664 MB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00142/0.2016, allocations: 233.4 kB / 381.3 MB, free: 8.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.739e-05/0.2017, allocations: 7.938 kB / 381.3 MB, free: 8.422 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.2017, allocations: 0 / 381.3 MB, free: 8.422 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.015e-05/0.2018, allocations: 4 kB / 381.3 MB, free: 8.418 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006893/0.2025, allocations: 51.98 kB / 381.3 MB, free: 8.367 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.2026, allocations: 0 / 381.3 MB, free: 8.367 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000413/0.203, allocations: 19.83 kB / 381.4 MB, free: 8.348 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.996e-05/0.2031, allocations: 8 kB / 381.4 MB, free: 8.34 MB / 282.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.0002842/0.2034, allocations: 129.8 kB / 381.5 MB, free: 8.203 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.2035, allocations: 23.7 kB / 381.5 MB, free: 8.18 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001642/0.2052, allocations: 282.9 kB / 381.8 MB, free: 7.898 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.902e-05/0.2052, allocations: 3.984 kB / 381.8 MB, free: 7.895 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.2053, allocations: 0 / 381.8 MB, free: 7.895 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.2053, allocations: 0 / 381.8 MB, free: 7.895 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007915/0.2061, allocations: 277.4 kB / 382.1 MB, free: 7.574 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/0.2062, allocations: 8 kB / 382.1 MB, free: 7.566 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006888/0.2069, allocations: 51.89 kB / 382.1 MB, free: 7.516 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.2069, allocations: 0 / 382.1 MB, free: 7.516 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.406e-05/0.207, allocations: 4 kB / 382.1 MB, free: 7.512 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.119e-05/0.207, allocations: 3.953 kB / 382.1 MB, free: 7.508 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.207, allocations: 0 / 382.1 MB, free: 7.508 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/0.2085, allocations: 339.2 kB / 382.5 MB, free: 7.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.2087, allocations: 104.8 kB / 382.6 MB, free: 7.039 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.409e-05/0.2088, allocations: 0 / 382.6 MB, free: 7.039 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004496/0.2093, allocations: 15.98 kB / 382.6 MB, free: 7.023 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.2094, allocations: 15.94 kB / 382.6 MB, free: 7.008 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-05/0.2095, allocations: 11.98 kB / 382.6 MB, free: 6.996 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000313/0.2098, allocations: 135.9 kB / 382.7 MB, free: 6.863 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.2098, allocations: 0 / 382.7 MB, free: 6.863 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007113/0.2106, allocations: 28 kB / 382.8 MB, free: 6.836 MB / 282.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.0002737/0.2109, allocations: 103.2 kB / 382.9 MB, free: 6.727 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.2122, allocations: 191.8 kB / 383.1 MB, free: 6.539 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.2123, allocations: 4 kB / 383.1 MB, free: 6.535 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006855/0.213, allocations: 112.1 kB / 383.2 MB, free: 6.426 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/0.2135, allocations: 19.89 kB / 383.2 MB, free: 6.406 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.2151, allocations: 394.1 kB / 383.6 MB, free: 5.988 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005631/0.2157, allocations: 0.7322 MB / 384.3 MB, free: 5.23 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.216, allocations: 23.42 kB / 384.3 MB, free: 5.207 MB / 282.7 MB Notification: Performance of SimCode: time 1.603e-06/0.216, allocations: 0 / 384.3 MB, free: 5.207 MB / 282.7 MB Notification: Performance of Templates: time 0.0101/0.2261, allocations: 2.181 MB / 386.5 MB, free: 3.02 MB / 282.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile (rm -f Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","../files/Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches