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.0009997/0.0009998, allocations: 171.9 kB / 14.1 MB, free: 1.223 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.547/1.547, allocations: 205.2 MB / 219.8 MB, free: 14.21 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.0008408/0.0008408, allocations: 82.72 kB / 268 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.669e-05/3.673e-05, allocations: 4 kB / 322.4 MB, free: 17.37 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1117, allocations: 47.58 MB / 370 MB, free: 1.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3643/0.4761, allocations: 76.89 MB / 446.9 MB, free: 368 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001795/0.4763, allocations: 65.53 kB / 447 MB, free: 336 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01079/0.4871, allocations: 3.731 MB / 450.7 MB, free: 13.22 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.4871, allocations: 0 / 450.7 MB, free: 13.22 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.4871, allocations: 4 kB / 450.7 MB, free: 13.22 MB / 330.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.001921/0.4891, allocations: 0.6432 MB / 451.3 MB, free: 12.56 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.4891, allocations: 8.031 kB / 451.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.873e-05/0.4892, allocations: 15.81 kB / 451.4 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.4894, allocations: 199.5 kB / 451.6 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.4894, allocations: 8.188 kB / 451.6 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.297e-05/0.4894, allocations: 12.69 kB / 451.6 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/0.4898, allocations: 165.2 kB / 451.7 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.4898, allocations: 4 kB / 451.7 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.4898, allocations: 7.938 kB / 451.8 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.4898, allocations: 3.938 kB / 451.8 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002721/0.4901, allocations: 169.7 kB / 451.9 MB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009377/0.491, allocations: 0.5399 MB / 452.5 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.4914, allocations: 172 kB / 452.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.4915, allocations: 87.39 kB / 452.7 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.4915, allocations: 7.891 kB / 452.7 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.4916, allocations: 38.5 kB / 452.8 MB, free: 11.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.4916, allocations: 0 / 452.8 MB, free: 11.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003681/0.4919, allocations: 176.4 kB / 452.9 MB, free: 11.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.492, allocations: 55.41 kB / 453 MB, free: 11.11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.4922, allocations: 170.7 kB / 453.2 MB, free: 10.96 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.4922, allocations: 29.64 kB / 453.2 MB, free: 10.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.782e-05/0.4923, allocations: 111.4 kB / 453.3 MB, free: 10.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.26e-05/0.4923, allocations: 51.11 kB / 453.3 MB, free: 10.78 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.034e-05/0.4924, allocations: 0 / 453.3 MB, free: 10.78 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.4925, allocations: 326.4 kB / 453.7 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.4926, allocations: 62.66 kB / 453.7 MB, free: 10.42 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.4927, allocations: 95.55 kB / 453.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.4929, allocations: 71.78 kB / 453.9 MB, free: 10.29 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4929, allocations: 0 / 453.9 MB, free: 10.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003059/0.4932, allocations: 195.3 kB / 454.1 MB, free: 10.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.4932, allocations: 8.047 kB / 454.1 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.4932, allocations: 8 kB / 454.1 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.4932, allocations: 0 / 454.1 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.4935, allocations: 43.77 kB / 454.1 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.4935, allocations: 3.938 kB / 454.1 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.4937, allocations: 23.83 kB / 454.2 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.4937, allocations: 4 kB / 454.2 MB, free: 10.05 MB / 330.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 () * 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 8.709e-05/0.4938, allocations: 116.7 kB / 454.3 MB, free: 9.941 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.4938, allocations: 11.81 kB / 454.3 MB, free: 9.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004575/0.4943, allocations: 242.7 kB / 454.5 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.4943, allocations: 4 kB / 454.5 MB, free: 9.742 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4943, allocations: 3.953 kB / 454.5 MB, free: 9.738 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4943, allocations: 0 / 454.5 MB, free: 9.738 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.4946, allocations: 288 kB / 454.8 MB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.4946, allocations: 3.984 kB / 454.8 MB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.4949, allocations: 39.97 kB / 454.9 MB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.4949, allocations: 4 kB / 454.9 MB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.4949, allocations: 3.062 kB / 454.9 MB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4949, allocations: 0 / 454.9 MB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.111e-05/0.4949, allocations: 7.953 kB / 454.9 MB, free: 9.395 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003706/0.4953, allocations: 308.8 kB / 455.2 MB, free: 9.129 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.593e-05/0.4954, allocations: 92.92 kB / 455.3 MB, free: 9.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.4954, allocations: 7.688 kB / 455.3 MB, free: 9.016 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.4956, allocations: 15.73 kB / 455.3 MB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.641e-05/0.4956, allocations: 7.984 kB / 455.3 MB, free: 8.996 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.4957, allocations: 11.61 kB / 455.3 MB, free: 8.988 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001149/0.4958, allocations: 142.2 kB / 455.5 MB, free: 8.863 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4958, allocations: 3.938 kB / 455.5 MB, free: 8.859 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002697/0.4961, allocations: 42.5 kB / 455.5 MB, free: 8.824 MB / 330.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 () * 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.0001567/0.4962, allocations: 106.4 kB / 455.6 MB, free: 8.715 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003071/0.4965, allocations: 163.1 kB / 455.8 MB, free: 8.602 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4966, allocations: 0 / 455.8 MB, free: 8.602 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.4967, allocations: 95.78 kB / 455.9 MB, free: 8.535 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.4969, allocations: 18.75 kB / 455.9 MB, free: 8.523 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005031/0.4974, allocations: 239.1 kB / 456.1 MB, free: 8.309 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.4977, allocations: 0.7309 MB / 456.8 MB, free: 7.555 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001311/0.4979, allocations: 37.17 kB / 456.9 MB, free: 7.516 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.275e-05/0.498, allocations: 19.42 kB / 456.9 MB, free: 7.5 MB / 330.7 MB Notification: Performance of SimCode: time 2.6e-07/0.498, allocations: 3.938 kB / 456.9 MB, free: 7.496 MB / 330.7 MB Notification: Performance of Templates: time 0.00447/0.5024, allocations: 1.841 MB / 458.7 MB, free: 5.668 MB / 330.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/jenkins/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