Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001769/0.001769, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002262/0.002262, allocations: 214.8 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 207.7 MB / 235.3 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.Filter") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 54.58 kB / 347.7 MB, free: 9.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2602, allocations: 49.15 MB / 396.8 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003283/0.2634, allocations: 1.899 MB / 398.7 MB, free: 8.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006192/0.2696, allocations: 3.499 MB / 402.2 MB, free: 6.059 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001862/0.2698, allocations: 17.19 kB / 402.2 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000502/0.2703, allocations: 190.9 kB / 402.4 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.2704, allocations: 50.89 kB / 402.5 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007669/0.2781, allocations: 1.927 MB / 404.4 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009863/0.2791, allocations: 0.4981 MB / 404.9 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001743/0.2793, allocations: 37.64 kB / 404.9 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002906/0.2796, allocations: 191.1 kB / 405.1 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003306/0.2799, allocations: 164.8 kB / 405.3 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.936e-05/0.28, allocations: 27.38 kB / 405.3 MB, free: 4.832 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004492/0.2845, allocations: 1.855 MB / 407.2 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002653/0.2847, allocations: 130.3 kB / 407.3 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000202/0.2849, allocations: 133.3 kB / 407.4 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002751/0.2877, allocations: 1.799 MB / 409.2 MB, free: 3.039 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2877, allocations: 0 / 409.2 MB, free: 3.039 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2877, allocations: 0 / 409.2 MB, free: 3.039 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.006e-06/0.2877, allocations: 3.938 kB / 409.2 MB, free: 3.035 MB / 318.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.002154/0.2898, allocations: 0.8436 MB / 410.1 MB, free: 2.441 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.2899, allocations: 13.05 kB / 410.1 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.29, allocations: 46.56 kB / 410.1 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006077/0.2906, allocations: 290.5 kB / 410.4 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.2907, allocations: 17.12 kB / 410.4 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.2908, allocations: 36.44 kB / 410.5 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006249/0.2914, allocations: 0.6028 MB / 411.1 MB, free: 1.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.2914, allocations: 0 / 411.1 MB, free: 1.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.37e-05/0.2914, allocations: 10.66 kB / 411.1 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.2914, allocations: 4.219 kB / 411.1 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003544/0.2918, allocations: 147.9 kB / 411.2 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.293, allocations: 0.5572 MB / 411.8 MB, free: 1.023 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006056/0.2936, allocations: 309.5 kB / 412.1 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.2937, allocations: 107.1 kB / 412.2 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.2938, allocations: 4.031 kB / 412.2 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.2938, allocations: 45.7 kB / 412.2 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.503e-06/0.2938, allocations: 0 / 412.2 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006478/0.2944, allocations: 373.5 kB / 412.6 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/0.2945, allocations: 376.1 kB / 413 MB, free: 128 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004276/0.2949, allocations: 407.3 kB / 413.4 MB, free: 15.87 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.564e-05/0.295, allocations: 40.34 kB / 413.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.2951, allocations: 193.8 kB / 413.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.689e-05/0.2952, allocations: 93.12 kB / 413.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.2954, allocations: 94.03 kB / 413.8 MB, free: 15.52 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.2956, allocations: 362.7 kB / 414.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003527/0.2959, allocations: 202.6 kB / 414.3 MB, free: 15.08 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006088/0.2965, allocations: 0.6172 MB / 415 MB, free: 14.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006108/0.2971, allocations: 390.1 kB / 415.3 MB, free: 14.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2971, allocations: 7.938 kB / 415.3 MB, free: 14.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001269/0.2984, allocations: 0.6536 MB / 416 MB, free: 13.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.2984, allocations: 5.219 kB / 416 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.95e-05/0.2985, allocations: 9.984 kB / 416 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004359/0.2989, allocations: 126.5 kB / 416.1 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/0.2992, allocations: 67.2 kB / 416.2 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003928/0.3031, allocations: 4.184 MB / 420.4 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.3033, allocations: 48.84 kB / 420.4 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-05/0.3034, allocations: 12.14 kB / 420.4 MB, free: 9.77 MB / 334.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.0002363/0.3036, allocations: 180.9 kB / 420.6 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.036e-05/0.3037, allocations: 38.64 kB / 420.7 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.49e-05/0.3038, allocations: 44.47 kB / 420.7 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3038, allocations: 2.875 kB / 420.7 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3038, allocations: 0 / 420.7 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3038, allocations: 3.984 kB / 420.7 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003529/0.3041, allocations: 261.3 kB / 421 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3041, allocations: 0 / 421 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.3044, allocations: 43.31 kB / 421 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.3044, allocations: 1 kB / 421 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.3044, allocations: 8.375 kB / 421 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3044, allocations: 5.75 kB / 421 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3045, allocations: 0 / 421 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000757/0.3052, allocations: 0.5101 MB / 421.5 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.068e-05/0.3053, allocations: 43.89 kB / 421.6 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.171e-05/0.3053, allocations: 9.469 kB / 421.6 MB, free: 8.965 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.3055, allocations: 15.17 kB / 421.6 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.186e-05/0.3056, allocations: 12.34 kB / 421.6 MB, free: 8.949 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.3056, allocations: 8.156 kB / 421.6 MB, free: 8.945 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003119/0.3059, allocations: 270.8 kB / 421.9 MB, free: 8.777 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3059, allocations: 4 kB / 421.9 MB, free: 8.773 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002747/0.3086, allocations: 0.6496 MB / 422.5 MB, free: 8.625 MB / 334.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.001676/0.3103, allocations: 0.6746 MB / 423.2 MB, free: 7.941 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001505/0.3118, allocations: 0.9226 MB / 424.1 MB, free: 6.938 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3118, allocations: 3.938 kB / 424.1 MB, free: 6.934 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002299/0.312, allocations: 119.9 kB / 424.3 MB, free: 6.816 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006287/0.3127, allocations: 109.5 kB / 424.4 MB, free: 6.711 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.3142, allocations: 0.9269 MB / 425.3 MB, free: 5.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.3145, allocations: 237.1 kB / 425.5 MB, free: 5.496 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001932/0.3147, allocations: 70.92 kB / 425.6 MB, free: 5.422 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.747e-05/0.3148, allocations: 27.44 kB / 425.6 MB, free: 5.395 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3148, allocations: 0 / 425.6 MB, free: 5.395 MB / 334.1 MB Notification: Performance of Templates: time 0.02375/0.3385, allocations: 13.63 MB / 439.3 MB, free: 7.746 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.164957765489817]