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.001722/0.001723, allocations: 112.6 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002277/0.002277, allocations: 203.9 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 6.013/6.013, allocations: 227.4 MB / 247.6 MB, free: 10.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002359/0.00236, allocations: 55.91 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5057/0.5081, allocations: 50.55 MB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.005622/0.5138, allocations: 2.021 MB / 411.9 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01135/0.5252, allocations: 3.713 MB / 415.7 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004568/0.5257, allocations: 11.88 kB / 415.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009676/0.5267, allocations: 183.1 kB / 415.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003666/0.5272, allocations: 43.58 kB / 415.9 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009398/0.5366, allocations: 1.949 MB / 417.8 MB, free: 9.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009951/0.5376, allocations: 498.8 kB / 418.3 MB, free: 9.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.5378, allocations: 49.06 kB / 418.4 MB, free: 9.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003713/0.5382, allocations: 187.3 kB / 418.6 MB, free: 8.941 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003732/0.5386, allocations: 171.1 kB / 418.7 MB, free: 8.773 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.5387, allocations: 24 kB / 418.7 MB, free: 8.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004573/0.5433, allocations: 1.795 MB / 420.5 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003579/0.5437, allocations: 119.6 kB / 420.7 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003914/0.5441, allocations: 170.9 kB / 420.8 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004049/0.5482, allocations: 1.777 MB / 422.6 MB, free: 4.887 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.097e-05/0.5482, allocations: 4 kB / 422.6 MB, free: 4.883 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5483, allocations: 0 / 422.6 MB, free: 4.883 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.387e-05/0.5483, allocations: 0 / 422.6 MB, free: 4.883 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.0036/0.5519, allocations: 0.8997 MB / 423.5 MB, free: 3.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.347e-05/0.552, allocations: 8.031 kB / 423.5 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002296/0.5522, allocations: 52.36 kB / 423.6 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000911/0.5532, allocations: 354.2 kB / 423.9 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.343e-05/0.5532, allocations: 16.66 kB / 423.9 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.5534, allocations: 28.31 kB / 424 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008524/0.5542, allocations: 311.5 kB / 424.3 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.5543, allocations: 0 / 424.3 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.268e-05/0.5543, allocations: 8 kB / 424.3 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.5544, allocations: 4 kB / 424.3 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005599/0.5549, allocations: 144.7 kB / 424.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002134/0.5571, allocations: 0.6833 MB / 425.1 MB, free: 2.207 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.5583, allocations: 326.5 kB / 425.4 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003366/0.5587, allocations: 108.8 kB / 425.5 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.5587, allocations: 0 / 425.5 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.5588, allocations: 34.56 kB / 425.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 3.206e-06/0.5588, allocations: 0 / 425.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001371/0.5602, allocations: 380.7 kB / 425.9 MB, free: 1.352 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002409/0.5605, allocations: 371.8 kB / 426.3 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008016/0.5613, allocations: 409.8 kB / 426.7 MB, free: 496 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.114e-05/0.5614, allocations: 33.7 kB / 426.7 MB, free: 456 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00024/0.5616, allocations: 196.7 kB / 426.9 MB, free: 256 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.5618, allocations: 86.8 kB / 427 MB, free: 168 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002651/0.5621, allocations: 97.69 kB / 427.1 MB, free: 64 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002403/0.5623, allocations: 362.7 kB / 427.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006458/0.563, allocations: 204.2 kB / 427.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007837/0.5638, allocations: 314.4 kB / 428 MB, free: 15.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.5649, allocations: 397.6 kB / 428.3 MB, free: 14.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.565, allocations: 0 / 428.3 MB, free: 14.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002128/0.5671, allocations: 0.6575 MB / 429 MB, free: 14.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.5672, allocations: 4 kB / 429 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.257e-05/0.5672, allocations: 11.92 kB / 429 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008496/0.5681, allocations: 122.5 kB / 429.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005504/0.5687, allocations: 63.89 kB / 429.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006345/0.575, allocations: 4.558 MB / 433.8 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004877/0.5756, allocations: 47.45 kB / 433.8 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.497e-05/0.5757, allocations: 12 kB / 433.8 MB, free: 8.848 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.000444/0.5762, allocations: 181.8 kB / 434 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.5763, allocations: 39.53 kB / 434 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001541/0.5765, allocations: 39.75 kB / 434.1 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.5765, allocations: 0 / 434.1 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.5766, allocations: 7.938 kB / 434.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.5766, allocations: 0 / 434.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007318/0.5773, allocations: 353.3 kB / 434.4 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.5773, allocations: 0 / 434.4 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006064/0.578, allocations: 47.86 kB / 434.5 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.578, allocations: 4 kB / 434.5 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-05/0.5781, allocations: 15.98 kB / 434.5 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.5781, allocations: 3.938 kB / 434.5 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.5781, allocations: 0 / 434.5 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/0.5794, allocations: 0.4987 MB / 435 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.5796, allocations: 108.6 kB / 435.1 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.5797, allocations: 19.92 kB / 435.1 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003414/0.5801, allocations: 15.98 kB / 435.1 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.751e-05/0.5802, allocations: 11.98 kB / 435.1 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.5802, allocations: 8 kB / 435.1 MB, free: 7.418 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005443/0.5808, allocations: 275.1 kB / 435.4 MB, free: 7.152 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.457e-06/0.5808, allocations: 0 / 435.4 MB, free: 7.152 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003193/0.584, allocations: 0.6561 MB / 436.1 MB, free: 6.496 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.003001/0.5871, allocations: 0.6721 MB / 436.7 MB, free: 5.824 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002624/0.5897, allocations: 0.9492 MB / 437.7 MB, free: 4.793 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.924e-06/0.5897, allocations: 4 kB / 437.7 MB, free: 4.789 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004005/0.5902, allocations: 121 kB / 437.8 MB, free: 4.672 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.5914, allocations: 118.1 kB / 437.9 MB, free: 4.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002785/0.5942, allocations: 0.9442 MB / 438.9 MB, free: 3.582 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007409/0.5949, allocations: 0.838 MB / 439.7 MB, free: 2.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.5951, allocations: 31.44 kB / 439.7 MB, free: 2.684 MB / 350.1 MB Notification: Performance of SimCode: time 1.242e-06/0.5951, allocations: 0 / 439.7 MB, free: 2.684 MB / 350.1 MB Notification: Performance of Templates: time 0.03593/0.6311, allocations: 12.2 MB / 452 MB, free: 6.488 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches