Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Filter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009925/0.0009926, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000792/0.000792, allocations: 97.81 kB / 286.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.682e-05/1.678e-05, allocations: 4 kB / 343.7 MB, free: 8.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1026, allocations: 51.48 MB / 395.2 MB, free: 4.773 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3181/0.4208, allocations: 90.41 MB / 485.6 MB, free: 2.926 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001735/0.421, allocations: 67.03 kB / 485.6 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09347/0.5145, allocations: 35.68 MB / 0.5091 GB, free: 3.918 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.5146, allocations: 0 / 0.5091 GB, free: 3.918 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.035e-05/0.5146, allocations: 23.94 kB / 0.5091 GB, free: 3.895 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.00163/0.5162, allocations: 0.8103 MB / 0.5099 GB, free: 3.066 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.5163, allocations: 12.03 kB / 0.5099 GB, free: 3.055 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.5164, allocations: 44.3 kB / 0.51 GB, free: 3.012 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006703/0.5171, allocations: 461.2 kB / 0.5104 GB, free: 2.574 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.5171, allocations: 5.969 kB / 0.5104 GB, free: 2.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.648e-05/0.5172, allocations: 19.91 kB / 0.5104 GB, free: 2.551 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002158/0.5174, allocations: 126.1 kB / 0.5106 GB, free: 2.465 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003537/0.5178, allocations: 300.8 kB / 0.5108 GB, free: 2.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.5178, allocations: 0 / 0.5108 GB, free: 2.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.5178, allocations: 0 / 0.5108 GB, free: 2.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.5178, allocations: 11.94 kB / 0.5109 GB, free: 2.148 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.5189, allocations: 0.6313 MB / 0.5115 GB, free: 1.574 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004918/0.5194, allocations: 302.5 kB / 0.5118 GB, free: 1.344 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.5195, allocations: 95.47 kB / 0.5118 GB, free: 1.277 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.5195, allocations: 4.188 kB / 0.5119 GB, free: 1.273 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.5196, allocations: 43.86 kB / 0.5119 GB, free: 1.223 MB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 1.213e-06/0.5196, allocations: 0 / 0.5119 GB, free: 1.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004542/0.52, allocations: 270.3 kB / 0.5122 GB, free: 0.957 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001549/0.5202, allocations: 371.8 kB / 0.5125 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003543/0.5206, allocations: 333.1 kB / 0.5128 GB, free: 180 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.101e-05/0.5206, allocations: 25.7 kB / 0.5129 GB, free: 148 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.5208, allocations: 189.2 kB / 0.513 GB, free: 15.95 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.444e-05/0.5208, allocations: 86.72 kB / 0.5131 GB, free: 15.87 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.696e-05/0.5209, allocations: 2.812 kB / 0.5131 GB, free: 15.87 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.521, allocations: 358.8 kB / 0.5135 GB, free: 15.51 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.5213, allocations: 188.5 kB / 0.5136 GB, free: 15.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003394/0.5216, allocations: 278.4 kB / 0.5139 GB, free: 15.01 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004206/0.5221, allocations: 225.4 kB / 0.5141 GB, free: 14.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5221, allocations: 0 / 0.5141 GB, free: 14.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009894/0.5231, allocations: 0.5944 MB / 0.5147 GB, free: 14.19 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.5231, allocations: 8 kB / 0.5147 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.129e-05/0.5231, allocations: 11.98 kB / 0.5147 GB, free: 14.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000363/0.5235, allocations: 126.5 kB / 0.5148 GB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.5238, allocations: 59.91 kB / 0.5149 GB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.5238, allocations: 0 / 0.5149 GB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.524, allocations: 43.42 kB / 0.5149 GB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.316e-05/0.524, allocations: 19.95 kB / 0.515 GB, free: 13.91 MB / 394.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): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.5241, allocations: 116.9 kB / 0.5151 GB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.869e-05/0.5242, allocations: 35.53 kB / 0.5151 GB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.5243, allocations: 43.53 kB / 0.5151 GB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.5243, allocations: 0 / 0.5151 GB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.5244, allocations: 0 / 0.5151 GB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5244, allocations: 0 / 0.5151 GB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003356/0.5247, allocations: 313.7 kB / 0.5154 GB, free: 13.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.5247, allocations: 0 / 0.5154 GB, free: 13.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000285/0.525, allocations: 43.92 kB / 0.5155 GB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.525, allocations: 4 kB / 0.5155 GB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.5251, allocations: 11.98 kB / 0.5155 GB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.5251, allocations: 4 kB / 0.5155 GB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5251, allocations: 3.938 kB / 0.5155 GB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005563/0.5256, allocations: 478.9 kB / 0.516 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.461e-05/0.5257, allocations: 112.6 kB / 0.5161 GB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.137e-05/0.5258, allocations: 4 kB / 0.5161 GB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.526, allocations: 13.58 kB / 0.5161 GB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/0.526, allocations: 19.97 kB / 0.5161 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.526, allocations: 4 kB / 0.5161 GB, free: 12.65 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000236/0.5263, allocations: 251 kB / 0.5163 GB, free: 12.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5263, allocations: 3.938 kB / 0.5164 GB, free: 12.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002047/0.5283, allocations: 0.6832 MB / 0.517 GB, free: 11.72 MB / 394.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.001458/0.5298, allocations: 0.7218 MB / 0.5177 GB, free: 11 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009225/0.5308, allocations: 0.8249 MB / 0.5185 GB, free: 10.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.5308, allocations: 112 / 0.5185 GB, free: 10.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.5309, allocations: 112.6 kB / 0.5186 GB, free: 9.961 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004998/0.5314, allocations: 98.75 kB / 0.5187 GB, free: 9.871 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.5326, allocations: 0.7252 MB / 0.5194 GB, free: 9.125 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004824/0.5331, allocations: 0.8478 MB / 0.5203 GB, free: 8.254 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001931/0.5333, allocations: 71.23 kB / 0.5203 GB, free: 8.184 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.148e-05/0.5334, allocations: 27.44 kB / 0.5204 GB, free: 8.156 MB / 394.7 MB Notification: Performance of SimCode: time 4e-07/0.5334, allocations: 0 / 0.5204 GB, free: 8.156 MB / 394.7 MB Notification: Performance of Templates: time 0.0207/0.5541, allocations: 12.32 MB / 0.5324 GB, free: 11.9 MB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Filter.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Filter/Filter.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches