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.002289/0.002289, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.02/2.02, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001036/0.001036, allocations: 86.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3e-05/3.022e-05, allocations: 4 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09212/0.09217, allocations: 47.58 MB / 369.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3835/0.4757, allocations: 76.9 MB / 446 MB, free: 248 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.476, allocations: 62.66 kB / 446 MB, free: 216 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01745/0.4935, allocations: 3.727 MB / 449.8 MB, free: 13.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4935, allocations: 0 / 449.8 MB, free: 13.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.4935, allocations: 4 kB / 449.8 MB, free: 13.11 MB / 330.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.003371/0.4969, allocations: 0.6423 MB / 450.4 MB, free: 12.45 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.497, allocations: 12.03 kB / 450.4 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.547e-05/0.4971, allocations: 15.81 kB / 450.4 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.4973, allocations: 183.7 kB / 450.6 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/0.4974, allocations: 19.75 kB / 450.6 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.956e-05/0.4974, allocations: 11.81 kB / 450.7 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004503/0.4979, allocations: 169.6 kB / 450.8 MB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.4979, allocations: 0 / 450.8 MB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/0.4979, allocations: 3.312 kB / 450.8 MB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.498, allocations: 4 kB / 450.8 MB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004801/0.4985, allocations: 169.2 kB / 451 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/0.4998, allocations: 0.5461 MB / 451.5 MB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004767/0.5003, allocations: 168.2 kB / 451.7 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/0.5006, allocations: 86.95 kB / 451.8 MB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.45e-05/0.5006, allocations: 7.938 kB / 451.8 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.5007, allocations: 34.12 kB / 451.8 MB, free: 11.21 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 2.415e-06/0.5007, allocations: 4 kB / 451.8 MB, free: 11.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005615/0.5013, allocations: 172 kB / 452 MB, free: 11.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.5013, allocations: 62.91 kB / 452.1 MB, free: 11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.5016, allocations: 165 kB / 452.2 MB, free: 10.85 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.235e-05/0.5016, allocations: 29.02 kB / 452.2 MB, free: 10.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.5017, allocations: 173.1 kB / 452.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.106e-05/0.5018, allocations: 52.67 kB / 452.5 MB, free: 10.61 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.716e-05/0.5018, allocations: 0 / 452.5 MB, free: 10.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.502, allocations: 322.2 kB / 452.8 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.5021, allocations: 56.48 kB / 452.8 MB, free: 10.26 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.5024, allocations: 94.38 kB / 452.9 MB, free: 10.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.5026, allocations: 75.95 kB / 453 MB, free: 10.12 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5026, allocations: 0 / 453 MB, free: 10.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005346/0.5032, allocations: 197.8 kB / 453.2 MB, free: 9.973 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.5032, allocations: 7.953 kB / 453.2 MB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.5032, allocations: 0 / 453.2 MB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.5032, allocations: 4 kB / 453.2 MB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004643/0.5037, allocations: 43.53 kB / 453.3 MB, free: 9.922 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.5037, allocations: 3.984 kB / 453.3 MB, free: 9.918 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002677/0.504, allocations: 15.84 kB / 453.3 MB, free: 9.902 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.5041, allocations: 16.08 kB / 453.3 MB, free: 9.887 MB / 330.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 () * 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.0001034/0.5042, allocations: 106.4 kB / 453.4 MB, free: 9.781 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.943e-05/0.5043, allocations: 19.75 kB / 453.4 MB, free: 9.762 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006663/0.5049, allocations: 235.6 kB / 453.6 MB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.505, allocations: 0 / 453.6 MB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.505, allocations: 7.953 kB / 453.6 MB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.505, allocations: 3.984 kB / 453.7 MB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004327/0.5054, allocations: 286.6 kB / 453.9 MB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5055, allocations: 4 kB / 453.9 MB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004305/0.5059, allocations: 39.91 kB / 454 MB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.5059, allocations: 0 / 454 MB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.5059, allocations: 11.17 kB / 454 MB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.506, allocations: 3.984 kB / 454 MB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.506, allocations: 3.953 kB / 454 MB, free: 9.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005786/0.5066, allocations: 307.7 kB / 454.3 MB, free: 8.965 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.212e-05/0.5067, allocations: 92.91 kB / 454.4 MB, free: 8.855 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.595e-05/0.5067, allocations: 11.67 kB / 454.4 MB, free: 8.848 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002825/0.507, allocations: 7.875 kB / 454.4 MB, free: 8.844 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.027e-05/0.5071, allocations: 15.97 kB / 454.4 MB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.5071, allocations: 4 kB / 454.4 MB, free: 8.824 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001628/0.5073, allocations: 147.4 kB / 454.6 MB, free: 8.699 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5073, allocations: 0 / 454.6 MB, free: 8.699 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004037/0.5077, allocations: 39.62 kB / 454.6 MB, free: 8.664 MB / 330.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 () * 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.000191/0.5079, allocations: 110.8 kB / 454.7 MB, free: 8.551 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004841/0.5084, allocations: 167.4 kB / 454.9 MB, free: 8.434 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5084, allocations: 0 / 454.9 MB, free: 8.434 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002459/0.5087, allocations: 92.91 kB / 455 MB, free: 8.371 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.509, allocations: 19.89 kB / 455 MB, free: 8.355 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007264/0.5097, allocations: 267 kB / 455.3 MB, free: 8.109 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.5101, allocations: 0.7316 MB / 456 MB, free: 7.355 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.5103, allocations: 23.42 kB / 456 MB, free: 7.332 MB / 330.7 MB Notification: Performance of SimCode: time 3.337e-06/0.5103, allocations: 0 / 456 MB, free: 7.332 MB / 330.7 MB Notification: Performance of Templates: time 0.005737/0.516, allocations: 2.15 MB / 458.2 MB, free: 5.203 MB / 330.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