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.001856/0.001856, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002233/0.002233, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.553/1.553, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.001567/0.001567, allocations: 47.92 kB / 378.2 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2977, allocations: 53.36 MB / 431.6 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003382/0.3011, allocations: 2.046 MB / 433.7 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006573/0.3077, allocations: 3.772 MB / 437.4 MB, free: 1.098 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002086/0.3079, allocations: 19.75 kB / 437.4 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005906/0.3085, allocations: 187.1 kB / 437.6 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.3086, allocations: 43.59 kB / 437.7 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005198/0.3138, allocations: 1.937 MB / 439.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007215/0.3145, allocations: 0.5066 MB / 440.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.3147, allocations: 29.27 kB / 440.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002173/0.3149, allocations: 187.3 kB / 440.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002668/0.3152, allocations: 175.2 kB / 440.5 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.498e-05/0.3152, allocations: 20 kB / 440.5 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002872/0.3181, allocations: 1.924 MB / 442.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001708/0.3182, allocations: 119.6 kB / 442.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.3184, allocations: 174.8 kB / 442.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002184/0.3206, allocations: 1.803 MB / 444.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3206, allocations: 0 / 444.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3206, allocations: 3.938 kB / 444.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.3206, allocations: 0 / 444.5 MB, free: 9.984 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.001576/0.3222, allocations: 0.8391 MB / 445.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.3223, allocations: 12.03 kB / 445.4 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.642e-05/0.3223, allocations: 48.61 kB / 445.4 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004777/0.3228, allocations: 295.4 kB / 445.7 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.3228, allocations: 12.66 kB / 445.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.269e-05/0.3229, allocations: 32.31 kB / 445.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004816/0.3234, allocations: 311.8 kB / 446.1 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.3234, allocations: 0 / 446.1 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/0.3234, allocations: 12 kB / 446.1 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.3234, allocations: 8 kB / 446.1 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002849/0.3237, allocations: 140.7 kB / 446.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.3249, allocations: 0.6397 MB / 446.9 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006441/0.3256, allocations: 320 kB / 447.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.3258, allocations: 108.8 kB / 447.3 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.3258, allocations: 7.984 kB / 447.3 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.3258, allocations: 38.56 kB / 447.3 MB, free: 7.023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.242e-06/0.3258, allocations: 0 / 447.3 MB, free: 7.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007195/0.3265, allocations: 387.2 kB / 447.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002213/0.3268, allocations: 367.8 kB / 448.1 MB, free: 6.195 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004448/0.3272, allocations: 405.8 kB / 448.5 MB, free: 5.789 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.3272, allocations: 37.7 kB / 448.5 MB, free: 5.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.3274, allocations: 196.9 kB / 448.7 MB, free: 5.547 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.698e-05/0.3275, allocations: 87.28 kB / 448.8 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.3276, allocations: 97.67 kB / 448.9 MB, free: 5.359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.3278, allocations: 358.7 kB / 449.2 MB, free: 5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/0.3282, allocations: 212.1 kB / 449.4 MB, free: 4.793 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004391/0.3286, allocations: 314 kB / 449.7 MB, free: 4.449 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006079/0.3292, allocations: 400.7 kB / 450.1 MB, free: 4.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3292, allocations: 0 / 450.1 MB, free: 4.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00114/0.3304, allocations: 0.6528 MB / 450.8 MB, free: 3.387 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3304, allocations: 8 kB / 450.8 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.127e-05/0.3304, allocations: 8 kB / 450.8 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004341/0.3308, allocations: 130.5 kB / 450.9 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.3311, allocations: 67.89 kB / 451 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004029/0.3352, allocations: 4.244 MB / 455.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.3354, allocations: 43.7 kB / 455.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.3354, allocations: 16.14 kB / 455.3 MB, free: 14.52 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.0002544/0.3357, allocations: 181.6 kB / 455.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.846e-05/0.3358, allocations: 47.66 kB / 455.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.121e-05/0.3358, allocations: 43.84 kB / 455.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3358, allocations: 4 kB / 455.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3359, allocations: 3.938 kB / 455.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.3359, allocations: 7.984 kB / 455.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004395/0.3363, allocations: 320.4 kB / 455.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3363, allocations: 0 / 455.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002933/0.3366, allocations: 43.91 kB / 455.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3366, allocations: 4 kB / 455.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.3366, allocations: 8 kB / 455.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/0.3366, allocations: 7.922 kB / 456 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3366, allocations: 0 / 456 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007621/0.3374, allocations: 0.5009 MB / 456.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.59e-05/0.3375, allocations: 47.64 kB / 456.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.242e-05/0.3375, allocations: 11.94 kB / 456.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.3377, allocations: 15.98 kB / 456.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.3378, allocations: 11.97 kB / 456.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.3378, allocations: 4 kB / 456.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003093/0.3381, allocations: 271.1 kB / 456.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3381, allocations: 0 / 456.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001883/0.34, allocations: 0.6558 MB / 457.5 MB, free: 12.29 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.001265/0.3412, allocations: 0.6629 MB / 458.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001484/0.3427, allocations: 0.9333 MB / 459.1 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.3427, allocations: 4 kB / 459.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.3429, allocations: 115.9 kB / 459.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005887/0.3435, allocations: 117.4 kB / 459.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.3451, allocations: 0.9193 MB / 460.2 MB, free: 9.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006955/0.3458, allocations: 0.8419 MB / 461.1 MB, free: 8.562 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001847/0.346, allocations: 62.91 kB / 461.1 MB, free: 8.504 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.351e-05/0.3461, allocations: 27.44 kB / 461.1 MB, free: 8.477 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3461, allocations: 4 kB / 461.1 MB, free: 8.473 MB / 366.1 MB Notification: Performance of Templates: time 0.02647/0.3726, allocations: 13.13 MB / 474.3 MB, free: 11.38 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.163512127008289]