Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001323/0.001323, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 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.001451/0.001451, allocations: 206 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 47.92 kB / 377.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2754, allocations: 53.36 MB / 431.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003484/0.2789, allocations: 1.932 MB / 433 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00626/0.2851, allocations: 3.503 MB / 436.5 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.2853, allocations: 19.75 kB / 436.5 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005387/0.2859, allocations: 191.1 kB / 436.7 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.286, allocations: 43.59 kB / 436.8 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004552/0.2905, allocations: 1.94 MB / 438.7 MB, free: 15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007214/0.2913, allocations: 0.5104 MB / 439.2 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.2914, allocations: 33.27 kB / 439.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002165/0.2916, allocations: 183.4 kB / 439.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.2918, allocations: 171.2 kB / 439.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.239e-05/0.2919, allocations: 24 kB / 439.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002697/0.2946, allocations: 1.912 MB / 441.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001671/0.2948, allocations: 123.5 kB / 441.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.2949, allocations: 131.2 kB / 441.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002175/0.2971, allocations: 1.816 MB / 443.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.2971, allocations: 4 kB / 443.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2971, allocations: 0 / 443.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.2971, allocations: 0 / 443.6 MB, free: 10.09 MB / 350.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.00165/0.2988, allocations: 0.8351 MB / 444.4 MB, free: 9.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.2988, allocations: 8.031 kB / 444.4 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.285e-05/0.2989, allocations: 54.73 kB / 444.5 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.06e-05/0.299, allocations: 52.61 kB / 444.5 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005077/0.2995, allocations: 291.4 kB / 444.8 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.2995, allocations: 16.66 kB / 444.8 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.243e-05/0.2996, allocations: 36.08 kB / 444.9 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006623/0.3002, allocations: 0.6058 MB / 445.5 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3003, allocations: 3.938 kB / 445.5 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.3003, allocations: 8 kB / 445.5 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.3003, allocations: 4 kB / 445.5 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002854/0.3006, allocations: 144.7 kB / 445.6 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.3018, allocations: 0.5891 MB / 446.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006869/0.3025, allocations: 314.4 kB / 446.5 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.3027, allocations: 108.8 kB / 446.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.3027, allocations: 0 / 446.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.414e-05/0.3027, allocations: 38.56 kB / 446.7 MB, free: 6.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.343e-06/0.3027, allocations: 4 kB / 446.7 MB, free: 6.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007781/0.3035, allocations: 384.5 kB / 447 MB, free: 6.375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002398/0.3037, allocations: 371.8 kB / 447.4 MB, free: 5.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004689/0.3042, allocations: 405.8 kB / 447.8 MB, free: 5.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/0.3043, allocations: 33.7 kB / 447.8 MB, free: 5.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.3044, allocations: 196.9 kB / 448 MB, free: 5.281 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.56e-05/0.3045, allocations: 87.28 kB / 448.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.3047, allocations: 97.67 kB / 448.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.3049, allocations: 362.7 kB / 448.6 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003416/0.3052, allocations: 216.1 kB / 448.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006141/0.3058, allocations: 0.6079 MB / 449.4 MB, free: 3.801 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006134/0.3064, allocations: 400.7 kB / 449.8 MB, free: 3.406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3064, allocations: 0 / 449.8 MB, free: 3.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001164/0.3076, allocations: 0.6567 MB / 450.4 MB, free: 2.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.3076, allocations: 4 kB / 450.4 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.202e-05/0.3076, allocations: 15.92 kB / 450.5 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004483/0.3081, allocations: 122.5 kB / 450.6 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002813/0.3084, allocations: 67.89 kB / 450.6 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004234/0.3126, allocations: 4.24 MB / 454.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.3128, allocations: 43.69 kB / 454.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.3129, allocations: 12.28 kB / 454.9 MB, free: 13.88 MB / 366.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.0002512/0.3131, allocations: 177.7 kB / 455.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.462e-05/0.3132, allocations: 39.72 kB / 455.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.854e-05/0.3133, allocations: 51.84 kB / 455.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3133, allocations: 3.938 kB / 455.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.3133, allocations: 0 / 455.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.3133, allocations: 7.984 kB / 455.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003864/0.3137, allocations: 292.5 kB / 455.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3137, allocations: 4 kB / 455.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/0.314, allocations: 39.92 kB / 455.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.314, allocations: 4 kB / 455.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/0.314, allocations: 11.98 kB / 455.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.314, allocations: 3.938 kB / 455.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.314, allocations: 0 / 455.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007345/0.3147, allocations: 0.5028 MB / 456.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.664e-05/0.3148, allocations: 39.66 kB / 456.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.952e-05/0.3148, allocations: 15.92 kB / 456.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.315, allocations: 15.98 kB / 456.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.3151, allocations: 15.98 kB / 456.1 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.3151, allocations: 8.094 kB / 456.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002896/0.3154, allocations: 275.1 kB / 456.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3154, allocations: 0 / 456.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001823/0.3172, allocations: 0.6559 MB / 457.1 MB, free: 11.67 MB / 366.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.002352/0.3195, allocations: 1.596 MB / 458.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001534/0.3211, allocations: 0.9354 MB / 459.6 MB, free: 9.031 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3211, allocations: 0 / 459.6 MB, free: 9.031 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000225/0.3213, allocations: 119.9 kB / 459.7 MB, free: 8.914 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000637/0.3219, allocations: 126 kB / 459.9 MB, free: 8.805 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00641/0.3283, allocations: 4.502 MB / 464.4 MB, free: 4.199 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.3286, allocations: 241 kB / 464.6 MB, free: 3.945 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000204/0.3288, allocations: 62.92 kB / 464.6 MB, free: 3.883 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.329, allocations: 131.4 kB / 464.8 MB, free: 3.754 MB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.329, allocations: 0 / 464.8 MB, free: 3.754 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06065/0.3896, allocations: 18.36 MB / 483.1 MB, free: 1.605 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.18, allocations: 3.516 kB / 483.1 MB, free: 1.605 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Filter.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Blocks_Examples_Filter.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable Butterworth.x[3] from file Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable ChebyshevI.x[1] in file Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable ChebyshevI.x[1] from file Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable ChebyshevI.x[2] in file Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable ChebyshevI.x[2] from file Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable ChebyshevI.x[3] in file Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable ChebyshevI.x[3] from file Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable CriticalDamping.x[1] in file Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable CriticalDamping.x[1] from file Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable CriticalDamping.x[2] in file Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable CriticalDamping.x[2] from file Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable CriticalDamping.x[3] in file Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable CriticalDamping.x[3] from file Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.805893999000546]