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.001019/0.001019, allocations: 203.2 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.195/1.195, allocations: 227.2 MB / 245 MB, free: 7.605 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000872/0.000872, allocations: 94.98 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001938/0.0001939, allocations: 4 kB / 357.9 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1685, allocations: 51.48 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0951/0.2636, allocations: 91.15 MB / 0.4888 GB, free: 15.45 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001838/0.2639, allocations: 72.97 kB / 0.4889 GB, free: 15.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2299/0.4938, allocations: 35.88 MB / 0.5239 GB, free: 86.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4939, allocations: 0 / 0.5239 GB, free: 86.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.303e-05/0.4939, allocations: 19.41 kB / 0.5239 GB, free: 86.42 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.001743/0.4957, allocations: 0.9014 MB / 0.5248 GB, free: 85.81 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.4957, allocations: 8.5 kB / 0.5248 GB, free: 85.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.4958, allocations: 47.41 kB / 0.5249 GB, free: 85.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000664/0.4965, allocations: 452.5 kB / 0.5253 GB, free: 85.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.4965, allocations: 16.22 kB / 0.5253 GB, free: 85.42 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.749e-05/0.4966, allocations: 27.62 kB / 0.5254 GB, free: 85.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003521/0.497, allocations: 338.3 kB / 0.5257 GB, free: 85.06 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.497, allocations: 0 / 0.5257 GB, free: 85.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.497, allocations: 11.94 kB / 0.5257 GB, free: 85.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.497, allocations: 4 kB / 0.5257 GB, free: 85.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002238/0.4973, allocations: 149.3 kB / 0.5258 GB, free: 84.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.4983, allocations: 0.6862 MB / 0.5265 GB, free: 84.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005037/0.4988, allocations: 322.4 kB / 0.5268 GB, free: 84.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.4988, allocations: 4.188 kB / 0.5268 GB, free: 84.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.4988, allocations: 39.12 kB / 0.5269 GB, free: 84.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 1.904e-06/0.4988, allocations: 0 / 0.5269 GB, free: 84.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005532/0.4994, allocations: 392.2 kB / 0.5272 GB, free: 83.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.4995, allocations: 367.8 kB / 0.5276 GB, free: 83.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.4997, allocations: 356.3 kB / 0.5279 GB, free: 82.92 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.4998, allocations: 33.7 kB / 0.5279 GB, free: 82.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.744e-05/0.4999, allocations: 199.6 kB / 0.5281 GB, free: 82.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.198e-05/0.4999, allocations: 86.11 kB / 0.5282 GB, free: 82.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.679e-05/0.4999, allocations: 4 kB / 0.5282 GB, free: 82.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.773e-05/0.5, allocations: 356.8 kB / 0.5286 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/0.5003, allocations: 195.5 kB / 0.5288 GB, free: 82.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002857/0.5006, allocations: 312.4 kB / 0.529 GB, free: 81.81 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.5008, allocations: 245.3 kB / 0.5293 GB, free: 81.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5008, allocations: 0 / 0.5293 GB, free: 81.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008368/0.5017, allocations: 0.6334 MB / 0.5299 GB, free: 81.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.5017, allocations: 4 kB / 0.5299 GB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.772e-05/0.5017, allocations: 11.28 kB / 0.5299 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003763/0.5021, allocations: 135.9 kB / 0.53 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.5024, allocations: 62.22 kB / 0.5301 GB, free: 80.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/0.5045, allocations: 4.258 MB / 0.5343 GB, free: 76.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.5047, allocations: 55.44 kB / 0.5343 GB, free: 76.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.801e-05/0.5047, allocations: 12 kB / 0.5343 GB, free: 76.32 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.0001431/0.5049, allocations: 177.3 kB / 0.5345 GB, free: 76.15 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.5049, allocations: 39.53 kB / 0.5345 GB, free: 76.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.907e-05/0.505, allocations: 47.45 kB / 0.5346 GB, free: 76.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.505, allocations: 0 / 0.5346 GB, free: 76.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.505, allocations: 4 kB / 0.5346 GB, free: 76.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.505, allocations: 11.75 kB / 0.5346 GB, free: 76.06 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.5053, allocations: 341.9 kB / 0.5349 GB, free: 75.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.5053, allocations: 4 kB / 0.5349 GB, free: 75.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002682/0.5056, allocations: 43.67 kB / 0.535 GB, free: 75.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.5056, allocations: 4 kB / 0.535 GB, free: 75.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.5056, allocations: 8 kB / 0.535 GB, free: 75.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.5056, allocations: 0 / 0.535 GB, free: 75.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5056, allocations: 7.781 kB / 0.535 GB, free: 75.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005174/0.5061, allocations: 0.5102 MB / 0.5355 GB, free: 75.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/0.5062, allocations: 116.2 kB / 0.5356 GB, free: 75.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.278e-05/0.5062, allocations: 8 kB / 0.5356 GB, free: 75.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.5064, allocations: 15.66 kB / 0.5356 GB, free: 75.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.5065, allocations: 15.75 kB / 0.5356 GB, free: 75.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.5065, allocations: 7.844 kB / 0.5356 GB, free: 75.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001873/0.5067, allocations: 269.6 kB / 0.5359 GB, free: 74.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5067, allocations: 3.938 kB / 0.5359 GB, free: 74.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001666/0.5084, allocations: 0.7007 MB / 0.5366 GB, free: 74.12 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.001734/0.5101, allocations: 0.7197 MB / 0.5373 GB, free: 73.42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009715/0.5111, allocations: 0.9481 MB / 0.5382 GB, free: 72.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.5111, allocations: 0 / 0.5382 GB, free: 72.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.5113, allocations: 128.5 kB / 0.5383 GB, free: 72.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.5117, allocations: 95.48 kB / 0.5384 GB, free: 72.26 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.5128, allocations: 1.01 MB / 0.5394 GB, free: 71.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.513, allocations: 0.8535 MB / 0.5402 GB, free: 70.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001811/0.5132, allocations: 58.94 kB / 0.5403 GB, free: 70.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.862e-05/0.5133, allocations: 31.38 kB / 0.5403 GB, free: 70.25 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.5133, allocations: 0 / 0.5403 GB, free: 70.25 MB / 378.7 MB Notification: Performance of Templates: time 0.01573/0.529, allocations: 12.36 MB / 0.5524 GB, free: 57.92 MB / 378.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