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.0009532/0.0009532, allocations: 183.8 kB / 18.04 MB, free: 3.781 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.246/1.246, allocations: 205.4 MB / 224.2 MB, free: 9.012 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.0007457/0.0007457, allocations: 89.05 kB / 272.5 MB, free: 8.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002835/0.0002835, allocations: 8 kB / 329.4 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.181, allocations: 47.57 MB / 377 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08831/0.2694, allocations: 89.72 MB / 466.7 MB, free: 6.809 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001866/0.2696, allocations: 75.97 kB / 466.8 MB, free: 6.734 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09057/0.3602, allocations: 35.58 MB / 0.4906 GB, free: 3.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3602, allocations: 0 / 0.4906 GB, free: 3.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.027e-05/0.3603, allocations: 16.12 kB / 0.4906 GB, free: 3.074 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.001796/0.3621, allocations: 0.88 MB / 0.4915 GB, free: 2.137 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.3621, allocations: 12.03 kB / 0.4915 GB, free: 2.125 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.4e-05/0.3622, allocations: 48.38 kB / 0.4915 GB, free: 2.078 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006751/0.3629, allocations: 469.8 kB / 0.492 GB, free: 1.578 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.3629, allocations: 16.64 kB / 0.492 GB, free: 1.562 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.774e-05/0.363, allocations: 28.28 kB / 0.492 GB, free: 1.535 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004414/0.3634, allocations: 331.1 kB / 0.4923 GB, free: 1.156 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.3634, allocations: 192 / 0.4923 GB, free: 1.156 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/0.3635, allocations: 19.94 kB / 0.4924 GB, free: 1.137 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.3635, allocations: 4 kB / 0.4924 GB, free: 1.133 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002579/0.3637, allocations: 152.7 kB / 0.4925 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.3648, allocations: 0.6795 MB / 0.4932 GB, free: 260 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1278/0.4927, allocations: 315.8 kB / 0.4935 GB, free: 97.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002505/0.4929, allocations: 111.1 kB / 0.4936 GB, free: 97.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.493, allocations: 5.906 kB / 0.4936 GB, free: 97.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.493, allocations: 40.19 kB / 0.4936 GB, free: 97.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 2.315e-06/0.493, allocations: 0.5938 kB / 0.4936 GB, free: 97.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008867/0.4939, allocations: 388.5 kB / 0.494 GB, free: 97.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.927e-05/0.494, allocations: 365.6 kB / 0.4944 GB, free: 97.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004898/0.4945, allocations: 408 kB / 0.4947 GB, free: 97.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/0.4945, allocations: 35.48 kB / 0.4948 GB, free: 97.01 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.4947, allocations: 191.2 kB / 0.495 GB, free: 96.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.761e-05/0.4947, allocations: 87.94 kB / 0.495 GB, free: 96.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.896e-05/0.4947, allocations: 11 kB / 0.4951 GB, free: 96.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.435e-05/0.4948, allocations: 357.2 kB / 0.4954 GB, free: 96.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003426/0.4952, allocations: 200.7 kB / 0.4956 GB, free: 96.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003805/0.4956, allocations: 313.8 kB / 0.4959 GB, free: 96.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004988/0.4961, allocations: 384.8 kB / 0.4962 GB, free: 96.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.4961, allocations: 0 / 0.4962 GB, free: 96.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009738/0.4971, allocations: 0.6383 MB / 0.4969 GB, free: 96.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.4971, allocations: 5.875 kB / 0.4969 GB, free: 96.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.223e-05/0.4971, allocations: 12.97 kB / 0.4969 GB, free: 96.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003717/0.4975, allocations: 124.2 kB / 0.497 GB, free: 96.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002711/0.4978, allocations: 65.64 kB / 0.4971 GB, free: 96.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002179/0.5, allocations: 4.225 MB / 0.5012 GB, free: 92.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.5002, allocations: 47.45 kB / 0.5012 GB, free: 92.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.837e-05/0.5002, allocations: 17.91 kB / 0.5013 GB, free: 92.56 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.000191/0.5004, allocations: 178.2 kB / 0.5014 GB, free: 92.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.914e-05/0.5005, allocations: 40.53 kB / 0.5015 GB, free: 92.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.325e-05/0.5006, allocations: 46.14 kB / 0.5015 GB, free: 92.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.5006, allocations: 2.094 kB / 0.5015 GB, free: 92.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.5006, allocations: 0 / 0.5015 GB, free: 92.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.5006, allocations: 3.688 kB / 0.5015 GB, free: 92.42 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003014/0.5009, allocations: 355.8 kB / 0.5019 GB, free: 92.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5009, allocations: 0 / 0.5019 GB, free: 92.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/0.5012, allocations: 40.03 kB / 0.5019 GB, free: 92.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.5012, allocations: 2.031 kB / 0.5019 GB, free: 92.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.5012, allocations: 12.41 kB / 0.5019 GB, free: 92.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.5012, allocations: 1.25 kB / 0.5019 GB, free: 92.22 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5012, allocations: 2.312 kB / 0.5019 GB, free: 92.22 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005778/0.5018, allocations: 0.5159 MB / 0.5024 GB, free: 92.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.087e-05/0.5019, allocations: 110.3 kB / 0.5025 GB, free: 91.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.349e-05/0.5019, allocations: 14.14 kB / 0.5025 GB, free: 91.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.5021, allocations: 15.78 kB / 0.5025 GB, free: 91.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.5022, allocations: 13.09 kB / 0.5026 GB, free: 91.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.5022, allocations: 13.31 kB / 0.5026 GB, free: 91.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002295/0.5024, allocations: 268.1 kB / 0.5028 GB, free: 91.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5024, allocations: 1.062 kB / 0.5028 GB, free: 91.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001714/0.5041, allocations: 0.6877 MB / 0.5035 GB, free: 91.86 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.001514/0.5057, allocations: 0.7156 MB / 0.5042 GB, free: 91.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.5067, allocations: 0.9526 MB / 0.5051 GB, free: 91.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.5067, allocations: 3.969 kB / 0.5051 GB, free: 91.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.5069, allocations: 122.6 kB / 0.5053 GB, free: 91.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005017/0.5074, allocations: 108.9 kB / 0.5054 GB, free: 91.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.5084, allocations: 1.006 MB / 0.5063 GB, free: 90.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.5086, allocations: 0.8394 MB / 0.5072 GB, free: 90.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001666/0.5088, allocations: 73.31 kB / 0.5072 GB, free: 90.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.016e-05/0.5089, allocations: 26.66 kB / 0.5073 GB, free: 90.04 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.5089, allocations: 0 / 0.5073 GB, free: 90.04 MB / 378.7 MB Notification: Performance of Templates: time 0.01419/0.5231, allocations: 12.39 MB / 0.5194 GB, free: 89.71 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/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_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches