Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009832/0.000983, allocations: 195.7 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.279/1.279, allocations: 226.5 MB / 245.3 MB, free: 6.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000718/0.0007179, allocations: 92.62 kB / 297.4 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002043/0.0002043, allocations: 8 kB / 357.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1955, allocations: 51.29 MB / 408.6 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09156/0.2871, allocations: 78.81 MB / 487.5 MB, free: 12.79 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.2874, allocations: 67.97 kB / 487.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01217/0.2995, allocations: 4.213 MB / 491.7 MB, free: 8.523 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2996, allocations: 0 / 491.7 MB, free: 8.523 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.2996, allocations: 4 kB / 491.7 MB, free: 8.52 MB / 362.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.00128/0.3009, allocations: 0.5697 MB / 492.3 MB, free: 7.895 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.3009, allocations: 8.031 kB / 492.3 MB, free: 7.887 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.301, allocations: 16.75 kB / 492.3 MB, free: 7.871 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.3012, allocations: 190.4 kB / 492.5 MB, free: 7.648 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.3013, allocations: 12.55 kB / 492.5 MB, free: 7.637 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.3013, allocations: 16.31 kB / 492.5 MB, free: 7.621 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003696/0.3017, allocations: 175.3 kB / 492.7 MB, free: 7.445 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.3017, allocations: 8.172 kB / 492.7 MB, free: 7.438 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.3017, allocations: 7.938 kB / 492.7 MB, free: 7.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.3017, allocations: 4 kB / 492.7 MB, free: 7.426 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004513/0.3022, allocations: 176.4 kB / 492.9 MB, free: 7.254 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.3032, allocations: 0.5633 MB / 493.5 MB, free: 6.641 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004116/0.3036, allocations: 170.6 kB / 493.6 MB, free: 6.465 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.3038, allocations: 76.81 kB / 493.7 MB, free: 6.387 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.3039, allocations: 7.984 kB / 493.7 MB, free: 6.379 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.3039, allocations: 38.7 kB / 493.8 MB, free: 6.332 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 2.865e-06/0.3039, allocations: 0 / 493.8 MB, free: 6.332 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006411/0.3046, allocations: 256.7 kB / 494 MB, free: 6.078 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.3046, allocations: 51.41 kB / 494.1 MB, free: 6.016 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.3048, allocations: 195.2 kB / 494.2 MB, free: 5.812 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.3048, allocations: 25.7 kB / 494.3 MB, free: 5.781 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.977e-05/0.3049, allocations: 120.2 kB / 494.4 MB, free: 5.656 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/0.305, allocations: 39.36 kB / 494.4 MB, free: 5.617 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.183e-05/0.305, allocations: 4 kB / 494.4 MB, free: 5.613 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.3051, allocations: 326.8 kB / 494.8 MB, free: 5.285 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.3053, allocations: 67.95 kB / 494.8 MB, free: 5.219 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.3055, allocations: 113.1 kB / 494.9 MB, free: 5.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003967/0.3059, allocations: 185 kB / 495.1 MB, free: 4.891 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.3059, allocations: 3.984 kB / 495.1 MB, free: 4.887 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004837/0.3064, allocations: 213.4 kB / 495.3 MB, free: 4.672 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.3064, allocations: 15.88 kB / 495.3 MB, free: 4.656 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.3065, allocations: 7.969 kB / 495.3 MB, free: 4.648 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.3065, allocations: 4 kB / 495.3 MB, free: 4.645 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.3067, allocations: 35.92 kB / 495.4 MB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.3067, allocations: 4 kB / 495.4 MB, free: 4.605 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.3068, allocations: 20.58 kB / 495.4 MB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.3068, allocations: 8 kB / 495.4 MB, free: 4.578 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (15): * Single equations (assignments): 14 * 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.0001041/0.307, allocations: 133.8 kB / 495.5 MB, free: 4.438 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.307, allocations: 15.75 kB / 495.6 MB, free: 4.422 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005056/0.3075, allocations: 222.8 kB / 495.8 MB, free: 4.195 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.3075, allocations: 0 / 495.8 MB, free: 4.195 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3075, allocations: 0 / 495.8 MB, free: 4.195 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3075, allocations: 0 / 495.8 MB, free: 4.195 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/0.3078, allocations: 253.5 kB / 496 MB, free: 3.898 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.3078, allocations: 3.984 kB / 496 MB, free: 3.895 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.308, allocations: 23.98 kB / 496.1 MB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.308, allocations: 3.938 kB / 496.1 MB, free: 3.867 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.308, allocations: 11.98 kB / 496.1 MB, free: 3.855 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.308, allocations: 4 kB / 496.1 MB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.308, allocations: 3.938 kB / 496.1 MB, free: 3.848 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004331/0.3085, allocations: 275 kB / 496.3 MB, free: 3.566 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.243e-05/0.3085, allocations: 104.9 kB / 496.4 MB, free: 3.445 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.3086, allocations: 3.938 kB / 496.5 MB, free: 3.441 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.3087, allocations: 7.984 kB / 496.5 MB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.3088, allocations: 15.98 kB / 496.5 MB, free: 3.418 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.3088, allocations: 0 / 496.5 MB, free: 3.418 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001073/0.3089, allocations: 139.2 kB / 496.6 MB, free: 3.281 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3089, allocations: 0 / 496.6 MB, free: 3.281 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002749/0.3092, allocations: 35.92 kB / 496.6 MB, free: 3.246 MB / 362.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 (12): * Single equations (assignments): 11 * 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.0001584/0.3094, allocations: 111.2 kB / 496.8 MB, free: 3.129 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004241/0.3098, allocations: 160.1 kB / 496.9 MB, free: 2.973 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3098, allocations: 0 / 496.9 MB, free: 2.973 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002134/0.31, allocations: 83.88 kB / 497 MB, free: 2.891 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.3103, allocations: 16 kB / 497 MB, free: 2.875 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006233/0.311, allocations: 368.2 kB / 497.4 MB, free: 2.484 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.3112, allocations: 0.7243 MB / 498.1 MB, free: 1.734 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.499e-05/0.3113, allocations: 23.38 kB / 498.1 MB, free: 1.711 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3113, allocations: 0 / 498.1 MB, free: 1.711 MB / 362.7 MB Notification: Performance of Templates: time 0.003667/0.315, allocations: 1.949 MB / 0.4883 GB, free: 15.77 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile (rm -f Modelica_trunk_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_trunk_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_trunk_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_trunk_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","../files/Modelica_trunk_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches