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.001714/0.001714, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002244/0.002244, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.531/1.531, allocations: 230.6 MB / 257.5 MB, free: 7.824 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.00155/0.00155, allocations: 47.92 kB / 377.7 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3196, allocations: 53.37 MB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003203/0.3228, allocations: 1.928 MB / 433 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005966/0.3288, allocations: 3.495 MB / 436.5 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.329, allocations: 19.75 kB / 436.5 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005061/0.3295, allocations: 191.1 kB / 436.7 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.3296, allocations: 55.56 kB / 436.8 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004106/0.3337, allocations: 1.923 MB / 438.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006101/0.3343, allocations: 0.4988 MB / 439.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.3344, allocations: 33.25 kB / 439.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002055/0.3346, allocations: 183.4 kB / 439.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.3349, allocations: 179.1 kB / 439.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.377e-05/0.3349, allocations: 24 kB / 439.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002517/0.3375, allocations: 1.865 MB / 441.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.3376, allocations: 131.5 kB / 441.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.3378, allocations: 131.2 kB / 441.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001866/0.3396, allocations: 1.808 MB / 443.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.3397, allocations: 4 kB / 443.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3397, allocations: 0 / 443.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.3397, allocations: 0 / 443.5 MB, free: 10.18 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.001498/0.3412, allocations: 0.8429 MB / 444.4 MB, free: 9.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.3412, allocations: 8.031 kB / 444.4 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.099e-05/0.3413, allocations: 50.73 kB / 444.4 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.861e-05/0.3414, allocations: 52.61 kB / 444.5 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005234/0.3419, allocations: 291.3 kB / 444.8 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.3419, allocations: 12.66 kB / 444.8 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.167e-05/0.342, allocations: 40.06 kB / 444.8 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006587/0.3426, allocations: 0.6016 MB / 445.4 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3426, allocations: 4 kB / 445.4 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.3427, allocations: 12 kB / 445.4 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.3427, allocations: 4 kB / 445.4 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00029/0.343, allocations: 144.7 kB / 445.6 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.3442, allocations: 0.5891 MB / 446.2 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006491/0.3448, allocations: 318.8 kB / 446.5 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.345, allocations: 104.8 kB / 446.6 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.345, allocations: 3.938 kB / 446.6 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.3451, allocations: 42.5 kB / 446.6 MB, free: 6.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.503e-06/0.3451, allocations: 0 / 446.6 MB, free: 6.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007706/0.3458, allocations: 379.8 kB / 447 MB, free: 6.457 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002227/0.3461, allocations: 375.8 kB / 447.4 MB, free: 6.004 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004334/0.3465, allocations: 401.8 kB / 447.8 MB, free: 5.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.933e-05/0.3465, allocations: 41.7 kB / 447.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.3467, allocations: 196.9 kB / 448 MB, free: 5.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.378e-05/0.3468, allocations: 87.27 kB / 448.1 MB, free: 5.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.3469, allocations: 97.69 kB / 448.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.3471, allocations: 358.7 kB / 448.5 MB, free: 4.809 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003519/0.3475, allocations: 216.2 kB / 448.7 MB, free: 4.598 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006401/0.3481, allocations: 0.6156 MB / 449.3 MB, free: 3.871 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006209/0.3487, allocations: 388.7 kB / 449.7 MB, free: 3.488 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.3487, allocations: 3.984 kB / 449.7 MB, free: 3.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001213/0.3499, allocations: 0.6528 MB / 450.4 MB, free: 2.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.35, allocations: 10.48 kB / 450.4 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.942e-05/0.35, allocations: 8 kB / 450.4 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004595/0.3504, allocations: 126.4 kB / 450.5 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/0.3507, allocations: 59.97 kB / 450.6 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004038/0.3547, allocations: 4.252 MB / 454.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.355, allocations: 47.67 kB / 454.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.355, allocations: 19.98 kB / 454.9 MB, free: 13.95 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.0002131/0.3552, allocations: 173.8 kB / 455.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.699e-05/0.3553, allocations: 39.88 kB / 455.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.634e-05/0.3554, allocations: 47.84 kB / 455.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.3554, allocations: 7.922 kB / 455.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3554, allocations: 3.984 kB / 455.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.3554, allocations: 4 kB / 455.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003679/0.3558, allocations: 288.5 kB / 455.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3558, allocations: 0 / 455.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/0.356, allocations: 43.97 kB / 455.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.356, allocations: 4 kB / 455.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/0.3561, allocations: 8 kB / 455.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3561, allocations: 3.938 kB / 455.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3561, allocations: 7.984 kB / 455.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007397/0.3568, allocations: 0.4989 MB / 456 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-05/0.3569, allocations: 43.64 kB / 456.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.022e-05/0.3569, allocations: 15.94 kB / 456.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.3571, allocations: 15.98 kB / 456.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.719e-05/0.3572, allocations: 11.97 kB / 456.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.3572, allocations: 4 kB / 456.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003111/0.3575, allocations: 271.1 kB / 456.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3575, allocations: 3.938 kB / 456.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001926/0.3594, allocations: 0.6597 MB / 457 MB, free: 11.74 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.002411/0.3618, allocations: 1.604 MB / 458.6 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001594/0.3634, allocations: 0.9279 MB / 459.6 MB, free: 9.102 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.3634, allocations: 0 / 459.6 MB, free: 9.102 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.3636, allocations: 119.8 kB / 459.7 MB, free: 8.984 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006294/0.3643, allocations: 116 kB / 459.8 MB, free: 8.875 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006491/0.3708, allocations: 4.505 MB / 464.3 MB, free: 4.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.371, allocations: 245 kB / 464.5 MB, free: 4.012 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001987/0.3712, allocations: 66.86 kB / 464.6 MB, free: 3.945 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/0.3714, allocations: 131.4 kB / 464.7 MB, free: 3.816 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3714, allocations: 0 / 464.7 MB, free: 3.816 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05747/0.4289, allocations: 18.28 MB / 483 MB, free: 1.762 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.6, allocations: 0 / 483 MB, free: 1.762 MB / 382.1 MB " [Timeout remaining time 647] (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: 15.45459613809362]