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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001493/0.001493, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002443/0.002443, allocations: 204.7 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.562/1.562, allocations: 230.5 MB / 257.4 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] 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=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_trunk_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_trunk_Modelica.Blocks.Examples.Filter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 63.89 kB / 378.2 MB, free: 2.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2664, allocations: 53.41 MB / 431.6 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003765/0.2701, allocations: 1.917 MB / 433.5 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0065/0.2766, allocations: 3.503 MB / 437 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.2768, allocations: 19.75 kB / 437.1 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005576/0.2774, allocations: 191.1 kB / 437.3 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.2775, allocations: 51.56 kB / 437.3 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004418/0.2819, allocations: 1.933 MB / 439.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006321/0.2826, allocations: 0.5026 MB / 439.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.2827, allocations: 33.27 kB / 439.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002266/0.2829, allocations: 187.4 kB / 440 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.2832, allocations: 167.2 kB / 440.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.731e-05/0.2832, allocations: 28 kB / 440.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002716/0.2859, allocations: 1.869 MB / 442 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.2861, allocations: 127.5 kB / 442.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.2863, allocations: 135.1 kB / 442.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001973/0.2882, allocations: 1.804 MB / 444.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.2882, allocations: 3.984 kB / 444.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2882, allocations: 0 / 444.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.2883, allocations: 0 / 444.1 MB, free: 10.05 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.001589/0.2898, allocations: 0.8429 MB / 444.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.2899, allocations: 11.98 kB / 444.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.891e-05/0.29, allocations: 56.55 kB / 445 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000527/0.2905, allocations: 283.4 kB / 445.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.2905, allocations: 16.66 kB / 445.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-05/0.2906, allocations: 32.33 kB / 445.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006744/0.2913, allocations: 0.6093 MB / 445.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.2913, allocations: 0 / 445.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.2913, allocations: 8 kB / 445.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.2913, allocations: 4 kB / 445.9 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002854/0.2916, allocations: 144.7 kB / 446.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.2928, allocations: 0.57 MB / 446.6 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006624/0.2935, allocations: 310.4 kB / 446.9 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.2937, allocations: 108.7 kB / 447.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.2937, allocations: 4 kB / 447.1 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.2937, allocations: 42.5 kB / 447.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.333e-06/0.2937, allocations: 0 / 447.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007456/0.2945, allocations: 385.5 kB / 447.5 MB, free: 6.418 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002172/0.2947, allocations: 367.8 kB / 447.8 MB, free: 5.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004584/0.2951, allocations: 409.8 kB / 448.2 MB, free: 5.562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/0.2952, allocations: 33.7 kB / 448.3 MB, free: 5.523 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/0.2954, allocations: 192.9 kB / 448.5 MB, free: 5.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.434e-05/0.2954, allocations: 91.27 kB / 448.5 MB, free: 5.238 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.2956, allocations: 101.7 kB / 448.6 MB, free: 5.133 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.2958, allocations: 362.7 kB / 449 MB, free: 4.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003504/0.2961, allocations: 204.2 kB / 449.2 MB, free: 4.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006532/0.2968, allocations: 0.6156 MB / 449.8 MB, free: 3.844 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006266/0.2974, allocations: 392.7 kB / 450.2 MB, free: 3.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2974, allocations: 4 kB / 450.2 MB, free: 3.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001181/0.2986, allocations: 0.6528 MB / 450.9 MB, free: 2.785 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.2986, allocations: 8 kB / 450.9 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.954e-05/0.2986, allocations: 7.984 kB / 450.9 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004408/0.2991, allocations: 122.5 kB / 451 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.2994, allocations: 67.89 kB / 451.1 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004063/0.3034, allocations: 4.175 MB / 455.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.3037, allocations: 47.69 kB / 455.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.714e-05/0.3037, allocations: 8 kB / 455.3 MB, free: 14.04 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.0002548/0.304, allocations: 189.8 kB / 455.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.3041, allocations: 43.72 kB / 455.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.3042, allocations: 43.84 kB / 455.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.3042, allocations: 4 kB / 455.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3042, allocations: 0 / 455.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3042, allocations: 0 / 455.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000393/0.3046, allocations: 257 kB / 455.8 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.3046, allocations: 3.984 kB / 455.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/0.3049, allocations: 43.92 kB / 455.9 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3049, allocations: 0 / 455.9 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/0.3049, allocations: 11.98 kB / 455.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3049, allocations: 4 kB / 455.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3049, allocations: 4 kB / 455.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008421/0.3057, allocations: 0.5062 MB / 456.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.035e-05/0.3058, allocations: 43.66 kB / 456.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.805e-05/0.3059, allocations: 15.98 kB / 456.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.3061, allocations: 12.09 kB / 456.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.3061, allocations: 15.92 kB / 456.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.3061, allocations: 4 kB / 456.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003314/0.3064, allocations: 279.1 kB / 456.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3064, allocations: 7.938 kB / 456.8 MB, free: 12.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002112/0.3086, allocations: 0.648 MB / 457.4 MB, free: 11.87 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.002/0.3106, allocations: 0.655 MB / 458.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0017/0.3123, allocations: 0.9295 MB / 459 MB, free: 10.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.3123, allocations: 4 kB / 459 MB, free: 10.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.3125, allocations: 115.9 kB / 459.1 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006302/0.3131, allocations: 122.8 kB / 459.2 MB, free: 9.965 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.3148, allocations: 0.9183 MB / 460.1 MB, free: 9.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.3151, allocations: 237.1 kB / 460.4 MB, free: 8.766 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002083/0.3153, allocations: 70.91 kB / 460.4 MB, free: 8.695 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.072e-05/0.3154, allocations: 27.44 kB / 460.5 MB, free: 8.668 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3154, allocations: 4 kB / 460.5 MB, free: 8.664 MB / 366.1 MB Notification: Performance of Templates: time 0.02575/0.3411, allocations: 13.71 MB / 474.2 MB, free: 11.02 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Filter.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.19529502466321]