Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.ComplexBlocks.Examples.ShowTransferFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001052/0.001052, allocations: 199.8 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 226.5 MB / 245.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008005/0.0008005, allocations: 102.3 kB / 297.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002413/0.0002415, allocations: 4 kB / 358.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2059, allocations: 51.28 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09827/0.3042, allocations: 78.8 MB / 488.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001914/0.3044, allocations: 71.95 kB / 488.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01196/0.3164, allocations: 4.223 MB / 492.5 MB, free: 8.426 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3164, allocations: 0 / 492.5 MB, free: 8.426 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.3165, allocations: 4 kB / 492.5 MB, free: 8.422 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.001219/0.3177, allocations: 0.5619 MB / 493 MB, free: 7.805 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.3177, allocations: 12.03 kB / 493 MB, free: 7.793 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.3178, allocations: 20.73 kB / 493.1 MB, free: 7.773 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.318, allocations: 194.5 kB / 493.2 MB, free: 7.547 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.318, allocations: 8.609 kB / 493.2 MB, free: 7.539 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.3181, allocations: 16.31 kB / 493.3 MB, free: 7.523 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003544/0.3184, allocations: 175.3 kB / 493.4 MB, free: 7.348 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.3184, allocations: 192 / 493.4 MB, free: 7.348 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.3185, allocations: 11.94 kB / 493.4 MB, free: 7.336 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.3185, allocations: 0 / 493.4 MB, free: 7.336 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003984/0.3189, allocations: 176.4 kB / 493.6 MB, free: 7.164 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.3199, allocations: 0.5672 MB / 494.2 MB, free: 6.547 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003989/0.3203, allocations: 174.6 kB / 494.4 MB, free: 6.367 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.3205, allocations: 72.81 kB / 494.4 MB, free: 6.293 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.3206, allocations: 4 kB / 494.4 MB, free: 6.289 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.3206, allocations: 38.72 kB / 494.5 MB, free: 6.242 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 2.755e-06/0.3206, allocations: 0 / 494.5 MB, free: 6.242 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.000618/0.3212, allocations: 260 kB / 494.7 MB, free: 5.984 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.3213, allocations: 51.41 kB / 494.8 MB, free: 5.922 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.3214, allocations: 195.2 kB / 495 MB, free: 5.719 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.3215, allocations: 25.7 kB / 495 MB, free: 5.688 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.692e-05/0.3215, allocations: 124.1 kB / 495.1 MB, free: 5.559 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.3216, allocations: 35.38 kB / 495.1 MB, free: 5.523 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.019e-05/0.3216, allocations: 4 kB / 495.1 MB, free: 5.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.3217, allocations: 326.8 kB / 495.5 MB, free: 5.191 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.3219, allocations: 67.95 kB / 495.5 MB, free: 5.125 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.3221, allocations: 105.1 kB / 495.6 MB, free: 5.004 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003621/0.3225, allocations: 189 kB / 495.8 MB, free: 4.801 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3225, allocations: 4 kB / 495.8 MB, free: 4.797 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000444/0.3229, allocations: 213.5 kB / 496 MB, free: 4.582 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.323, allocations: 11.88 kB / 496 MB, free: 4.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.323, allocations: 4 kB / 496.1 MB, free: 4.566 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.323, allocations: 0 / 496.1 MB, free: 4.566 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.3232, allocations: 47.91 kB / 496.1 MB, free: 4.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.3232, allocations: 0 / 496.1 MB, free: 4.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.3234, allocations: 24.45 kB / 496.1 MB, free: 4.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.3234, allocations: 4 kB / 496.1 MB, free: 4.492 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.0001106/0.3235, allocations: 137.9 kB / 496.3 MB, free: 4.348 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/0.3236, allocations: 15.75 kB / 496.3 MB, free: 4.332 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004642/0.324, allocations: 210.9 kB / 496.5 MB, free: 4.117 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.3241, allocations: 8 kB / 496.5 MB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3241, allocations: 0 / 496.5 MB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3241, allocations: 3.984 kB / 496.5 MB, free: 4.105 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.3244, allocations: 249.5 kB / 496.7 MB, free: 3.812 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3244, allocations: 0 / 496.7 MB, free: 3.812 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.3245, allocations: 28.06 kB / 496.8 MB, free: 3.785 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3246, allocations: 7.875 kB / 496.8 MB, free: 3.777 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.3246, allocations: 4 kB / 496.8 MB, free: 3.773 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.3246, allocations: 4 kB / 496.8 MB, free: 3.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3246, allocations: 7.938 kB / 496.8 MB, free: 3.762 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004371/0.325, allocations: 275.4 kB / 497.1 MB, free: 3.477 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.728e-05/0.3251, allocations: 96.86 kB / 497.2 MB, free: 3.363 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.3251, allocations: 7.938 kB / 497.2 MB, free: 3.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.3253, allocations: 11.98 kB / 497.2 MB, free: 3.344 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/0.3253, allocations: 11.98 kB / 497.2 MB, free: 3.332 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.3254, allocations: 4 kB / 497.2 MB, free: 3.328 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001125/0.3255, allocations: 135.2 kB / 497.3 MB, free: 3.195 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3255, allocations: 0 / 497.3 MB, free: 3.195 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002749/0.3258, allocations: 35.94 kB / 497.4 MB, free: 3.16 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.0001639/0.3259, allocations: 119.2 kB / 497.5 MB, free: 3.035 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004237/0.3264, allocations: 156.1 kB / 497.6 MB, free: 2.883 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3264, allocations: 4.062 kB / 497.6 MB, free: 2.879 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001826/0.3266, allocations: 79.89 kB / 497.7 MB, free: 2.801 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.3269, allocations: 15.98 kB / 497.7 MB, free: 2.785 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006509/0.3275, allocations: 346.1 kB / 498.1 MB, free: 2.422 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.3278, allocations: 0.7165 MB / 498.8 MB, free: 1.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001323/0.328, allocations: 33.06 kB / 498.8 MB, free: 1.648 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.11e-05/0.328, allocations: 19.42 kB / 498.8 MB, free: 1.629 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3281, allocations: 0 / 498.8 MB, free: 1.629 MB / 362.7 MB Notification: Performance of Templates: time 0.004576/0.3326, allocations: 1.479 MB / 0.4886 GB, free: 168 kB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches