Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.Filter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.Filter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001189/0.001189, allocations: 183 kB / 17.36 MB, free: 4.195 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.6 MB / 223.7 MB, free: 8.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000738/0.000738, allocations: 90.17 kB / 272.1 MB, free: 8.105 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003363/0.0003364, allocations: 8 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2639, allocations: 47.58 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.00207/0.266, allocations: 1.642 MB / 378.2 MB, free: 44.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006124/0.2721, allocations: 5.772 MB / 384 MB, free: 39.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001698/0.2723, allocations: 5.969 kB / 384 MB, free: 39.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004943/0.2728, allocations: 162.3 kB / 384.2 MB, free: 39.26 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.2729, allocations: 40.86 kB / 384.2 MB, free: 39.22 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003814/0.2768, allocations: 1.556 MB / 385.8 MB, free: 38.22 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005168/0.2773, allocations: 464.9 kB / 386.2 MB, free: 37.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.2774, allocations: 51.17 kB / 386.3 MB, free: 37.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.2776, allocations: 156.7 kB / 386.4 MB, free: 37.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.2779, allocations: 161.8 kB / 386.6 MB, free: 37.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.475e-05/0.2779, allocations: 11.69 kB / 386.6 MB, free: 37.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002345/0.2803, allocations: 1.42 MB / 388 MB, free: 36.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.2804, allocations: 111.6 kB / 388.1 MB, free: 36.53 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.2806, allocations: 180.6 kB / 388.3 MB, free: 36.35 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.2818, allocations: 1.73 MB / 390 MB, free: 34.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.2818, allocations: 0 / 390 MB, free: 34.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2818, allocations: 3.938 kB / 390 MB, free: 34.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.2818, allocations: 0 / 390 MB, free: 34.61 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.00113/0.283, allocations: 0.8259 MB / 390.9 MB, free: 33.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.283, allocations: 8.031 kB / 390.9 MB, free: 33.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.894e-05/0.2831, allocations: 52.38 kB / 390.9 MB, free: 33.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003858/0.2835, allocations: 346.3 kB / 391.3 MB, free: 33.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.2835, allocations: 16.66 kB / 391.3 MB, free: 33.28 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.545e-05/0.2836, allocations: 28.28 kB / 391.3 MB, free: 33.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003826/0.284, allocations: 315 kB / 391.6 MB, free: 32.9 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.284, allocations: 3.938 kB / 391.6 MB, free: 32.9 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.284, allocations: 8 kB / 391.6 MB, free: 32.89 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.284, allocations: 4 kB / 391.6 MB, free: 32.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002322/0.2843, allocations: 147.8 kB / 391.8 MB, free: 32.74 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009501/0.2852, allocations: 0.6718 MB / 392.4 MB, free: 32.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005255/0.2858, allocations: 330.7 kB / 392.8 MB, free: 31.69 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.2859, allocations: 108.7 kB / 392.9 MB, free: 31.58 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.286, allocations: 0 / 392.9 MB, free: 31.58 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.286, allocations: 38.56 kB / 392.9 MB, free: 31.53 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 9.42e-07/0.286, allocations: 0 / 392.9 MB, free: 31.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005822/0.2866, allocations: 391.5 kB / 393.3 MB, free: 31.14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.183e-05/0.2867, allocations: 371.8 kB / 393.7 MB, free: 30.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002987/0.287, allocations: 397.8 kB / 394 MB, free: 30.3 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.287, allocations: 37.7 kB / 394.1 MB, free: 30.26 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.2871, allocations: 196.8 kB / 394.3 MB, free: 30.06 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.629e-05/0.2872, allocations: 86.67 kB / 394.4 MB, free: 29.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.584e-05/0.2872, allocations: 4 kB / 394.4 MB, free: 29.97 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.012e-05/0.2873, allocations: 366.7 kB / 394.7 MB, free: 29.61 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002539/0.2875, allocations: 208.2 kB / 394.9 MB, free: 29.4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.2878, allocations: 314.4 kB / 395.2 MB, free: 29.06 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004459/0.2883, allocations: 393.6 kB / 395.6 MB, free: 28.67 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2883, allocations: 0 / 395.6 MB, free: 28.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008844/0.2892, allocations: 0.6421 MB / 396.3 MB, free: 28.01 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.2892, allocations: 12 kB / 396.3 MB, free: 28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/0.2893, allocations: 7.984 kB / 396.3 MB, free: 27.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003829/0.2896, allocations: 134.4 kB / 396.4 MB, free: 27.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.2899, allocations: 55.97 kB / 396.5 MB, free: 27.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/0.2921, allocations: 4.247 MB / 400.7 MB, free: 23.15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.2923, allocations: 39.53 kB / 400.7 MB, free: 23.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/0.2923, allocations: 15.98 kB / 400.8 MB, free: 23.1 MB / 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.000161/0.2925, allocations: 177.8 kB / 400.9 MB, free: 22.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.167e-05/0.2925, allocations: 47.38 kB / 401 MB, free: 22.87 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.598e-05/0.2926, allocations: 43.75 kB / 401 MB, free: 22.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.2926, allocations: 0 / 401 MB, free: 22.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.2926, allocations: 4 kB / 401 MB, free: 22.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.2926, allocations: 3.984 kB / 401 MB, free: 22.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.2929, allocations: 337.4 kB / 401.4 MB, free: 22.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2929, allocations: 0 / 401.4 MB, free: 22.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/0.2932, allocations: 51.91 kB / 401.4 MB, free: 22.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.2932, allocations: 4 kB / 401.4 MB, free: 22.38 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.417e-05/0.2932, allocations: 11.98 kB / 401.4 MB, free: 22.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2932, allocations: 4 kB / 401.4 MB, free: 22.37 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2932, allocations: 0 / 401.4 MB, free: 22.37 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005075/0.2937, allocations: 0.5142 MB / 401.9 MB, free: 21.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.2938, allocations: 116.6 kB / 402.1 MB, free: 21.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.236e-05/0.2938, allocations: 8 kB / 402.1 MB, free: 21.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.294, allocations: 15.98 kB / 402.1 MB, free: 21.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.2941, allocations: 15.97 kB / 402.1 MB, free: 21.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.2941, allocations: 7.938 kB / 402.1 MB, free: 21.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002047/0.2943, allocations: 271.1 kB / 402.4 MB, free: 21.39 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2943, allocations: 0 / 402.4 MB, free: 21.39 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001646/0.296, allocations: 0.6406 MB / 403 MB, free: 20.75 MB / 298.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.001095/0.2971, allocations: 0.6866 MB / 403.7 MB, free: 20.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009715/0.298, allocations: 0.9533 MB / 404.7 MB, free: 19.03 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.2981, allocations: 4 kB / 404.7 MB, free: 19.03 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.2982, allocations: 119.9 kB / 404.8 MB, free: 18.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005137/0.2988, allocations: 98.33 kB / 404.9 MB, free: 18.82 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.2998, allocations: 1.056 MB / 405.9 MB, free: 17.74 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.3001, allocations: 0.838 MB / 406.8 MB, free: 16.87 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001562/0.3002, allocations: 74.86 kB / 406.8 MB, free: 16.8 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.21e-05/0.3003, allocations: 27.44 kB / 406.9 MB, free: 16.77 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.3003, allocations: 0 / 406.9 MB, free: 16.77 MB / 298.7 MB Notification: Performance of Templates: time 0.0168/0.3171, allocations: 12.57 MB / 419.4 MB, free: 4.207 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.makefile (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) 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","../files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches