Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Filter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 111.8 kB / 17.74 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 189.6 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009265/0.0009265, allocations: 47.92 kB / 352 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2758, allocations: 49.43 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003103/0.2789, allocations: 2.012 MB / 403.4 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005537/0.2845, allocations: 3.667 MB / 407.1 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001745/0.2847, allocations: 11.88 kB / 407.1 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000509/0.2852, allocations: 183.1 kB / 407.3 MB, free: 2.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.2854, allocations: 39.59 kB / 407.3 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004064/0.2895, allocations: 1.94 MB / 409.2 MB, free: 1.023 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005532/0.29, allocations: 0.4949 MB / 409.7 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.2902, allocations: 41.09 kB / 409.8 MB, free: 496 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.2904, allocations: 183.3 kB / 410 MB, free: 312 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/0.2906, allocations: 175.1 kB / 410.1 MB, free: 136 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.902e-05/0.2907, allocations: 24 kB / 410.1 MB, free: 112 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002166/0.2928, allocations: 1.783 MB / 411.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.293, allocations: 119.6 kB / 412 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.2931, allocations: 163 kB / 412.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001649/0.2948, allocations: 1.777 MB / 414 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2948, allocations: 4 kB / 414 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.2948, allocations: 0 / 414 MB, free: 12.26 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.2948, allocations: 0 / 414 MB, free: 12.26 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.001421/0.2963, allocations: 0.8997 MB / 414.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.2963, allocations: 8.031 kB / 414.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.723e-05/0.2964, allocations: 48.38 kB / 414.9 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004156/0.2968, allocations: 346.3 kB / 415.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.2969, allocations: 20.22 kB / 415.3 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.39e-05/0.2969, allocations: 27.91 kB / 415.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004446/0.2974, allocations: 307 kB / 415.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.2974, allocations: 3.984 kB / 415.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.2974, allocations: 8 kB / 415.6 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.2974, allocations: 4 kB / 415.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002663/0.2977, allocations: 148.7 kB / 415.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.2988, allocations: 0.6639 MB / 416.5 MB, free: 9.605 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006074/0.2994, allocations: 336.6 kB / 416.8 MB, free: 9.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.2996, allocations: 104.8 kB / 416.9 MB, free: 9.164 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.2996, allocations: 3.938 kB / 416.9 MB, free: 9.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.2997, allocations: 38.56 kB / 416.9 MB, free: 9.113 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.363e-06/0.2997, allocations: 0 / 416.9 MB, free: 9.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006555/0.3003, allocations: 387.9 kB / 417.3 MB, free: 8.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001713/0.3005, allocations: 367.8 kB / 417.7 MB, free: 8.285 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003953/0.3009, allocations: 413.7 kB / 418.1 MB, free: 7.863 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.301, allocations: 29.7 kB / 418.1 MB, free: 7.828 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.3011, allocations: 204.7 kB / 418.3 MB, free: 7.625 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.691e-05/0.3012, allocations: 78.81 kB / 418.4 MB, free: 7.547 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.3013, allocations: 101.7 kB / 418.5 MB, free: 7.441 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3015, allocations: 358.8 kB / 418.8 MB, free: 7.082 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/0.3018, allocations: 204.4 kB / 419 MB, free: 6.883 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/0.3022, allocations: 310.4 kB / 419.3 MB, free: 6.543 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005464/0.3027, allocations: 401.6 kB / 419.7 MB, free: 6.148 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3027, allocations: 3.938 kB / 419.7 MB, free: 6.145 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001029/0.3038, allocations: 0.6458 MB / 420.4 MB, free: 5.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.3038, allocations: 6.656 kB / 420.4 MB, free: 5.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.891e-05/0.3038, allocations: 11.98 kB / 420.4 MB, free: 5.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004115/0.3043, allocations: 130.5 kB / 420.5 MB, free: 5.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/0.3045, allocations: 59.91 kB / 420.6 MB, free: 5.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003468/0.308, allocations: 4.558 MB / 425.1 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.3082, allocations: 47.45 kB / 425.2 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.3083, allocations: 16.09 kB / 425.2 MB, free: 236 kB / 334.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.0001892/0.3085, allocations: 181.7 kB / 425.4 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.051e-05/0.3085, allocations: 43.53 kB / 425.4 MB, free: 0 / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.747e-05/0.3086, allocations: 43.69 kB / 425.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.3086, allocations: 4 kB / 425.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.3087, allocations: 0 / 425.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.3087, allocations: 0 / 425.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003412/0.309, allocations: 345.3 kB / 425.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.309, allocations: 8 kB / 425.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002735/0.3093, allocations: 43.92 kB / 425.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.3093, allocations: 11.92 kB / 425.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.3094, allocations: 8 kB / 425.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3094, allocations: 0 / 425.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3094, allocations: 3.984 kB / 425.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000633/0.31, allocations: 0.4987 MB / 426.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.823e-05/0.3101, allocations: 116.5 kB / 426.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.3101, allocations: 15.98 kB / 426.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.3103, allocations: 15.98 kB / 426.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.3104, allocations: 7.984 kB / 426.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.3104, allocations: 8 kB / 426.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002491/0.3107, allocations: 283 kB / 426.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3107, allocations: 0 / 426.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001759/0.3124, allocations: 0.6484 MB / 427.5 MB, free: 13.88 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.001268/0.3137, allocations: 0.6695 MB / 428.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0013/0.315, allocations: 0.9462 MB / 429.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.315, allocations: 0 / 429.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.3152, allocations: 127 kB / 429.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005571/0.3158, allocations: 112.3 kB / 429.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.3172, allocations: 0.948 MB / 430.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.3176, allocations: 0.8419 MB / 431.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.53e-05/0.3177, allocations: 31.44 kB / 431.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3177, allocations: 0 / 431.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of Templates: time 0.01621/0.3339, allocations: 12.11 MB / 443.2 MB, free: 13.96 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches