Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001067/0.001067, allocations: 172.4 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.646/1.646, allocations: 205.2 MB / 219.8 MB, free: 14.25 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.0008648/0.0008647, allocations: 82.69 kB / 268 MB, free: 14.09 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.555e-05/2.566e-05, allocations: 4 kB / 322.4 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09549/0.09553, allocations: 47.58 MB / 370 MB, free: 1.707 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3227/0.4183, allocations: 89.48 MB / 459.5 MB, free: 3.965 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.4186, allocations: 70.47 kB / 459.6 MB, free: 3.934 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09873/0.5173, allocations: 35.52 MB / 495.1 MB, free: 1.707 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5174, allocations: 0 / 495.1 MB, free: 1.707 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.512e-05/0.5174, allocations: 15.94 kB / 495.1 MB, free: 1.691 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001979/0.5194, allocations: 0.8097 MB / 495.9 MB, free: 0.832 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.5195, allocations: 8.031 kB / 495.9 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.5196, allocations: 47.44 kB / 496 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007674/0.5204, allocations: 448.8 kB / 496.4 MB, free: 304 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.5204, allocations: 16.28 kB / 496.4 MB, free: 288 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.982e-05/0.5205, allocations: 35.89 kB / 496.5 MB, free: 252 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004693/0.5209, allocations: 314.6 kB / 496.8 MB, free: 15.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.521, allocations: 4 kB / 496.8 MB, free: 15.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.521, allocations: 4 kB / 496.8 MB, free: 15.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.521, allocations: 4 kB / 496.8 MB, free: 15.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002194/0.5212, allocations: 144.6 kB / 496.9 MB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.5224, allocations: 0.6797 MB / 497.6 MB, free: 15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006021/0.523, allocations: 319.1 kB / 497.9 MB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.5232, allocations: 101.2 kB / 498 MB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.5232, allocations: 192 / 498 MB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.5232, allocations: 38.75 kB / 498 MB, free: 14.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 9.22e-07/0.5232, allocations: 0 / 498 MB, free: 14.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004831/0.5237, allocations: 283.9 kB / 498.3 MB, free: 14.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001761/0.5239, allocations: 367.8 kB / 498.7 MB, free: 13.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003636/0.5243, allocations: 355 kB / 499 MB, free: 13.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/0.5243, allocations: 33.7 kB / 499.1 MB, free: 13.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.5245, allocations: 196.8 kB / 499.3 MB, free: 13.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.958e-05/0.5245, allocations: 78.84 kB / 499.3 MB, free: 13.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.894e-05/0.5246, allocations: 15.94 kB / 499.3 MB, free: 13.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.5247, allocations: 350.8 kB / 499.7 MB, free: 12.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/0.525, allocations: 196.3 kB / 499.9 MB, free: 12.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003534/0.5254, allocations: 296.5 kB / 0.4884 GB, free: 12.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.5257, allocations: 233 kB / 0.4887 GB, free: 12.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5257, allocations: 4 kB / 0.4887 GB, free: 12.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009796/0.5267, allocations: 0.6069 MB / 0.4893 GB, free: 11.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.5267, allocations: 11.94 kB / 0.4893 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.148e-05/0.5268, allocations: 11.98 kB / 0.4893 GB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004168/0.5272, allocations: 126.5 kB / 0.4894 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.5275, allocations: 63.91 kB / 0.4895 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003298/0.5308, allocations: 4.228 MB / 0.4936 GB, free: 6.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.531, allocations: 51.7 kB / 0.4936 GB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.794e-05/0.531, allocations: 19.98 kB / 0.4937 GB, free: 6.473 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 () * 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.0001184/0.5312, allocations: 120.9 kB / 0.4938 GB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.465e-05/0.5312, allocations: 43.52 kB / 0.4938 GB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.979e-05/0.5313, allocations: 47.48 kB / 0.4939 GB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.5314, allocations: 4 kB / 0.4939 GB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.5314, allocations: 0 / 0.4939 GB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.5314, allocations: 0 / 0.4939 GB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003823/0.5318, allocations: 353.3 kB / 0.4942 GB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.5318, allocations: 3.938 kB / 0.4942 GB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002738/0.5321, allocations: 39.97 kB / 0.4942 GB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.5321, allocations: 0 / 0.4942 GB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.066e-05/0.5321, allocations: 11.98 kB / 0.4943 GB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.5321, allocations: 3.953 kB / 0.4943 GB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5321, allocations: 0 / 0.4943 GB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005857/0.5327, allocations: 0.4908 MB / 0.4947 GB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.347e-05/0.5328, allocations: 116.6 kB / 0.4949 GB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.5329, allocations: 12 kB / 0.4949 GB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.533, allocations: 19.94 kB / 0.4949 GB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/0.5331, allocations: 8.094 kB / 0.4949 GB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.5331, allocations: 15.92 kB / 0.4949 GB, free: 5.102 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002703/0.5334, allocations: 265.2 kB / 0.4952 GB, free: 4.844 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5334, allocations: 0 / 0.4952 GB, free: 4.844 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002713/0.5361, allocations: 0.6833 MB / 0.4958 GB, free: 4.16 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 () * 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.001528/0.5377, allocations: 0.7215 MB / 0.4965 GB, free: 3.438 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00124/0.5389, allocations: 0.9293 MB / 0.4974 GB, free: 2.426 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5389, allocations: 4 kB / 0.4974 GB, free: 2.422 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.5391, allocations: 120.2 kB / 0.4976 GB, free: 2.305 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004951/0.5396, allocations: 91.31 kB / 0.4976 GB, free: 2.219 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.5408, allocations: 0.7362 MB / 0.4984 GB, free: 1.457 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.5412, allocations: 0.8504 MB / 0.4992 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001979/0.5414, allocations: 70.92 kB / 0.4993 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.45e-05/0.5415, allocations: 27.44 kB / 0.4993 GB, free: 492 kB / 378.7 MB Notification: Performance of SimCode: time 4.5e-07/0.5415, allocations: 0 / 0.4993 GB, free: 492 kB / 378.7 MB Notification: Performance of Templates: time 0.02379/0.5653, allocations: 14.76 MB / 0.5137 GB, free: 1.699 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins/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_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches