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.001688/0.001688, allocations: 181.6 kB / 17.41 MB, free: 4.41 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.658/3.658, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.001104/0.001104, allocations: 89.02 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005413/0.0005415, allocations: 12 kB / 328.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5244/0.525, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1773/0.7024, allocations: 77.04 MB / 452.8 MB, free: 3.598 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004242/0.7029, allocations: 63.97 kB / 452.8 MB, free: 3.535 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01685/0.7198, allocations: 3.769 MB / 456.6 MB, free: 15.77 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.7198, allocations: 0 / 456.6 MB, free: 15.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.3e-05/0.7199, allocations: 8 kB / 456.6 MB, free: 15.76 MB / 346.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.003152/0.723, allocations: 0.655 MB / 457.2 MB, free: 15.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.84e-05/0.7231, allocations: 12.03 kB / 457.3 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.7233, allocations: 16.75 kB / 457.3 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005222/0.7238, allocations: 192.1 kB / 457.5 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-05/0.7239, allocations: 12.83 kB / 457.5 MB, free: 14.78 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.7241, allocations: 12.38 kB / 457.5 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008898/0.725, allocations: 195.7 kB / 457.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.725, allocations: 192 / 457.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.546e-05/0.7251, allocations: 7.938 kB / 457.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/0.7251, allocations: 4 kB / 457.7 MB, free: 14.56 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.7265, allocations: 204.3 kB / 457.9 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002934/0.7295, allocations: 0.5422 MB / 458.4 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000765/0.7303, allocations: 188.7 kB / 458.6 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004034/0.7307, allocations: 104.9 kB / 458.7 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.031e-05/0.7308, allocations: 7.984 kB / 458.7 MB, free: 13.47 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.398e-05/0.7309, allocations: 34.5 kB / 458.8 MB, free: 13.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 6.122e-06/0.7309, allocations: 4 kB / 458.8 MB, free: 13.42 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.001323/0.7323, allocations: 297.2 kB / 459.1 MB, free: 13.12 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/0.7324, allocations: 51.41 kB / 459.1 MB, free: 13.06 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.7327, allocations: 183.3 kB / 459.3 MB, free: 12.87 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.179e-05/0.7328, allocations: 29.7 kB / 459.3 MB, free: 12.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.7329, allocations: 116 kB / 459.4 MB, free: 12.72 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.299e-05/0.733, allocations: 43.27 kB / 459.5 MB, free: 12.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/0.7331, allocations: 8 kB / 459.5 MB, free: 12.67 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002402/0.7333, allocations: 322.8 kB / 459.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003095/0.7336, allocations: 79.94 kB / 459.9 MB, free: 12.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003837/0.734, allocations: 118.7 kB / 460 MB, free: 12.14 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006712/0.7347, allocations: 199.5 kB / 460.2 MB, free: 11.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.7348, allocations: 0 / 460.2 MB, free: 11.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008047/0.7356, allocations: 235.5 kB / 460.4 MB, free: 11.7 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.723e-05/0.7356, allocations: 12 kB / 460.4 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.7356, allocations: 0 / 460.4 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.464e-05/0.7357, allocations: 3.938 kB / 460.4 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003622/0.7361, allocations: 35.97 kB / 460.5 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.181e-05/0.7361, allocations: 4 kB / 460.5 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.7363, allocations: 27.77 kB / 460.5 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.066e-05/0.7364, allocations: 11.92 kB / 460.5 MB, free: 11.61 MB / 346.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.0002197/0.7366, allocations: 133.8 kB / 460.6 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.617e-05/0.7367, allocations: 11.89 kB / 460.6 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009814/0.7377, allocations: 285.3 kB / 460.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/0.7377, allocations: 8 kB / 460.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.7378, allocations: 0 / 460.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.7378, allocations: 0 / 460.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005756/0.7384, allocations: 273.5 kB / 461.2 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.7384, allocations: 0 / 461.2 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003148/0.7387, allocations: 39.97 kB / 461.2 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.7387, allocations: 4 kB / 461.2 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.7388, allocations: 7.922 kB / 461.2 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.7388, allocations: 0 / 461.2 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.7388, allocations: 8 kB / 461.3 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008462/0.7396, allocations: 339.1 kB / 461.6 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.286e-05/0.7398, allocations: 92.86 kB / 461.7 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.886e-05/0.7398, allocations: 19.92 kB / 461.7 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002382/0.7401, allocations: 16 kB / 461.7 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.465e-05/0.7402, allocations: 11.97 kB / 461.7 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.7402, allocations: 4 kB / 461.7 MB, free: 10.28 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001879/0.7404, allocations: 140.6 kB / 461.9 MB, free: 10.14 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.7404, allocations: 0 / 461.9 MB, free: 10.14 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004997/0.7409, allocations: 43.94 kB / 461.9 MB, free: 10.1 MB / 346.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.0002452/0.7412, allocations: 111.2 kB / 462 MB, free: 9.984 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007969/0.742, allocations: 198 kB / 462.2 MB, free: 9.793 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.742, allocations: 4.188 kB / 462.2 MB, free: 9.789 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003939/0.7424, allocations: 111.8 kB / 462.3 MB, free: 9.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005266/0.7429, allocations: 16 kB / 462.3 MB, free: 9.664 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.7442, allocations: 405.8 kB / 462.7 MB, free: 9.234 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000625/0.7448, allocations: 0.7322 MB / 463.5 MB, free: 8.477 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.745, allocations: 23.42 kB / 463.5 MB, free: 8.453 MB / 346.7 MB Notification: Performance of SimCode: time 1.202e-06/0.745, allocations: 0 / 463.5 MB, free: 8.453 MB / 346.7 MB Notification: Performance of Templates: time 0.006581/0.7516, allocations: 2.161 MB / 465.7 MB, free: 6.293 MB / 346.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