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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00295/0.00295, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002451/0.002451, allocations: 182 kB / 23.7 MB, free: 4.414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 51.92 kB / 370.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2917, allocations: 52.19 MB / 422.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003127/0.2948, allocations: 1.907 MB / 424.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00595/0.3008, allocations: 3.46 MB / 427.9 MB, free: 8.988 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/0.3009, allocations: 19.81 kB / 428 MB, free: 8.969 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005489/0.3015, allocations: 183.1 kB / 428.1 MB, free: 8.789 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.3016, allocations: 55.5 kB / 428.2 MB, free: 8.734 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004099/0.3057, allocations: 1.921 MB / 430.1 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006147/0.3063, allocations: 0.4988 MB / 430.6 MB, free: 6.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.3064, allocations: 29.27 kB / 430.6 MB, free: 6.285 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000217/0.3067, allocations: 191.4 kB / 430.8 MB, free: 6.098 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002414/0.3069, allocations: 171.2 kB / 431 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.229e-05/0.307, allocations: 24 kB / 431 MB, free: 5.906 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002478/0.3094, allocations: 1.854 MB / 432.9 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.3096, allocations: 135.5 kB / 433 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.3097, allocations: 127.2 kB / 433.1 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001834/0.3116, allocations: 1.8 MB / 434.9 MB, free: 1.988 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3116, allocations: 0 / 434.9 MB, free: 1.988 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3116, allocations: 0 / 434.9 MB, free: 1.988 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.3116, allocations: 0 / 434.9 MB, free: 1.988 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.001493/0.3131, allocations: 0.8429 MB / 435.8 MB, free: 1.109 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.3131, allocations: 12.03 kB / 435.8 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.917e-05/0.3132, allocations: 46.73 kB / 435.8 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.807e-05/0.3133, allocations: 52.66 kB / 435.9 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004897/0.3137, allocations: 303 kB / 436.2 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.3138, allocations: 16.28 kB / 436.2 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.828e-05/0.3138, allocations: 24 kB / 436.2 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006474/0.3145, allocations: 0.6019 MB / 436.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3145, allocations: 0 / 436.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/0.3145, allocations: 8 kB / 436.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.3145, allocations: 4 kB / 436.8 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002819/0.3148, allocations: 148.7 kB / 437 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.316, allocations: 0.5968 MB / 437.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006773/0.3167, allocations: 312.2 kB / 437.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.3169, allocations: 104.8 kB / 438 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.3169, allocations: 7.938 kB / 438 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.317, allocations: 38.56 kB / 438 MB, free: 14.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.382e-06/0.317, allocations: 0 / 438 MB, free: 14.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007388/0.3177, allocations: 387.2 kB / 438.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002203/0.3179, allocations: 367.8 kB / 438.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004761/0.3184, allocations: 409.8 kB / 439.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.939e-05/0.3184, allocations: 33.7 kB / 439.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.3186, allocations: 196.9 kB / 439.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.031e-05/0.3187, allocations: 91.22 kB / 439.5 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.3188, allocations: 105.7 kB / 439.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.319, allocations: 354.8 kB / 439.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003324/0.3193, allocations: 204.4 kB / 440.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005755/0.3199, allocations: 0.6195 MB / 440.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005759/0.3205, allocations: 396.7 kB / 441.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.3205, allocations: 0 / 441.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001159/0.3216, allocations: 0.6448 MB / 441.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.3217, allocations: 8 kB / 441.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.474e-05/0.3217, allocations: 11.98 kB / 441.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004959/0.3222, allocations: 126.4 kB / 441.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003716/0.3226, allocations: 63.95 kB / 442 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003818/0.3264, allocations: 4.237 MB / 446.2 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/0.3266, allocations: 51.64 kB / 446.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.3267, allocations: 11.94 kB / 446.3 MB, free: 5.77 MB / 350.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.0002217/0.3269, allocations: 182 kB / 446.5 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.249e-05/0.327, allocations: 47.66 kB / 446.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.671e-05/0.327, allocations: 43.84 kB / 446.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.3271, allocations: 7.984 kB / 446.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.3271, allocations: 0 / 446.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3271, allocations: 0 / 446.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000361/0.3274, allocations: 296.5 kB / 446.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3274, allocations: 0 / 446.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/0.3277, allocations: 35.98 kB / 446.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3277, allocations: 7.938 kB / 446.9 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.3277, allocations: 11.98 kB / 446.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3277, allocations: 0 / 446.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.3277, allocations: 4 kB / 446.9 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006931/0.3284, allocations: 0.5018 MB / 447.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.457e-05/0.3285, allocations: 39.64 kB / 447.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.132e-05/0.3285, allocations: 19.98 kB / 447.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.3287, allocations: 11.98 kB / 447.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-05/0.3288, allocations: 11.98 kB / 447.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.3288, allocations: 15.98 kB / 447.5 MB, free: 4.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002809/0.3291, allocations: 267.1 kB / 447.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3291, allocations: 4 kB / 447.8 MB, free: 4.219 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00195/0.331, allocations: 0.6558 MB / 448.4 MB, free: 3.562 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.002378/0.3334, allocations: 1.616 MB / 450 MB, free: 1.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001452/0.3348, allocations: 0.9103 MB / 450.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.3348, allocations: 4 kB / 451 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.335, allocations: 123.7 kB / 451.1 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005836/0.3356, allocations: 113.2 kB / 451.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006114/0.3417, allocations: 4.514 MB / 455.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.342, allocations: 233.1 kB / 455.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001986/0.3422, allocations: 66.92 kB / 456 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.3424, allocations: 131.4 kB / 456.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3424, allocations: 4 kB / 456.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05628/0.3986, allocations: 18.24 MB / 474.4 MB, free: 9.629 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.41, allocations: 3.094 kB / 474.4 MB, free: 9.629 MB / 382.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Blocks_Examples_Filter.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable Butterworth.x[3] from file Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable ChebyshevI.x[1] in file Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable ChebyshevI.x[1] from file Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable ChebyshevI.x[2] in file Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable ChebyshevI.x[2] from file Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable ChebyshevI.x[3] in file Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable ChebyshevI.x[3] from file Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable CriticalDamping.x[1] in file Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable CriticalDamping.x[1] from file Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable CriticalDamping.x[2] in file Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable CriticalDamping.x[2] from file Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable CriticalDamping.x[3] in file Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable CriticalDamping.x[3] from file Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.129960638005286]