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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001241/0.001241, allocations: 117.2 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001287/0.001287, allocations: 208.6 kB / 18.74 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 59.91 kB / 358.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3541, allocations: 50.54 MB / 409.2 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003352/0.3575, allocations: 2.024 MB / 411.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006066/0.3636, allocations: 3.721 MB / 415 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002016/0.3638, allocations: 11.88 kB / 415 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005247/0.3643, allocations: 175.1 kB / 415.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.3645, allocations: 43.58 kB / 415.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004743/0.3693, allocations: 1.954 MB / 417.2 MB, free: 9.703 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006387/0.3699, allocations: 498.8 kB / 417.6 MB, free: 9.215 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.3701, allocations: 49.08 kB / 417.7 MB, free: 9.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.3703, allocations: 179.4 kB / 417.9 MB, free: 8.984 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002814/0.3706, allocations: 171.1 kB / 418 MB, free: 8.816 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.206e-05/0.3706, allocations: 24 kB / 418.1 MB, free: 8.793 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002563/0.3732, allocations: 1.795 MB / 419.9 MB, free: 6.996 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.3734, allocations: 123.6 kB / 420 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001436/0.3735, allocations: 167 kB / 420.1 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001875/0.3754, allocations: 1.781 MB / 421.9 MB, free: 4.926 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3754, allocations: 4 kB / 421.9 MB, free: 4.922 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3754, allocations: 0 / 421.9 MB, free: 4.922 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.3754, allocations: 0 / 421.9 MB, free: 4.922 MB / 334.1 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.001842/0.3773, allocations: 0.9035 MB / 422.8 MB, free: 3.965 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.3774, allocations: 8.031 kB / 422.8 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.3775, allocations: 48.38 kB / 422.9 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005269/0.378, allocations: 354.2 kB / 423.2 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/0.378, allocations: 16.66 kB / 423.2 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.344e-05/0.3781, allocations: 24.38 kB / 423.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007426/0.3789, allocations: 311.6 kB / 423.6 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.3789, allocations: 4 kB / 423.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.291e-05/0.3789, allocations: 8 kB / 423.6 MB, free: 3.125 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.3789, allocations: 7.938 kB / 423.6 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003076/0.3793, allocations: 144.7 kB / 423.7 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.3805, allocations: 0.6794 MB / 424.4 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006492/0.3811, allocations: 322.7 kB / 424.7 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.3813, allocations: 108.8 kB / 424.8 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.3814, allocations: 0 / 424.8 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.3814, allocations: 34.56 kB / 424.9 MB, free: 1.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.403e-06/0.3814, allocations: 4 kB / 424.9 MB, free: 1.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007934/0.3822, allocations: 380.2 kB / 425.2 MB, free: 1.391 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004637/0.3827, allocations: 367.8 kB / 425.6 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006248/0.3833, allocations: 409.8 kB / 426 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.341e-05/0.3834, allocations: 29.7 kB / 426 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/0.3836, allocations: 196.7 kB / 426.2 MB, free: 304 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.288e-05/0.3837, allocations: 82.81 kB / 426.3 MB, free: 220 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/0.3839, allocations: 109.6 kB / 426.4 MB, free: 104 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002227/0.3842, allocations: 366.7 kB / 426.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003463/0.3845, allocations: 204.2 kB / 427 MB, free: 15.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004733/0.385, allocations: 314.5 kB / 427.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006897/0.3857, allocations: 397.5 kB / 427.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.3857, allocations: 0 / 427.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001345/0.3871, allocations: 0.6497 MB / 428.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.3871, allocations: 7.125 kB / 428.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.445e-05/0.3871, allocations: 15.98 kB / 428.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000498/0.3877, allocations: 126.4 kB / 428.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/0.3879, allocations: 59.95 kB / 428.5 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004118/0.3921, allocations: 4.558 MB / 433.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002808/0.3924, allocations: 51.61 kB / 433.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.799e-05/0.3924, allocations: 12 kB / 433.1 MB, free: 8.883 MB / 350.1 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003034/0.3927, allocations: 173.8 kB / 433.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.3928, allocations: 43.52 kB / 433.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.388e-05/0.3929, allocations: 39.75 kB / 433.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.3929, allocations: 0 / 433.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.393, allocations: 11.94 kB / 433.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.393, allocations: 0 / 433.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004646/0.3934, allocations: 353.3 kB / 433.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3934, allocations: 0 / 433.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002833/0.3937, allocations: 35.98 kB / 433.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.3938, allocations: 4 kB / 433.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.136e-05/0.3938, allocations: 11.98 kB / 433.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.3938, allocations: 11.88 kB / 433.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3938, allocations: 0 / 433.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006897/0.3945, allocations: 0.5026 MB / 434.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.3946, allocations: 108.6 kB / 434.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.706e-05/0.3947, allocations: 19.92 kB / 434.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.3949, allocations: 15.98 kB / 434.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.035e-05/0.3949, allocations: 7.984 kB / 434.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.3949, allocations: 8 kB / 434.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002824/0.3952, allocations: 271.1 kB / 434.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3952, allocations: 0 / 434.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002357/0.3976, allocations: 0.66 MB / 435.4 MB, free: 6.539 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00139/0.399, allocations: 0.6818 MB / 436.1 MB, free: 5.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001464/0.4005, allocations: 0.9492 MB / 437 MB, free: 4.824 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.4005, allocations: 0 / 437 MB, free: 4.824 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002714/0.4008, allocations: 117 kB / 437.1 MB, free: 4.711 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005777/0.4013, allocations: 106.7 kB / 437.2 MB, free: 4.613 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.4028, allocations: 0.8995 MB / 438.1 MB, free: 3.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006362/0.4034, allocations: 0.8419 MB / 439 MB, free: 2.809 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001776/0.4036, allocations: 66.92 kB / 439 MB, free: 2.742 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.212e-05/0.4037, allocations: 35.44 kB / 439.1 MB, free: 2.707 MB / 350.1 MB Notification: Performance of SimCode: time 4.2e-07/0.4037, allocations: 0 / 439.1 MB, free: 2.707 MB / 350.1 MB Notification: Performance of Templates: time 0.02453/0.4282, allocations: 12.99 MB / 452.1 MB, free: 5.742 MB / 366.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches