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.001712/0.001712, allocations: 180.7 kB / 17.01 MB, free: 5.125 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.9/1.9, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.0009106/0.0009106, allocations: 96.14 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003405, allocations: 12 kB / 328.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2961, allocations: 47.57 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1178/0.414, allocations: 89.59 MB / 465.4 MB, free: 7.055 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/0.4143, allocations: 71.97 kB / 465.5 MB, free: 6.984 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09983/0.5141, allocations: 35.57 MB / 0.4893 GB, free: 3.348 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5141, allocations: 192 / 0.4893 GB, free: 3.348 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.82e-05/0.5142, allocations: 23.88 kB / 0.4893 GB, free: 3.324 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.002382/0.5166, allocations: 0.8877 MB / 0.4902 GB, free: 2.383 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.5167, allocations: 8.031 kB / 0.4902 GB, free: 2.375 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.5168, allocations: 47.44 kB / 0.4902 GB, free: 2.328 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008829/0.5177, allocations: 460.7 kB / 0.4907 GB, free: 1.836 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.5178, allocations: 20.22 kB / 0.4907 GB, free: 1.816 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.904e-05/0.5178, allocations: 24 kB / 0.4907 GB, free: 1.793 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004891/0.5183, allocations: 330.5 kB / 0.491 GB, free: 1.414 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.5184, allocations: 0 / 0.491 GB, free: 1.414 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.77e-05/0.5184, allocations: 8 kB / 0.491 GB, free: 1.406 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.5184, allocations: 4 kB / 0.491 GB, free: 1.402 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002808/0.5187, allocations: 152.7 kB / 0.4912 GB, free: 1.254 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.5199, allocations: 0.6758 MB / 0.4919 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006117/0.5205, allocations: 327.5 kB / 0.4922 GB, free: 200 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.5206, allocations: 8.125 kB / 0.4922 GB, free: 192 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.5206, allocations: 34.75 kB / 0.4922 GB, free: 148 kB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 1.533e-06/0.5206, allocations: 0 / 0.4922 GB, free: 148 kB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.2522/0.7728, allocations: 382.9 kB / 0.4926 GB, free: 97.67 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.773, allocations: 366.7 kB / 0.4929 GB, free: 97.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006805/0.7737, allocations: 361.2 kB / 0.4933 GB, free: 97.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.701e-05/0.7738, allocations: 35.23 kB / 0.4933 GB, free: 97.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.774, allocations: 191.6 kB / 0.4935 GB, free: 97.01 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.924e-05/0.7741, allocations: 89.11 kB / 0.4936 GB, free: 96.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/0.7741, allocations: 7.312 kB / 0.4936 GB, free: 96.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.7743, allocations: 353.9 kB / 0.4939 GB, free: 96.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004533/0.7747, allocations: 204.1 kB / 0.4941 GB, free: 96.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005028/0.7752, allocations: 311.3 kB / 0.4944 GB, free: 96.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004528/0.7757, allocations: 240.1 kB / 0.4946 GB, free: 96.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.7757, allocations: 3.406 kB / 0.4946 GB, free: 96.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001149/0.7769, allocations: 0.6228 MB / 0.4952 GB, free: 96.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.7769, allocations: 9.703 kB / 0.4953 GB, free: 96.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.921e-05/0.777, allocations: 14.77 kB / 0.4953 GB, free: 96.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004593/0.7774, allocations: 131.8 kB / 0.4954 GB, free: 96.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003262/0.7778, allocations: 65.72 kB / 0.4955 GB, free: 96.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002684/0.7805, allocations: 4.251 MB / 0.4996 GB, free: 92.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.7807, allocations: 49.73 kB / 0.4997 GB, free: 92.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.025e-05/0.7808, allocations: 19.52 kB / 0.4997 GB, free: 92.65 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.0002132/0.781, allocations: 177.4 kB / 0.4998 GB, free: 92.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.844e-05/0.7811, allocations: 45.78 kB / 0.4999 GB, free: 92.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.448e-05/0.7811, allocations: 46.11 kB / 0.4999 GB, free: 92.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.7812, allocations: 5.734 kB / 0.4999 GB, free: 92.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.7812, allocations: 1.406 kB / 0.4999 GB, free: 92.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.7812, allocations: 0 / 0.4999 GB, free: 92.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004374/0.7816, allocations: 345.9 kB / 0.5003 GB, free: 92.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.7816, allocations: 0 / 0.5003 GB, free: 92.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/0.7819, allocations: 47.09 kB / 0.5003 GB, free: 92.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.782, allocations: 5.453 kB / 0.5003 GB, free: 92.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.088e-05/0.782, allocations: 11.66 kB / 0.5003 GB, free: 92.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.782, allocations: 1.281 kB / 0.5003 GB, free: 92.31 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.782, allocations: 0 / 0.5003 GB, free: 92.31 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007452/0.7828, allocations: 0.5134 MB / 0.5008 GB, free: 92.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.16e-05/0.7828, allocations: 115.8 kB / 0.5009 GB, free: 92.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.806e-05/0.7829, allocations: 12.75 kB / 0.5009 GB, free: 92.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.7831, allocations: 14.23 kB / 0.501 GB, free: 92.03 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.7831, allocations: 15.94 kB / 0.501 GB, free: 92.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.7832, allocations: 8.062 kB / 0.501 GB, free: 92.03 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002987/0.7835, allocations: 264.2 kB / 0.5012 GB, free: 91.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7835, allocations: 4.625 kB / 0.5012 GB, free: 91.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002569/0.7861, allocations: 0.6916 MB / 0.5019 GB, free: 91.95 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.001911/0.788, allocations: 0.7139 MB / 0.5026 GB, free: 91.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001512/0.7895, allocations: 0.9552 MB / 0.5035 GB, free: 91.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.7895, allocations: 1.5 kB / 0.5035 GB, free: 91.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002617/0.7898, allocations: 124.7 kB / 0.5037 GB, free: 91.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006414/0.7904, allocations: 104.9 kB / 0.5038 GB, free: 91.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.7922, allocations: 1.002 MB / 0.5047 GB, free: 90.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.7926, allocations: 0.8504 MB / 0.5056 GB, free: 90.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002218/0.7928, allocations: 72.84 kB / 0.5056 GB, free: 90.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.741e-05/0.7929, allocations: 26.72 kB / 0.5057 GB, free: 90.14 MB / 378.7 MB Notification: Performance of SimCode: time 6.91e-07/0.7929, allocations: 0 / 0.5057 GB, free: 90.14 MB / 378.7 MB Notification: Performance of Templates: time 0.01984/0.8127, allocations: 12.27 MB / 0.5177 GB, free: 89.82 MB / 378.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