Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.0009108/0.0009106, allocations: 174.8 kB / 18.04 MB, free: 3.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.287/1.287, allocations: 205.4 MB / 224.2 MB, free: 9.004 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.0007602/0.0007602, allocations: 86.42 kB / 272.5 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003005/0.0003005, allocations: 8 kB / 329.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2065, allocations: 47.57 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08239/0.289, allocations: 77.04 MB / 454 MB, free: 3.512 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002023/0.2892, allocations: 67.97 kB / 454.1 MB, free: 3.445 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01076/0.3, allocations: 3.78 MB / 457.9 MB, free: 15.67 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3, allocations: 0 / 457.9 MB, free: 15.67 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.934e-06/0.3, allocations: 8 kB / 457.9 MB, free: 15.66 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.00184/0.3019, allocations: 0.655 MB / 458.6 MB, free: 14.95 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.3019, allocations: 8.031 kB / 458.6 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.19e-05/0.302, allocations: 16.75 kB / 458.6 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.3022, allocations: 192.3 kB / 458.8 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.3022, allocations: 8.609 kB / 458.8 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.3022, allocations: 20.31 kB / 458.8 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003628/0.3026, allocations: 187.8 kB / 459 MB, free: 14.49 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3026, allocations: 4.125 kB / 459 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.3026, allocations: 7.938 kB / 459 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.3026, allocations: 7.938 kB / 459 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004212/0.3031, allocations: 204.3 kB / 459.2 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008621/0.3039, allocations: 0.5422 MB / 459.7 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003787/0.3043, allocations: 182.5 kB / 459.9 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.3046, allocations: 104.9 kB / 460 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.3046, allocations: 3.984 kB / 460 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.889e-05/0.3046, allocations: 34.56 kB / 460.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/0.3046, allocations: 0 / 460.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006834/0.3053, allocations: 309.2 kB / 460.4 MB, free: 13.03 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.3054, allocations: 51.41 kB / 460.4 MB, free: 12.97 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.3055, allocations: 179.3 kB / 460.6 MB, free: 12.78 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.3056, allocations: 29.7 kB / 460.6 MB, free: 12.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.525e-05/0.3056, allocations: 112 kB / 460.7 MB, free: 12.63 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.3057, allocations: 47.27 kB / 460.8 MB, free: 12.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.756e-06/0.3057, allocations: 0 / 460.8 MB, free: 12.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.3058, allocations: 326.8 kB / 461.1 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.306, allocations: 79.94 kB / 461.2 MB, free: 12.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.3062, allocations: 111.4 kB / 461.3 MB, free: 12.06 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003849/0.3066, allocations: 206 kB / 461.5 MB, free: 11.85 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3066, allocations: 0 / 461.5 MB, free: 11.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004751/0.3071, allocations: 237.3 kB / 461.7 MB, free: 11.61 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3071, allocations: 8 kB / 461.7 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.3071, allocations: 0 / 461.7 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.3071, allocations: 7.938 kB / 461.7 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.3074, allocations: 40.06 kB / 461.8 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.3074, allocations: 11.92 kB / 461.8 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.3076, allocations: 23.83 kB / 461.8 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.3076, allocations: 7.984 kB / 461.8 MB, free: 11.51 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.0001156/0.3077, allocations: 137.8 kB / 461.9 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.3077, allocations: 7.906 kB / 462 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005894/0.3083, allocations: 284.9 kB / 462.2 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.3084, allocations: 4 kB / 462.2 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3084, allocations: 0 / 462.2 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3084, allocations: 3.984 kB / 462.2 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002942/0.3087, allocations: 273.5 kB / 462.5 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3087, allocations: 4 kB / 462.5 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/0.3089, allocations: 39.97 kB / 462.5 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.3089, allocations: 4 kB / 462.6 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.3089, allocations: 7.922 kB / 462.6 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.309, allocations: 3.938 kB / 462.6 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.309, allocations: 0 / 462.6 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005116/0.3095, allocations: 348.2 kB / 462.9 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.253e-05/0.3096, allocations: 96.86 kB / 463 MB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.3096, allocations: 11.92 kB / 463 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.3098, allocations: 8 kB / 463 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.733e-05/0.3098, allocations: 15.97 kB / 463 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.3099, allocations: 12 kB / 463 MB, free: 10.18 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001075/0.31, allocations: 140.6 kB / 463.2 MB, free: 10.04 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.31, allocations: 0 / 463.2 MB, free: 10.04 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002765/0.3103, allocations: 39.94 kB / 463.2 MB, free: 10 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.0001604/0.3104, allocations: 103.2 kB / 463.3 MB, free: 9.891 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004521/0.3109, allocations: 203.8 kB / 463.5 MB, free: 9.691 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3109, allocations: 0 / 463.5 MB, free: 9.691 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.3111, allocations: 109.6 kB / 463.6 MB, free: 9.586 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.3114, allocations: 24.12 kB / 463.7 MB, free: 9.562 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006202/0.312, allocations: 376.2 kB / 464 MB, free: 9.168 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.3123, allocations: 0.7283 MB / 464.7 MB, free: 8.414 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001273/0.3124, allocations: 33.41 kB / 464.8 MB, free: 8.383 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.118e-05/0.3125, allocations: 23.41 kB / 464.8 MB, free: 8.359 MB / 346.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3125, allocations: 0 / 464.8 MB, free: 8.359 MB / 346.7 MB Notification: Performance of Templates: time 0.004109/0.3166, allocations: 1.829 MB / 466.6 MB, free: 6.535 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches