Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Filter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Filter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00155/0.00155, allocations: 199.4 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 229.5 MB / 247.7 MB, free: 6.316 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008413/0.0008414, allocations: 100.7 kB / 299.9 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002776/0.0002777, allocations: 4 kB / 360.6 MB, free: 8.484 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2653, allocations: 51.41 MB / 412 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.001775/0.2672, allocations: 1.651 MB / 413.7 MB, free: 24.24 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00561/0.2728, allocations: 6.081 MB / 419.8 MB, free: 17.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001722/0.273, allocations: 7.875 kB / 419.8 MB, free: 17.67 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004515/0.2735, allocations: 159.3 kB / 419.9 MB, free: 17.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.2736, allocations: 43.66 kB / 420 MB, free: 17.47 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003686/0.2773, allocations: 1.554 MB / 421.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00048/0.2778, allocations: 474.8 kB / 422 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.278, allocations: 42.61 kB / 422 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.2781, allocations: 163.3 kB / 422.2 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.2783, allocations: 159.2 kB / 422.4 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.01e-05/0.2783, allocations: 16 kB / 422.4 MB, free: 15.08 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/0.2801, allocations: 1.428 MB / 423.8 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.2802, allocations: 107.6 kB / 423.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.2804, allocations: 180.6 kB / 424.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.2816, allocations: 1.738 MB / 425.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2816, allocations: 0 / 425.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2817, allocations: 3.938 kB / 425.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.2817, allocations: 0 / 425.8 MB, free: 11.62 MB / 298.7 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.001134/0.2828, allocations: 0.8336 MB / 426.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.2828, allocations: 8.031 kB / 426.7 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.945e-05/0.2829, allocations: 48.38 kB / 426.7 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.2833, allocations: 350.3 kB / 427.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.2833, allocations: 16.66 kB / 427.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.539e-05/0.2834, allocations: 32.28 kB / 427.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003746/0.2837, allocations: 303.1 kB / 427.4 MB, free: 9.906 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.2838, allocations: 0 / 427.4 MB, free: 9.906 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.2838, allocations: 8 kB / 427.4 MB, free: 9.898 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.2838, allocations: 4 kB / 427.4 MB, free: 9.895 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002524/0.2841, allocations: 156.7 kB / 427.6 MB, free: 9.742 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009265/0.285, allocations: 0.6756 MB / 428.2 MB, free: 9.016 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005262/0.2855, allocations: 322.7 kB / 428.6 MB, free: 8.691 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.2857, allocations: 112.8 kB / 428.7 MB, free: 8.578 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.2857, allocations: 3.938 kB / 428.7 MB, free: 8.574 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.2857, allocations: 42.61 kB / 428.7 MB, free: 8.523 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.192e-06/0.2858, allocations: 0 / 428.7 MB, free: 8.523 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006011/0.2864, allocations: 386.5 kB / 429.1 MB, free: 8.141 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.181e-05/0.2865, allocations: 367.8 kB / 429.4 MB, free: 7.695 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/0.2868, allocations: 401.8 kB / 429.8 MB, free: 7.293 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.2868, allocations: 33.7 kB / 429.9 MB, free: 7.254 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.765e-05/0.2869, allocations: 204.7 kB / 430.1 MB, free: 7.051 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.734e-05/0.287, allocations: 82.81 kB / 430.1 MB, free: 6.969 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/0.287, allocations: 8 kB / 430.2 MB, free: 6.961 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.962e-05/0.2871, allocations: 354.7 kB / 430.5 MB, free: 6.605 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/0.2873, allocations: 208.4 kB / 430.7 MB, free: 6.402 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003058/0.2876, allocations: 322.3 kB / 431 MB, free: 6.051 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004707/0.2881, allocations: 389.3 kB / 431.4 MB, free: 5.668 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2881, allocations: 0 / 431.4 MB, free: 5.668 MB / 298.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008831/0.289, allocations: 0.646 MB / 432 MB, free: 5.004 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.289, allocations: 7.906 kB / 432.1 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.724e-05/0.2891, allocations: 11.98 kB / 432.1 MB, free: 4.984 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003879/0.2895, allocations: 130.4 kB / 432.2 MB, free: 4.848 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.2897, allocations: 63.97 kB / 432.3 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002263/0.292, allocations: 4.228 MB / 436.5 MB, free: 160 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.2923, allocations: 51.55 kB / 436.5 MB, free: 108 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.2923, allocations: 20 kB / 436.6 MB, free: 88 kB / 298.7 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.0002385/0.2926, allocations: 169.9 kB / 436.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.026e-05/0.2927, allocations: 47.31 kB / 436.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.383e-05/0.2927, allocations: 43.75 kB / 436.8 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.2927, allocations: 0 / 436.8 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2928, allocations: 7.922 kB / 436.8 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.2928, allocations: 8 kB / 436.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000377/0.2932, allocations: 341.3 kB / 437.2 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.2932, allocations: 0 / 437.2 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002795/0.2934, allocations: 43.91 kB / 437.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2935, allocations: 4 kB / 437.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/0.2935, allocations: 11.98 kB / 437.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2935, allocations: 0 / 437.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2935, allocations: 0 / 437.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006671/0.2942, allocations: 0.5164 MB / 437.7 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.814e-05/0.2943, allocations: 116.6 kB / 437.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.479e-05/0.2943, allocations: 8 kB / 437.9 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.2945, allocations: 15.98 kB / 437.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.006e-05/0.2946, allocations: 15.97 kB / 437.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.2946, allocations: 8 kB / 437.9 MB, free: 14.65 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002855/0.2949, allocations: 271.1 kB / 438.2 MB, free: 14.39 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2949, allocations: 0 / 438.2 MB, free: 14.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00201/0.2969, allocations: 0.6484 MB / 438.8 MB, free: 13.74 MB / 314.7 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.001348/0.2983, allocations: 0.6774 MB / 439.5 MB, free: 13.06 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001334/0.2996, allocations: 0.9485 MB / 440.4 MB, free: 12.03 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.2996, allocations: 4 kB / 440.4 MB, free: 12.03 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.2998, allocations: 119.9 kB / 440.6 MB, free: 11.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000607/0.3004, allocations: 109.5 kB / 440.7 MB, free: 11.8 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.302, allocations: 1.057 MB / 441.7 MB, free: 10.72 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/0.3024, allocations: 0.8302 MB / 442.5 MB, free: 9.867 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001956/0.3026, allocations: 74.89 kB / 442.6 MB, free: 9.793 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.459e-05/0.3027, allocations: 27.44 kB / 442.6 MB, free: 9.766 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.3027, allocations: 0 / 442.6 MB, free: 9.766 MB / 314.7 MB Notification: Performance of Templates: time 0.02257/0.3253, allocations: 12.68 MB / 455.3 MB, free: 13.11 MB / 330.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Filter.makefile (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) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches