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.0009068/0.0009068, allocations: 90.59 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000873/0.000873, allocations: 197.9 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.7 MB / 246.8 MB, free: 11.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000243/0.000243, allocations: 8 kB / 307.7 MB, free: 0.8203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1044, allocations: 51.53 MB / 359.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002126/0.1066, allocations: 1.701 MB / 360.9 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006042/0.1127, allocations: 4.054 MB / 365 MB, free: 7.512 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.1128, allocations: 7.875 kB / 365 MB, free: 7.504 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004477/0.1133, allocations: 163.3 kB / 365.2 MB, free: 7.344 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.1134, allocations: 39.64 kB / 365.2 MB, free: 7.305 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003291/0.1167, allocations: 1.554 MB / 366.8 MB, free: 5.766 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000522/0.1173, allocations: 470.8 kB / 367.2 MB, free: 5.305 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.1174, allocations: 45.34 kB / 367.3 MB, free: 5.254 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.1176, allocations: 163.3 kB / 367.4 MB, free: 5.094 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002299/0.1179, allocations: 163.1 kB / 367.6 MB, free: 4.934 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.785e-05/0.1179, allocations: 12 kB / 367.6 MB, free: 4.922 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001952/0.1199, allocations: 1.729 MB / 369.3 MB, free: 3.191 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.12, allocations: 107.6 kB / 369.4 MB, free: 3.086 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.1202, allocations: 180.6 kB / 369.6 MB, free: 2.902 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001584/0.1218, allocations: 1.727 MB / 371.3 MB, free: 1.172 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1218, allocations: 0 / 371.3 MB, free: 1.172 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.1218, allocations: 4 kB / 371.3 MB, free: 1.168 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.1218, allocations: 7.938 kB / 371.3 MB, free: 1.16 MB / 302.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.001418/0.1232, allocations: 0.8335 MB / 372.2 MB, free: 280 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.1233, allocations: 16.03 kB / 372.2 MB, free: 264 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.853e-05/0.1234, allocations: 44.38 kB / 372.2 MB, free: 220 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2021/0.3255, allocations: 348.9 kB / 372.6 MB, free: 18.49 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.567e-05/0.3256, allocations: 14.94 kB / 372.6 MB, free: 18.49 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.015e-05/0.3257, allocations: 27.38 kB / 372.6 MB, free: 18.49 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006275/0.3263, allocations: 305 kB / 372.9 MB, free: 18.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3263, allocations: 0.9375 kB / 372.9 MB, free: 18.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.182e-05/0.3264, allocations: 8.781 kB / 372.9 MB, free: 18.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.3264, allocations: 4.203 kB / 372.9 MB, free: 18.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003525/0.3268, allocations: 152.2 kB / 373.1 MB, free: 18.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.328, allocations: 0.6784 MB / 373.8 MB, free: 18.06 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006672/0.3287, allocations: 322.7 kB / 374.1 MB, free: 18.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.3289, allocations: 108.5 kB / 374.2 MB, free: 18.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.3289, allocations: 2.094 kB / 374.2 MB, free: 18.03 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.3289, allocations: 42.56 kB / 374.2 MB, free: 17.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 2.174e-06/0.3289, allocations: 3.172 kB / 374.2 MB, free: 17.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0008328/0.3298, allocations: 387.9 kB / 374.6 MB, free: 17.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.3299, allocations: 367.9 kB / 375 MB, free: 17.49 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005923/0.3305, allocations: 407.9 kB / 375.4 MB, free: 17.38 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/0.3306, allocations: 33.95 kB / 375.4 MB, free: 17.35 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.3308, allocations: 197.4 kB / 375.6 MB, free: 17.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.368e-05/0.3309, allocations: 84.91 kB / 375.7 MB, free: 17.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.331, allocations: 59.41 kB / 375.7 MB, free: 17.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.3311, allocations: 355.7 kB / 376.1 MB, free: 16.87 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000429/0.3315, allocations: 207 kB / 376.3 MB, free: 16.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004353/0.332, allocations: 326.6 kB / 376.6 MB, free: 16.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005999/0.3326, allocations: 399.9 kB / 377 MB, free: 16.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.3326, allocations: 2.016 kB / 377 MB, free: 16.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001161/0.3338, allocations: 0.6546 MB / 377.6 MB, free: 16.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3338, allocations: 5.5 kB / 377.6 MB, free: 16.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.058e-05/0.3338, allocations: 11.14 kB / 377.7 MB, free: 16.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004299/0.3343, allocations: 126.2 kB / 377.8 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002803/0.3345, allocations: 68.98 kB / 377.8 MB, free: 16.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002936/0.3375, allocations: 4.228 MB / 382.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/0.3378, allocations: 60.05 kB / 382.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-05/0.3378, allocations: 9.219 kB / 382.1 MB, free: 12.2 MB / 302.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.0002239/0.338, allocations: 176.1 kB / 382.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.918e-05/0.3381, allocations: 37.31 kB / 382.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.478e-05/0.3382, allocations: 46.3 kB / 382.4 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.3382, allocations: 10.06 kB / 382.4 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3382, allocations: 1.25 kB / 382.4 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.3382, allocations: 5.25 kB / 382.4 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004473/0.3387, allocations: 343.5 kB / 382.7 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.3387, allocations: 0 / 382.7 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002859/0.339, allocations: 46.77 kB / 382.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.339, allocations: 1.156 kB / 382.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.081e-05/0.3391, allocations: 15.34 kB / 382.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3391, allocations: 0.75 kB / 382.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3391, allocations: 3.938 kB / 382.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007313/0.3398, allocations: 0.509 MB / 383.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/0.3399, allocations: 113 kB / 383.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.154e-05/0.3399, allocations: 15.84 kB / 383.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.3401, allocations: 15.11 kB / 383.5 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.108e-05/0.3402, allocations: 19.98 kB / 383.5 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.3402, allocations: 4.125 kB / 383.5 MB, free: 11.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003176/0.3405, allocations: 271.6 kB / 383.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3405, allocations: 1.656 kB / 383.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002619/0.3431, allocations: 0.657 MB / 384.4 MB, free: 11.19 MB / 302.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.002585/0.3457, allocations: 0.6724 MB / 385.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002022/0.3478, allocations: 0.9501 MB / 386 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/0.3478, allocations: 4.969 kB / 386 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002998/0.3481, allocations: 121.4 kB / 386.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007696/0.3489, allocations: 102 kB / 386.3 MB, free: 10.35 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.3505, allocations: 1.052 MB / 387.3 MB, free: 9.766 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.3509, allocations: 0.8379 MB / 388.1 MB, free: 9.059 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002726/0.3512, allocations: 72.03 kB / 388.2 MB, free: 9.047 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.837e-05/0.3513, allocations: 28.38 kB / 388.2 MB, free: 9.039 MB / 302.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3513, allocations: 0 / 388.2 MB, free: 9.039 MB / 302.1 MB Notification: Performance of Templates: time 0.02847/0.3798, allocations: 12.66 MB / 400.9 MB, free: 2.367 MB / 302.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