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.001358/0.001358, allocations: 106.1 kB / 19.8 MB, free: 2.5 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.001496/0.001496, allocations: 215.1 kB / 23 MB, free: 5.574 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.46/1.46, allocations: 230.2 MB / 256.2 MB, free: 8.543 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.001815/0.001815, allocations: 59.91 kB / 376.5 MB, free: 3.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3623, allocations: 53.32 MB / 429.8 MB, free: 7.562 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003522/0.3658, allocations: 2.041 MB / 431.8 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007288/0.3731, allocations: 3.764 MB / 435.6 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002132/0.3733, allocations: 11.88 kB / 435.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00056/0.3739, allocations: 187.1 kB / 435.8 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.374, allocations: 51.53 kB / 435.8 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004776/0.3788, allocations: 1.852 MB / 437.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006806/0.3795, allocations: 498.8 kB / 438.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.3797, allocations: 33.09 kB / 438.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.3799, allocations: 183.3 kB / 438.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002834/0.3802, allocations: 175.1 kB / 438.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.586e-05/0.3802, allocations: 24 kB / 438.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002663/0.3829, allocations: 1.815 MB / 440.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002163/0.3831, allocations: 127.6 kB / 440.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002199/0.3833, allocations: 170.9 kB / 440.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002113/0.3854, allocations: 1.781 MB / 442.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3854, allocations: 3.938 kB / 442.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3854, allocations: 0 / 442.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.3854, allocations: 0 / 442.5 MB, free: 10.85 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.001722/0.3872, allocations: 0.9105 MB / 443.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.3872, allocations: 12.03 kB / 443.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.3873, allocations: 48.61 kB / 443.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004803/0.3878, allocations: 358.5 kB / 443.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.3878, allocations: 12.66 kB / 443.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.395e-05/0.3879, allocations: 28.33 kB / 443.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000526/0.3884, allocations: 311.9 kB / 444.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.3884, allocations: 4 kB / 444.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.3885, allocations: 11.98 kB / 444.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.3885, allocations: 3.938 kB / 444.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003127/0.3888, allocations: 149.3 kB / 444.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.39, allocations: 0.6641 MB / 445 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006856/0.3907, allocations: 325.4 kB / 445.3 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.3909, allocations: 108.8 kB / 445.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.3909, allocations: 112 / 445.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.391, allocations: 42.5 kB / 445.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.112e-06/0.391, allocations: 4 kB / 445.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007735/0.3917, allocations: 385.4 kB / 445.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002045/0.3919, allocations: 363.8 kB / 446.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004688/0.3924, allocations: 413.8 kB / 446.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.319e-05/0.3925, allocations: 29.7 kB / 446.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.3926, allocations: 196.9 kB / 446.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.264e-05/0.3927, allocations: 91.2 kB / 446.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.3929, allocations: 105.7 kB / 447 MB, free: 6.008 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.3931, allocations: 358.7 kB / 447.3 MB, free: 5.648 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003331/0.3934, allocations: 204.2 kB / 447.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004215/0.3938, allocations: 318.4 kB / 447.8 MB, free: 5.102 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006008/0.3944, allocations: 397.5 kB / 448.2 MB, free: 4.711 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3944, allocations: 0 / 448.2 MB, free: 4.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001193/0.3956, allocations: 0.6539 MB / 448.9 MB, free: 4.039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.3956, allocations: 4 kB / 448.9 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.899e-05/0.3957, allocations: 7.984 kB / 448.9 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004863/0.3962, allocations: 130.5 kB / 449 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/0.3964, allocations: 63.91 kB / 449.1 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004138/0.4006, allocations: 4.562 MB / 453.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/0.4008, allocations: 47.81 kB / 453.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.678e-05/0.4009, allocations: 12 kB / 453.7 MB, free: 14.79 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.0002634/0.4011, allocations: 181.7 kB / 453.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.37e-05/0.4012, allocations: 35.77 kB / 453.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.329e-05/0.4013, allocations: 47.69 kB / 454 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.4013, allocations: 0 / 454 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4013, allocations: 7.938 kB / 454 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.4013, allocations: 7.984 kB / 454 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004492/0.4017, allocations: 349.3 kB / 454.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.4017, allocations: 0 / 454.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002826/0.402, allocations: 43.91 kB / 454.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.402, allocations: 0 / 454.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.199e-05/0.402, allocations: 12 kB / 454.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.402, allocations: 3.938 kB / 454.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4021, allocations: 3.938 kB / 454.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007427/0.4028, allocations: 0.51 MB / 454.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.598e-05/0.4029, allocations: 112.8 kB / 455 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.294e-05/0.4029, allocations: 15.94 kB / 455 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.4031, allocations: 11.98 kB / 455 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.4032, allocations: 15.92 kB / 455 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.4032, allocations: 11.98 kB / 455.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000328/0.4035, allocations: 271.1 kB / 455.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4035, allocations: 0 / 455.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002283/0.4058, allocations: 0.6559 MB / 456 MB, free: 12.43 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.00158/0.4074, allocations: 0.6692 MB / 456.6 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001555/0.4089, allocations: 0.9296 MB / 457.6 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.4089, allocations: 0 / 457.6 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.4091, allocations: 123.8 kB / 457.7 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006542/0.4098, allocations: 119 kB / 457.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.4114, allocations: 0.9286 MB / 458.7 MB, free: 9.555 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004969/0.4119, allocations: 0.838 MB / 459.6 MB, free: 8.691 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001883/0.4121, allocations: 62.92 kB / 459.6 MB, free: 8.629 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.632e-05/0.4122, allocations: 27.44 kB / 459.7 MB, free: 8.602 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4122, allocations: 0 / 459.7 MB, free: 8.602 MB / 366.1 MB Notification: Performance of Templates: time 0.02607/0.4383, allocations: 13.08 MB / 472.7 MB, free: 11.54 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.149926948361099]