Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.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.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter") translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00142/0.00142, allocations: 186.5 kB / 16.41 MB, free: 5.727 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.793/1.793, allocations: 205.4 MB / 222.5 MB, free: 9.145 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.001079/0.001079, allocations: 96.31 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.0003612, allocations: 8 kB / 327 MB, free: 236 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3132, allocations: 47.57 MB / 374.5 MB, free: 45.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1359/0.4491, allocations: 89.59 MB / 464.1 MB, free: 7.168 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.4494, allocations: 71.97 kB / 464.2 MB, free: 7.098 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1634/0.6128, allocations: 35.6 MB / 499.8 MB, free: 3.441 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.6129, allocations: 0 / 499.8 MB, free: 3.441 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.177e-05/0.613, allocations: 15.94 kB / 499.8 MB, free: 3.426 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00261/0.6156, allocations: 0.8799 MB / 0.4889 GB, free: 2.492 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.6156, allocations: 8.031 kB / 0.4889 GB, free: 2.484 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.6158, allocations: 51.42 kB / 0.489 GB, free: 2.434 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.6169, allocations: 452.7 kB / 0.4894 GB, free: 1.949 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.6169, allocations: 24.27 kB / 0.4895 GB, free: 1.926 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.854e-05/0.617, allocations: 24 kB / 0.4895 GB, free: 1.902 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000686/0.6177, allocations: 326.5 kB / 0.4898 GB, free: 1.527 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.6178, allocations: 0 / 0.4898 GB, free: 1.527 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.913e-05/0.6178, allocations: 15.92 kB / 0.4898 GB, free: 1.512 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.6178, allocations: 4 kB / 0.4898 GB, free: 1.508 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004618/0.6183, allocations: 152.7 kB / 0.49 GB, free: 1.359 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.62, allocations: 0.6797 MB / 0.4906 GB, free: 0.625 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009993/0.621, allocations: 319.5 kB / 0.4909 GB, free: 312 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.6211, allocations: 4.188 kB / 0.4909 GB, free: 308 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.6211, allocations: 46.73 kB / 0.491 GB, free: 252 kB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 1.843e-06/0.6211, allocations: 4 kB / 0.491 GB, free: 248 kB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.2561/0.8773, allocations: 376.6 kB / 0.4913 GB, free: 97.42 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.8774, allocations: 368.2 kB / 0.4917 GB, free: 96.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007249/0.8782, allocations: 358.8 kB / 0.492 GB, free: 96.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.68e-05/0.8783, allocations: 34.17 kB / 0.4921 GB, free: 96.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.8784, allocations: 242.9 kB / 0.4923 GB, free: 96.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.227e-05/0.8785, allocations: 82.03 kB / 0.4924 GB, free: 96.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.8786, allocations: 6.469 kB / 0.4924 GB, free: 96.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.792e-05/0.8787, allocations: 334.5 kB / 0.4927 GB, free: 96.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005937/0.8793, allocations: 203.3 kB / 0.4929 GB, free: 96.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006836/0.88, allocations: 305.5 kB / 0.4932 GB, free: 96.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006324/0.8806, allocations: 242.5 kB / 0.4934 GB, free: 96.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.8807, allocations: 0 / 0.4934 GB, free: 96.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001696/0.8824, allocations: 0.6095 MB / 0.494 GB, free: 96.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.8824, allocations: 4.406 kB / 0.494 GB, free: 96.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-05/0.8825, allocations: 15.86 kB / 0.494 GB, free: 96.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006663/0.8831, allocations: 132.5 kB / 0.4942 GB, free: 96.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005384/0.8837, allocations: 62.69 kB / 0.4942 GB, free: 96.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003828/0.8875, allocations: 4.253 MB / 0.4984 GB, free: 92.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004367/0.888, allocations: 55.33 kB / 0.4984 GB, free: 92.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.659e-05/0.8881, allocations: 15.84 kB / 0.4984 GB, free: 92.37 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003044/0.8884, allocations: 175.6 kB / 0.4986 GB, free: 92.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.151e-05/0.8885, allocations: 42.17 kB / 0.4986 GB, free: 92.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.8886, allocations: 46.66 kB / 0.4987 GB, free: 92.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.8886, allocations: 2.25 kB / 0.4987 GB, free: 92.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.8887, allocations: 3.031 kB / 0.4987 GB, free: 92.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.8887, allocations: 3.422 kB / 0.4987 GB, free: 92.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004833/0.8892, allocations: 343.6 kB / 0.499 GB, free: 92.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.8892, allocations: 1.219 kB / 0.499 GB, free: 92.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006149/0.8898, allocations: 50.16 kB / 0.4991 GB, free: 92.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.8898, allocations: 5.047 kB / 0.4991 GB, free: 92.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.433e-05/0.8899, allocations: 12.19 kB / 0.4991 GB, free: 92.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.8899, allocations: 1.438 kB / 0.4991 GB, free: 92.03 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.8899, allocations: 0 / 0.4991 GB, free: 92.03 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.891, allocations: 0.5042 MB / 0.4996 GB, free: 91.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.171e-05/0.8911, allocations: 118.1 kB / 0.4997 GB, free: 91.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.379e-05/0.8912, allocations: 16.59 kB / 0.4997 GB, free: 91.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003058/0.8916, allocations: 18.61 kB / 0.4997 GB, free: 91.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.522e-05/0.8916, allocations: 12.55 kB / 0.4997 GB, free: 91.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/0.8917, allocations: 7.875 kB / 0.4997 GB, free: 91.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004203/0.8921, allocations: 267.9 kB / 0.5 GB, free: 91.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.8921, allocations: 0 / 0.5 GB, free: 91.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002872/0.895, allocations: 0.6929 MB / 0.5007 GB, free: 91.68 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.002682/0.8977, allocations: 0.7145 MB / 0.5014 GB, free: 91.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002013/0.8998, allocations: 0.9586 MB / 0.5023 GB, free: 91.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.473e-06/0.8998, allocations: 1.406 kB / 0.5023 GB, free: 91.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003411/0.9002, allocations: 115.9 kB / 0.5024 GB, free: 91.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007928/0.901, allocations: 111.6 kB / 0.5025 GB, free: 91.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.9031, allocations: 1.036 MB / 0.5035 GB, free: 90.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.9035, allocations: 0.8557 MB / 0.5044 GB, free: 89.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.9037, allocations: 28.28 kB / 0.5044 GB, free: 89.84 MB / 378.7 MB Notification: Performance of SimCode: time 9.82e-07/0.9037, allocations: 0 / 0.5044 GB, free: 89.84 MB / 378.7 MB Notification: Performance of Templates: time 0.02421/0.9279, allocations: 12.85 MB / 0.5169 GB, free: 89.05 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Filter/Filter.csv","../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches