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.001441/0.001441, allocations: 181.5 kB / 8.365 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.967/1.967, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 88.98 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.806e-05/2.817e-05, allocations: 4 kB / 314.8 MB, free: 9.172 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3423, allocations: 47.56 MB / 362.3 MB, free: 45.83 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1223/0.4647, allocations: 76.24 MB / 438.6 MB, free: 10.09 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.4651, allocations: 65 kB / 438.6 MB, free: 10.02 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01821/0.4833, allocations: 3.692 MB / 442.3 MB, free: 6.371 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4833, allocations: 3.938 kB / 442.3 MB, free: 6.367 MB / 331.1 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.4834, allocations: 4 kB / 442.3 MB, free: 6.363 MB / 331.1 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.003467/0.4868, allocations: 0.6413 MB / 443 MB, free: 5.68 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.4869, allocations: 8.031 kB / 443 MB, free: 5.672 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.616e-05/0.487, allocations: 15.81 kB / 443 MB, free: 5.656 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.4873, allocations: 194.8 kB / 443.2 MB, free: 5.426 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.4873, allocations: 7.953 kB / 443.2 MB, free: 5.418 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.353e-05/0.4874, allocations: 8 kB / 443.2 MB, free: 5.41 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005049/0.4879, allocations: 156.2 kB / 443.3 MB, free: 5.258 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004006/0.4883, allocations: 147.8 kB / 443.5 MB, free: 5.109 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.4883, allocations: 0 / 443.5 MB, free: 5.109 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/0.4884, allocations: 0 / 443.5 MB, free: 5.109 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.4884, allocations: 4 kB / 443.5 MB, free: 5.105 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.4898, allocations: 0.5074 MB / 444 MB, free: 4.562 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005078/0.4904, allocations: 162.5 kB / 444.2 MB, free: 4.395 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.4906, allocations: 84.81 kB / 444.2 MB, free: 4.309 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.496e-05/0.4907, allocations: 4 kB / 444.2 MB, free: 4.305 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.4907, allocations: 38.52 kB / 444.3 MB, free: 4.258 MB / 331.1 MB Notification: Performance of pre-optimization done (n=15): time 2.706e-06/0.4907, allocations: 0 / 444.3 MB, free: 4.258 MB / 331.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005671/0.4913, allocations: 167 kB / 444.4 MB, free: 4.09 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.4914, allocations: 51.41 kB / 444.5 MB, free: 4.027 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.4916, allocations: 140.4 kB / 444.6 MB, free: 3.883 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/0.4916, allocations: 25.7 kB / 444.7 MB, free: 3.852 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.4918, allocations: 182.3 kB / 444.8 MB, free: 3.672 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.722e-05/0.4918, allocations: 51.3 kB / 444.9 MB, free: 3.621 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.89e-05/0.4919, allocations: 0 / 444.9 MB, free: 3.621 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.492, allocations: 318.8 kB / 445.2 MB, free: 3.301 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.4922, allocations: 59.97 kB / 445.3 MB, free: 3.242 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.4924, allocations: 89.31 kB / 445.3 MB, free: 3.145 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.4926, allocations: 68.58 kB / 445.4 MB, free: 3.078 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4926, allocations: 4 kB / 445.4 MB, free: 3.074 MB / 331.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005121/0.4932, allocations: 181.1 kB / 445.6 MB, free: 2.895 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.4932, allocations: 4 kB / 445.6 MB, free: 2.891 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.4932, allocations: 3.984 kB / 445.6 MB, free: 2.887 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/0.4932, allocations: 11.94 kB / 445.6 MB, free: 2.875 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004624/0.4937, allocations: 41.41 kB / 445.7 MB, free: 2.836 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.4937, allocations: 4 kB / 445.7 MB, free: 2.832 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000276/0.494, allocations: 23.92 kB / 445.7 MB, free: 2.809 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.4941, allocations: 4 kB / 445.7 MB, free: 2.805 MB / 331.1 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.0001174/0.4942, allocations: 105 kB / 445.8 MB, free: 2.695 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.021e-05/0.4943, allocations: 7.906 kB / 445.8 MB, free: 2.688 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006788/0.495, allocations: 233 kB / 446 MB, free: 2.457 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.495, allocations: 4 kB / 446 MB, free: 2.453 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.495, allocations: 4 kB / 446 MB, free: 2.449 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.4951, allocations: 3.953 kB / 446 MB, free: 2.445 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004282/0.4955, allocations: 247.8 kB / 446.3 MB, free: 2.168 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.4955, allocations: 4 kB / 446.3 MB, free: 2.164 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00046/0.496, allocations: 39.95 kB / 446.3 MB, free: 2.125 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.496, allocations: 0 / 446.3 MB, free: 2.125 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.4961, allocations: 4 kB / 446.3 MB, free: 2.121 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.4961, allocations: 0 / 446.3 MB, free: 2.121 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.4961, allocations: 1.031 kB / 446.3 MB, free: 2.121 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005997/0.4967, allocations: 303.2 kB / 446.6 MB, free: 1.809 MB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.916e-05/0.4968, allocations: 92.91 kB / 446.7 MB, free: 1.699 MB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.851e-05/0.4968, allocations: 0 / 446.7 MB, free: 1.699 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003059/0.4972, allocations: 8 kB / 446.7 MB, free: 1.691 MB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.123e-05/0.4973, allocations: 15.97 kB / 446.7 MB, free: 1.676 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.4973, allocations: 4 kB / 446.7 MB, free: 1.672 MB / 331.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.4974, allocations: 122.1 kB / 446.9 MB, free: 1.555 MB / 331.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4974, allocations: 0 / 446.9 MB, free: 1.555 MB / 331.1 MB Notification: Performance of remove unused functions: time 0.0004196/0.4979, allocations: 31.94 kB / 446.9 MB, free: 1.523 MB / 331.1 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.000203/0.4981, allocations: 111.2 kB / 447 MB, free: 1.406 MB / 331.1 MB Notification: Performance of simCode: created initialization part: time 0.0004899/0.4986, allocations: 150.1 kB / 447.1 MB, free: 1.262 MB / 331.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4986, allocations: 0 / 447.1 MB, free: 1.262 MB / 331.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002306/0.4989, allocations: 96.09 kB / 447.2 MB, free: 1.168 MB / 331.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.4992, allocations: 21.95 kB / 447.3 MB, free: 1.152 MB / 331.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007818/0.5, allocations: 248.3 kB / 447.5 MB, free: 0.8828 MB / 331.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.5004, allocations: 0.7318 MB / 448.2 MB, free: 128 kB / 331.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.5006, allocations: 27.41 kB / 448.3 MB, free: 100 kB / 331.1 MB Notification: Performance of SimCode: time 1.172e-06/0.5006, allocations: 4 kB / 448.3 MB, free: 96 kB / 331.1 MB Notification: Performance of Templates: time 0.006284/0.5069, allocations: 2.037 MB / 450.3 MB, free: 14.09 MB / 347.1 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