Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001547/0.001547, allocations: 116.7 kB / 19.18 MB, free: 3.762 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.002011/0.002011, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.7/1.7, allocations: 230.5 MB / 255.4 MB, free: 15.2 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Blocks.Examples.Filter") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 71.88 kB / 374.7 MB, free: 9.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09207/0.09399, allocations: 53.31 MB / 428 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003126/0.09712, allocations: 2.026 MB / 430.1 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1915/0.2886, allocations: 3.735 MB / 433.8 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.2888, allocations: 12.16 kB / 433.8 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004668/0.2893, allocations: 189.9 kB / 434 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.2894, allocations: 47.25 kB / 434.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004251/0.2936, allocations: 1.945 MB / 436 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000702/0.2943, allocations: 0.4906 MB / 436.5 MB, free: 8.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.2945, allocations: 29.66 kB / 436.5 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.2947, allocations: 180.8 kB / 436.7 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/0.2949, allocations: 180.5 kB / 436.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.086e-05/0.295, allocations: 23.88 kB / 436.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002922/0.2979, allocations: 1.809 MB / 438.7 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000197/0.2981, allocations: 129.3 kB / 438.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.2983, allocations: 170.1 kB / 439 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002172/0.3004, allocations: 1.779 MB / 440.8 MB, free: 7.027 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3004, allocations: 0 / 440.8 MB, free: 7.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3004, allocations: 3.938 kB / 440.8 MB, free: 7.023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.3005, allocations: 0 / 440.8 MB, free: 7.023 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.001617/0.3021, allocations: 0.9184 MB / 441.7 MB, free: 6.395 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.3021, allocations: 9.281 kB / 441.7 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.3022, allocations: 54.44 kB / 441.8 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/0.3026, allocations: 353.4 kB / 442.1 MB, free: 6.094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.3026, allocations: 17.72 kB / 442.1 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.318e-05/0.3027, allocations: 29.78 kB / 442.1 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000407/0.3031, allocations: 310.1 kB / 442.5 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.3031, allocations: 4 kB / 442.5 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.3031, allocations: 7.375 kB / 442.5 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.3031, allocations: 3.438 kB / 442.5 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002785/0.3034, allocations: 148.6 kB / 442.6 MB, free: 5.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.3044, allocations: 0.6707 MB / 443.3 MB, free: 5.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006045/0.305, allocations: 307.7 kB / 443.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.3052, allocations: 110.4 kB / 443.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.3052, allocations: 6.281 kB / 443.7 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.3053, allocations: 42.8 kB / 443.7 MB, free: 5.215 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.383e-06/0.3053, allocations: 0 / 443.7 MB, free: 5.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006573/0.3059, allocations: 385.2 kB / 444.1 MB, free: 5.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.757e-05/0.306, allocations: 364.8 kB / 444.5 MB, free: 4.633 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000365/0.3063, allocations: 408.9 kB / 444.9 MB, free: 4.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.3064, allocations: 32.98 kB / 444.9 MB, free: 4.391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.3065, allocations: 199.2 kB / 445.1 MB, free: 4.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.241e-05/0.3065, allocations: 90.5 kB / 445.2 MB, free: 4.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.3067, allocations: 104.2 kB / 445.3 MB, free: 4.109 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.174e-05/0.3067, allocations: 361.2 kB / 445.6 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003129/0.307, allocations: 206.9 kB / 445.8 MB, free: 3.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000359/0.3074, allocations: 319 kB / 446.2 MB, free: 3.539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005346/0.3079, allocations: 396.6 kB / 446.5 MB, free: 3.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3079, allocations: 0.9062 kB / 446.5 MB, free: 3.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001037/0.309, allocations: 0.6467 MB / 447.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.309, allocations: 8.969 kB / 447.2 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-05/0.309, allocations: 8.719 kB / 447.2 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004139/0.3094, allocations: 136.7 kB / 447.3 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/0.3097, allocations: 57.31 kB / 447.4 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002958/0.3127, allocations: 4.558 MB / 452 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.3129, allocations: 50.55 kB / 452 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.463e-05/0.3129, allocations: 13.75 kB / 452 MB, free: 14.72 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.000201/0.3131, allocations: 172 kB / 452.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.153e-05/0.3132, allocations: 44.62 kB / 452.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.032e-05/0.3133, allocations: 42.38 kB / 452.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3133, allocations: 7.312 kB / 452.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.3133, allocations: 4 kB / 452.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.3133, allocations: 5.062 kB / 452.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004228/0.3137, allocations: 350.1 kB / 452.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3137, allocations: 0 / 452.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002794/0.314, allocations: 41.64 kB / 452.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.314, allocations: 1.062 kB / 452.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.314, allocations: 13.41 kB / 452.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.314, allocations: 1.125 kB / 452.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.605e-06/0.3141, allocations: 3.938 kB / 452.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007131/0.3148, allocations: 0.5092 MB / 453.2 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-05/0.3149, allocations: 112.7 kB / 453.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.122e-05/0.3149, allocations: 12.42 kB / 453.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.3151, allocations: 17.98 kB / 453.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.777e-05/0.3151, allocations: 11.23 kB / 453.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.3152, allocations: 9.781 kB / 453.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002887/0.3154, allocations: 271.8 kB / 453.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3154, allocations: 5.375 kB / 453.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00266/0.3181, allocations: 0.654 MB / 454.3 MB, free: 13.68 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.00149/0.3196, allocations: 0.6855 MB / 455 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00138/0.321, allocations: 0.9262 MB / 455.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.321, allocations: 0 / 455.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.3212, allocations: 121.3 kB / 456 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006069/0.3218, allocations: 113.8 kB / 456.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.3233, allocations: 0.9653 MB / 457.1 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/0.3238, allocations: 0.8391 MB / 457.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.07e-05/0.3239, allocations: 33.16 kB / 458 MB, free: 11.56 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3239, allocations: 0 / 458 MB, free: 11.56 MB / 366.1 MB Notification: Performance of Templates: time 0.01983/0.3437, allocations: 12.15 MB / 470.1 MB, free: 5.156 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 8.970116045093164]