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.001293/0.001293, allocations: 177.9 kB / 8.699 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008708/0.0008708, allocations: 86.23 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.851e-05/1.854e-05, allocations: 7.984 kB / 315.5 MB, free: 22.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08723/0.08726, allocations: 47.58 MB / 363.1 MB, free: 7.09 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3088/0.3961, allocations: 89.07 MB / 452.1 MB, free: 6.832 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/0.3963, allocations: 70.45 kB / 452.2 MB, free: 6.797 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09583/0.4922, allocations: 35.38 MB / 487.6 MB, free: 8.031 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.4922, allocations: 0 / 487.6 MB, free: 8.031 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.237e-05/0.4923, allocations: 15.94 kB / 487.6 MB, free: 8.016 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.002158/0.4944, allocations: 0.812 MB / 488.4 MB, free: 7.184 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.4945, allocations: 8.031 kB / 488.4 MB, free: 7.176 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.4947, allocations: 47.44 kB / 488.5 MB, free: 7.129 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008211/0.4955, allocations: 455.8 kB / 488.9 MB, free: 6.688 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.4956, allocations: 4 kB / 488.9 MB, free: 6.684 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-05/0.4956, allocations: 19.84 kB / 488.9 MB, free: 6.664 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000252/0.4959, allocations: 128.4 kB / 489.1 MB, free: 6.578 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003945/0.4963, allocations: 303.7 kB / 489.4 MB, free: 6.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.4963, allocations: 0 / 489.4 MB, free: 6.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.4964, allocations: 0 / 489.4 MB, free: 6.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.4964, allocations: 4 kB / 489.4 MB, free: 6.266 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.4976, allocations: 0.6286 MB / 490 MB, free: 5.695 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005468/0.4981, allocations: 298.2 kB / 490.3 MB, free: 5.469 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.4983, allocations: 101.6 kB / 490.4 MB, free: 5.395 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.4983, allocations: 4.188 kB / 490.4 MB, free: 5.391 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.4984, allocations: 34 kB / 490.4 MB, free: 5.352 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 3.256e-06/0.4984, allocations: 3.984 kB / 490.4 MB, free: 5.348 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004492/0.4988, allocations: 268 kB / 490.7 MB, free: 5.133 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001477/0.499, allocations: 367.8 kB / 491 MB, free: 4.688 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003513/0.4993, allocations: 336.8 kB / 491.4 MB, free: 4.418 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.652e-05/0.4994, allocations: 29.7 kB / 491.4 MB, free: 4.383 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.4995, allocations: 189.7 kB / 491.6 MB, free: 4.258 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.53e-05/0.4996, allocations: 85.78 kB / 491.7 MB, free: 4.184 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/0.4996, allocations: 112 / 491.7 MB, free: 4.184 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.4998, allocations: 360.3 kB / 492 MB, free: 3.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/0.5, allocations: 187.6 kB / 492.2 MB, free: 3.711 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003246/0.5004, allocations: 287.1 kB / 492.5 MB, free: 3.457 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004348/0.5008, allocations: 221.1 kB / 492.7 MB, free: 3.305 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.5008, allocations: 0 / 492.7 MB, free: 3.305 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001018/0.5019, allocations: 0.5973 MB / 493.3 MB, free: 2.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.5019, allocations: 4 kB / 493.3 MB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.88e-05/0.5019, allocations: 15.92 kB / 493.3 MB, free: 2.801 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003924/0.5023, allocations: 119.1 kB / 493.4 MB, free: 2.695 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/0.5026, allocations: 63.41 kB / 493.5 MB, free: 2.637 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.5026, allocations: 8 kB / 493.5 MB, free: 2.629 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.5028, allocations: 47.42 kB / 493.5 MB, free: 2.582 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-05/0.5029, allocations: 23.23 kB / 493.6 MB, free: 2.562 MB / 362.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.0001172/0.503, allocations: 112.9 kB / 493.7 MB, free: 2.445 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-05/0.5031, allocations: 35.53 kB / 493.7 MB, free: 2.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.075e-05/0.5032, allocations: 39.59 kB / 493.8 MB, free: 2.387 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.5032, allocations: 4 kB / 493.8 MB, free: 2.383 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.5032, allocations: 4 kB / 493.8 MB, free: 2.379 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.5032, allocations: 0 / 493.8 MB, free: 2.379 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00033/0.5035, allocations: 317.2 kB / 494.1 MB, free: 2.082 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.5036, allocations: 0 / 494.1 MB, free: 2.082 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002922/0.5039, allocations: 43.91 kB / 494.1 MB, free: 2.039 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.5039, allocations: 0 / 494.1 MB, free: 2.039 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/0.5039, allocations: 7.062 kB / 494.1 MB, free: 2.035 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.5039, allocations: 0 / 494.1 MB, free: 2.035 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.5039, allocations: 0 / 494.1 MB, free: 2.035 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005679/0.5045, allocations: 493.8 kB / 494.6 MB, free: 1.625 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.232e-05/0.5046, allocations: 112.6 kB / 494.7 MB, free: 1.496 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.309e-05/0.5047, allocations: 7.984 kB / 494.7 MB, free: 1.488 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.5048, allocations: 4 kB / 494.7 MB, free: 1.484 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.5049, allocations: 19.53 kB / 494.7 MB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.5049, allocations: 4.109 kB / 494.7 MB, free: 1.465 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002407/0.5052, allocations: 251.4 kB / 495 MB, free: 1.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5052, allocations: 0 / 495 MB, free: 1.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002099/0.5073, allocations: 0.6796 MB / 495.7 MB, free: 0.5898 MB / 362.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.002413/0.5097, allocations: 0.6918 MB / 496.4 MB, free: 15.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001004/0.5107, allocations: 0.8227 MB / 497.2 MB, free: 14.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/0.5107, allocations: 8 kB / 497.2 MB, free: 14.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.5109, allocations: 115.8 kB / 497.3 MB, free: 14.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005447/0.5115, allocations: 102.2 kB / 497.4 MB, free: 14.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.5127, allocations: 0.7249 MB / 498.1 MB, free: 13.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.5131, allocations: 0.8496 MB / 499 MB, free: 13.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002066/0.5133, allocations: 75.22 kB / 499.1 MB, free: 13.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.027e-05/0.5134, allocations: 27.44 kB / 499.1 MB, free: 13.01 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.5134, allocations: 0 / 499.1 MB, free: 13.01 MB / 378.7 MB Notification: Performance of Templates: time 0.02205/0.5354, allocations: 12.26 MB / 0.4994 GB, free: 0.7344 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