Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_Modelica.Blocks.Examples.Filter") translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_Modelica.Blocks.Examples.Filter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 111.4 kB / 17.06 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001929/0.001929, allocations: 192 kB / 18 MB, free: 4.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 43.92 kB / 351.3 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2704, allocations: 49.44 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002931/0.2733, allocations: 2.008 MB / 402.7 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005516/0.2789, allocations: 3.671 MB / 406.4 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.2791, allocations: 11.88 kB / 406.4 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004655/0.2795, allocations: 183 kB / 406.6 MB, free: 2.984 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.2797, allocations: 51.58 kB / 406.6 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003971/0.2837, allocations: 1.932 MB / 408.6 MB, free: 1.023 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005433/0.2842, allocations: 0.4949 MB / 409.1 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.2844, allocations: 41.08 kB / 409.1 MB, free: 496 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.2846, allocations: 191.3 kB / 409.3 MB, free: 304 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.2848, allocations: 167.2 kB / 409.4 MB, free: 136 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.343e-05/0.2849, allocations: 24 kB / 409.5 MB, free: 112 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00209/0.2869, allocations: 1.783 MB / 411.3 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.2871, allocations: 123.6 kB / 411.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.2873, allocations: 162.9 kB / 411.5 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001747/0.289, allocations: 1.773 MB / 413.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2891, allocations: 0 / 413.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2891, allocations: 0 / 413.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.2891, allocations: 0 / 413.3 MB, free: 12.26 MB / 334.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.001474/0.2906, allocations: 0.8959 MB / 414.2 MB, free: 11.31 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.2906, allocations: 8.031 kB / 414.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.2907, allocations: 52.36 kB / 414.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004213/0.2912, allocations: 354.3 kB / 414.6 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.2912, allocations: 20.22 kB / 414.6 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.489e-05/0.2913, allocations: 31.84 kB / 414.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004412/0.2917, allocations: 315 kB / 415 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.2917, allocations: 3.984 kB / 415 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.2918, allocations: 4 kB / 415 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.2918, allocations: 4 kB / 415 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002605/0.292, allocations: 148.7 kB / 415.1 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.2932, allocations: 0.6717 MB / 415.8 MB, free: 9.586 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006343/0.2938, allocations: 330.3 kB / 416.1 MB, free: 9.254 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.294, allocations: 104.8 kB / 416.2 MB, free: 9.148 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.294, allocations: 4 kB / 416.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.2941, allocations: 34.56 kB / 416.3 MB, free: 9.102 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.683e-06/0.2941, allocations: 0 / 416.3 MB, free: 9.102 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006878/0.2948, allocations: 384.4 kB / 416.6 MB, free: 8.723 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001794/0.295, allocations: 367.8 kB / 417 MB, free: 8.277 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004157/0.2954, allocations: 413.7 kB / 417.4 MB, free: 7.855 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.921e-05/0.2954, allocations: 33.7 kB / 417.4 MB, free: 7.816 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.2956, allocations: 196.7 kB / 417.6 MB, free: 7.621 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.428e-05/0.2957, allocations: 82.8 kB / 417.7 MB, free: 7.539 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.2958, allocations: 97.69 kB / 417.8 MB, free: 7.438 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.296, allocations: 358.8 kB / 418.1 MB, free: 7.078 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/0.2963, allocations: 204.4 kB / 418.3 MB, free: 6.879 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003926/0.2967, allocations: 314.4 kB / 418.7 MB, free: 6.535 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005327/0.2972, allocations: 401.5 kB / 419 MB, free: 6.141 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.2973, allocations: 0 / 419 MB, free: 6.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001029/0.2983, allocations: 0.6497 MB / 419.7 MB, free: 5.473 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.2983, allocations: 4 kB / 419.7 MB, free: 5.469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.049e-05/0.2984, allocations: 11.98 kB / 419.7 MB, free: 5.457 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004367/0.2988, allocations: 122.5 kB / 419.8 MB, free: 5.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002865/0.2991, allocations: 67.89 kB / 419.9 MB, free: 5.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00353/0.3026, allocations: 4.558 MB / 424.5 MB, free: 292 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.3029, allocations: 51.39 kB / 424.5 MB, free: 240 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.3029, allocations: 16 kB / 424.5 MB, free: 224 kB / 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.0002184/0.3031, allocations: 189.8 kB / 424.7 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.503e-05/0.3032, allocations: 35.7 kB / 424.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.629e-05/0.3033, allocations: 47.69 kB / 424.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.3033, allocations: 4 kB / 424.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.3033, allocations: 0 / 424.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3033, allocations: 0 / 424.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003677/0.3037, allocations: 349.3 kB / 425.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3037, allocations: 0 / 425.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.304, allocations: 43.86 kB / 425.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.304, allocations: 7.938 kB / 425.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.304, allocations: 11.98 kB / 425.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.304, allocations: 0 / 425.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.304, allocations: 0 / 425.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006605/0.3047, allocations: 0.4985 MB / 425.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.881e-05/0.3048, allocations: 116.5 kB / 425.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.664e-05/0.3049, allocations: 11.98 kB / 425.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.305, allocations: 19.98 kB / 425.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/0.3051, allocations: 15.92 kB / 425.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.3051, allocations: 4 kB / 425.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002611/0.3054, allocations: 275.1 kB / 426.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3054, allocations: 0 / 426.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001857/0.3072, allocations: 0.6523 MB / 426.8 MB, free: 13.87 MB / 350.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.00142/0.3087, allocations: 0.6694 MB / 427.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001392/0.3101, allocations: 0.9384 MB / 428.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.3101, allocations: 4 kB / 428.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002156/0.3103, allocations: 126.6 kB / 428.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006381/0.311, allocations: 124.1 kB / 428.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.3124, allocations: 0.8918 MB / 429.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.3128, allocations: 0.8419 MB / 430.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000164/0.3129, allocations: 62.94 kB / 430.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.152e-05/0.313, allocations: 27.44 kB / 430.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of SimCode: time 1.583e-06/0.313, allocations: 0 / 430.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of Templates: time 0.02167/0.3347, allocations: 12.92 MB / 443.4 MB, free: 13.17 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches