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.001964/0.001964, allocations: 103.6 kB / 21.18 MB, free: 332 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.0024/0.0024, allocations: 210.9 kB / 24.47 MB, free: 3.547 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.534/1.534, allocations: 207.7 MB / 235.3 MB, free: 9.801 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: "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) [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.001828/0.001828, allocations: 58.58 kB / 347.2 MB, free: 9.996 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2949, allocations: 49.15 MB / 396.3 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002802/0.2977, allocations: 1.891 MB / 398.2 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00531/0.303, allocations: 3.51 MB / 401.7 MB, free: 5.551 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001955/0.3032, allocations: 23.41 kB / 401.8 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004834/0.3037, allocations: 191 kB / 401.9 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.3038, allocations: 44.12 kB / 402 MB, free: 5.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005459/0.3092, allocations: 1.932 MB / 403.9 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008407/0.3101, allocations: 0.4943 MB / 404.4 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.3102, allocations: 37.39 kB / 404.5 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002324/0.3105, allocations: 190 kB / 404.6 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002621/0.3107, allocations: 169.5 kB / 404.8 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.306e-05/0.3108, allocations: 23.91 kB / 404.8 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003705/0.3145, allocations: 1.852 MB / 406.7 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002864/0.3148, allocations: 127 kB / 406.8 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002293/0.315, allocations: 133.4 kB / 406.9 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00278/0.3178, allocations: 1.797 MB / 408.7 MB, free: 2.672 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3178, allocations: 4.812 kB / 408.7 MB, free: 2.668 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3178, allocations: 0 / 408.7 MB, free: 2.668 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.548e-05/0.3178, allocations: 0 / 408.7 MB, free: 2.668 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.001767/0.3196, allocations: 0.8397 MB / 409.6 MB, free: 2.078 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.3196, allocations: 17.08 kB / 409.6 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.058e-05/0.3197, allocations: 50.42 kB / 409.6 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.725e-05/0.3197, allocations: 54.2 kB / 409.7 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004593/0.3202, allocations: 290.3 kB / 410 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.3202, allocations: 16.88 kB / 410 MB, free: 1.734 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.236e-05/0.3203, allocations: 32.42 kB / 410 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005315/0.3208, allocations: 0.6033 MB / 410.6 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3209, allocations: 0 / 410.6 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/0.3209, allocations: 10.47 kB / 410.6 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/0.3209, allocations: 7.75 kB / 410.6 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002458/0.3211, allocations: 148.1 kB / 410.8 MB, free: 1.016 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.3223, allocations: 0.5914 MB / 411.4 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005967/0.3229, allocations: 317.9 kB / 411.7 MB, free: 408 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.323, allocations: 107.5 kB / 411.8 MB, free: 348 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.323, allocations: 3.5 kB / 411.8 MB, free: 348 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.3231, allocations: 40.64 kB / 411.8 MB, free: 300 kB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.563e-06/0.3231, allocations: 0 / 411.8 MB, free: 300 kB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.00065/0.3237, allocations: 378.1 kB / 412.2 MB, free: 104 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002075/0.3239, allocations: 369.1 kB / 412.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004471/0.3244, allocations: 410.6 kB / 413 MB, free: 15.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/0.3244, allocations: 32.58 kB / 413 MB, free: 15.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.3246, allocations: 193.5 kB / 413.2 MB, free: 15.19 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.901e-05/0.3246, allocations: 97.05 kB / 413.3 MB, free: 15.1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.3248, allocations: 105.7 kB / 413.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.325, allocations: 362.9 kB / 413.7 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003346/0.3253, allocations: 201.8 kB / 413.9 MB, free: 14.6 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006372/0.3259, allocations: 0.6071 MB / 414.5 MB, free: 14.01 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006156/0.3265, allocations: 392.8 kB / 414.9 MB, free: 13.83 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3265, allocations: 3.938 kB / 414.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001263/0.3278, allocations: 0.647 MB / 415.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.3278, allocations: 4.719 kB / 415.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.991e-05/0.3279, allocations: 17.64 kB / 415.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004761/0.3283, allocations: 125.9 kB / 415.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002908/0.3286, allocations: 60.2 kB / 415.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003971/0.3326, allocations: 4.253 MB / 420 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002563/0.3329, allocations: 47.38 kB / 420.1 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.3329, allocations: 8.594 kB / 420.1 MB, free: 9.211 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.0002352/0.3331, allocations: 178 kB / 420.3 MB, free: 9.059 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.177e-05/0.3332, allocations: 37.7 kB / 420.3 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.762e-05/0.3333, allocations: 45.06 kB / 420.3 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.3333, allocations: 6.594 kB / 420.4 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3333, allocations: 4.094 kB / 420.4 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3333, allocations: 5.266 kB / 420.4 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003888/0.3337, allocations: 295 kB / 420.7 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3337, allocations: 0 / 420.7 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002696/0.334, allocations: 35.89 kB / 420.7 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.334, allocations: 1.344 kB / 420.7 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.334, allocations: 16.14 kB / 420.7 MB, free: 8.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.334, allocations: 5.656 kB / 420.7 MB, free: 8.723 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.334, allocations: 0 / 420.7 MB, free: 8.723 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007971/0.3348, allocations: 0.506 MB / 421.2 MB, free: 8.402 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.809e-05/0.3349, allocations: 38.41 kB / 421.3 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.672e-05/0.3349, allocations: 18.83 kB / 421.3 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.3351, allocations: 15.11 kB / 421.3 MB, free: 8.355 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.613e-05/0.3352, allocations: 12.56 kB / 421.3 MB, free: 8.348 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.3352, allocations: 12.47 kB / 421.3 MB, free: 8.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003448/0.3355, allocations: 270 kB / 421.6 MB, free: 8.172 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3355, allocations: 0 / 421.6 MB, free: 8.172 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002543/0.3381, allocations: 0.6474 MB / 422.2 MB, free: 8.129 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.002992/0.3411, allocations: 1.62 MB / 423.8 MB, free: 6.691 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001538/0.3426, allocations: 0.9265 MB / 424.8 MB, free: 5.684 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.3426, allocations: 0 / 424.8 MB, free: 5.684 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.3428, allocations: 119.9 kB / 424.9 MB, free: 5.566 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006277/0.3435, allocations: 110.2 kB / 425 MB, free: 5.461 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006687/0.3502, allocations: 4.518 MB / 429.5 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.3504, allocations: 233.3 kB / 429.7 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002204/0.3506, allocations: 66.92 kB / 429.8 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.3508, allocations: 135.4 kB / 429.9 MB, free: 400 kB / 334.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3508, allocations: 0 / 429.9 MB, free: 400 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05782/0.4086, allocations: 18.22 MB / 448.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.43, allocations: 7.938 kB / 448.2 MB, free: 14.09 MB / 366.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv --start-time 0 --stop-time 0.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000179856 Modelica_3_2_3_Modelica_Blocks_Examples_Filter.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Butterworth.x[3] in file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable Butterworth.x[3] from file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable ChebyshevI.x[1] in file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable ChebyshevI.x[1] from file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable ChebyshevI.x[2] in file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable ChebyshevI.x[2] from file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable ChebyshevI.x[3] in file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable ChebyshevI.x[3] from file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable CriticalDamping.x[1] in file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable CriticalDamping.x[1] from file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable CriticalDamping.x[2] in file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable CriticalDamping.x[2] from file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable CriticalDamping.x[3] in file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable CriticalDamping.x[3] from file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.223645720630884]