Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001956/0.001956, allocations: 209.6 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.501/1.501, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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.1.0_Modelica.Blocks.Examples.Filter") translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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.1.0_Modelica.Blocks.Examples.Filter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 51.86 kB / 378.2 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.269, allocations: 53.36 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003499/0.2725, allocations: 1.924 MB / 433.5 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006688/0.2792, allocations: 3.503 MB / 437 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002312/0.2794, allocations: 19.75 kB / 437 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005606/0.28, allocations: 191.1 kB / 437.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001337/0.2801, allocations: 47.59 kB / 437.2 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006484/0.2866, allocations: 1.946 MB / 439.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008462/0.2875, allocations: 0.4988 MB / 439.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.2876, allocations: 37.2 kB / 439.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002406/0.2879, allocations: 183.4 kB / 439.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002942/0.2882, allocations: 167.2 kB / 440.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.153e-05/0.2882, allocations: 24 kB / 440.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003308/0.2915, allocations: 1.912 MB / 442 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002133/0.2917, allocations: 127.5 kB / 442.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001807/0.2919, allocations: 131.2 kB / 442.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002292/0.2942, allocations: 1.815 MB / 444.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.2942, allocations: 0 / 444.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.2942, allocations: 0 / 444.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.866e-06/0.2942, allocations: 0 / 444.1 MB, free: 10.19 MB / 350.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.001935/0.2962, allocations: 0.8429 MB / 444.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.2962, allocations: 15.97 kB / 444.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.2963, allocations: 48.61 kB / 445 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005658/0.2969, allocations: 283.4 kB / 445.3 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.2969, allocations: 16.66 kB / 445.3 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.546e-05/0.297, allocations: 28.33 kB / 445.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007535/0.2978, allocations: 0.6096 MB / 445.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.2978, allocations: 0 / 445.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/0.2978, allocations: 8 kB / 445.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.2978, allocations: 8 kB / 445.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000314/0.2981, allocations: 152.6 kB / 446.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.2994, allocations: 0.5583 MB / 446.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007101/0.3001, allocations: 314.5 kB / 446.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.3003, allocations: 104.7 kB / 447 MB, free: 7.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.3003, allocations: 4 kB / 447 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.3003, allocations: 38.56 kB / 447.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.372e-06/0.3003, allocations: 0 / 447.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0008378/0.3012, allocations: 392.2 kB / 447.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002485/0.3014, allocations: 367.8 kB / 447.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004998/0.3019, allocations: 405.8 kB / 448.2 MB, free: 5.715 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.721e-05/0.302, allocations: 33.7 kB / 448.3 MB, free: 5.676 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.3021, allocations: 200.9 kB / 448.4 MB, free: 5.473 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.302e-05/0.3022, allocations: 87.3 kB / 448.5 MB, free: 5.387 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.3024, allocations: 101.7 kB / 448.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.3026, allocations: 362.7 kB / 449 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003576/0.3029, allocations: 204.2 kB / 449.2 MB, free: 4.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006336/0.3036, allocations: 0.6079 MB / 449.8 MB, free: 4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006359/0.3042, allocations: 400.7 kB / 450.2 MB, free: 3.605 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3042, allocations: 0 / 450.2 MB, free: 3.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001238/0.3054, allocations: 0.6489 MB / 450.8 MB, free: 2.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3055, allocations: 8 kB / 450.8 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.988e-05/0.3055, allocations: 11.98 kB / 450.9 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004858/0.306, allocations: 130.5 kB / 451 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000319/0.3063, allocations: 59.91 kB / 451 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003978/0.3103, allocations: 4.187 MB / 455.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/0.3105, allocations: 43.69 kB / 455.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.585e-05/0.3105, allocations: 12 kB / 455.3 MB, free: 14.17 MB / 366.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.0002215/0.3108, allocations: 181.7 kB / 455.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.223e-05/0.3109, allocations: 43.72 kB / 455.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.679e-05/0.3109, allocations: 39.84 kB / 455.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3109, allocations: 4.094 kB / 455.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-06/0.3109, allocations: 4 kB / 455.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3109, allocations: 0 / 455.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003517/0.3113, allocations: 264.9 kB / 455.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3113, allocations: 0 / 455.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003213/0.3116, allocations: 39.92 kB / 455.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3116, allocations: 0 / 455.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.188e-05/0.3117, allocations: 11.98 kB / 455.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.3117, allocations: 4 kB / 455.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3117, allocations: 0 / 455.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007629/0.3124, allocations: 0.5067 MB / 456.4 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-05/0.3125, allocations: 39.66 kB / 456.4 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.876e-05/0.3125, allocations: 19.98 kB / 456.4 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.3127, allocations: 15.98 kB / 456.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.3128, allocations: 15.92 kB / 456.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/0.3128, allocations: 7.984 kB / 456.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003035/0.3131, allocations: 271.1 kB / 456.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3131, allocations: 0 / 456.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001894/0.315, allocations: 0.6559 MB / 457.4 MB, free: 12.02 MB / 366.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.001378/0.3164, allocations: 0.6628 MB / 458 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001547/0.3179, allocations: 0.9218 MB / 459 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3179, allocations: 0 / 459 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002287/0.3182, allocations: 125.3 kB / 459.1 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006365/0.3188, allocations: 123.7 kB / 459.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.3204, allocations: 0.9153 MB / 460.1 MB, free: 9.168 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.3206, allocations: 241 kB / 460.4 MB, free: 8.914 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002016/0.3208, allocations: 66.92 kB / 460.4 MB, free: 8.848 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.264e-05/0.3209, allocations: 27.44 kB / 460.5 MB, free: 8.82 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3209, allocations: 0 / 460.5 MB, free: 8.82 MB / 366.1 MB Notification: Performance of Templates: time 0.02476/0.3457, allocations: 13.8 MB / 474.3 MB, free: 11.11 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Filter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Filter.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.034238921012729]