Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001648/0.001648, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00211/0.00211, allocations: 215.5 kB / 23.73 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.601/1.601, allocations: 230.5 MB / 257.4 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 63.89 kB / 377.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4138, allocations: 53.41 MB / 431.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.004899/0.4187, allocations: 1.928 MB / 433.1 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007923/0.4266, allocations: 3.488 MB / 436.6 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002563/0.4269, allocations: 19.75 kB / 436.6 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006418/0.4275, allocations: 195.1 kB / 436.8 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001477/0.4277, allocations: 51.56 kB / 436.8 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005535/0.4332, allocations: 1.928 MB / 438.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007184/0.4339, allocations: 0.4948 MB / 439.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.4341, allocations: 33.27 kB / 439.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002352/0.4343, allocations: 187.4 kB / 439.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002697/0.4346, allocations: 175.1 kB / 439.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.194e-05/0.4346, allocations: 28 kB / 439.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002994/0.4376, allocations: 1.865 MB / 441.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.4378, allocations: 123.6 kB / 441.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.438, allocations: 135.1 kB / 441.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002205/0.4402, allocations: 1.811 MB / 443.6 MB, free: 9.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.4402, allocations: 0 / 443.6 MB, free: 9.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.4402, allocations: 3.938 kB / 443.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.4402, allocations: 0 / 443.6 MB, free: 9.984 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.001804/0.442, allocations: 0.8391 MB / 444.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.189e-05/0.4421, allocations: 15.98 kB / 444.4 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.685e-05/0.4422, allocations: 50.67 kB / 444.5 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.4423, allocations: 52.61 kB / 444.5 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005623/0.4428, allocations: 299.3 kB / 444.8 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.4429, allocations: 16.64 kB / 444.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.336e-05/0.4429, allocations: 32.08 kB / 444.9 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008023/0.4437, allocations: 0.6017 MB / 445.5 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.4437, allocations: 0 / 445.5 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.4438, allocations: 8 kB / 445.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.4438, allocations: 8 kB / 445.5 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002909/0.4441, allocations: 140.7 kB / 445.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.4454, allocations: 0.5969 MB / 446.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006945/0.4461, allocations: 318.3 kB / 446.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.4463, allocations: 100.8 kB / 446.6 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.4463, allocations: 4 kB / 446.6 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.4464, allocations: 34.94 kB / 446.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.623e-06/0.4464, allocations: 4 kB / 446.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007793/0.4471, allocations: 385.1 kB / 447.1 MB, free: 6.254 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002568/0.4474, allocations: 371.8 kB / 447.4 MB, free: 5.805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004964/0.4479, allocations: 401.8 kB / 447.8 MB, free: 5.402 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.963e-05/0.4479, allocations: 37.81 kB / 447.8 MB, free: 5.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.4481, allocations: 200.8 kB / 448 MB, free: 5.156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.896e-05/0.4482, allocations: 87.27 kB / 448.1 MB, free: 5.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.4484, allocations: 101.7 kB / 448.2 MB, free: 4.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.4486, allocations: 358.7 kB / 448.6 MB, free: 4.605 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003338/0.4489, allocations: 208.2 kB / 448.8 MB, free: 4.402 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006417/0.4495, allocations: 0.6156 MB / 449.4 MB, free: 3.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005913/0.4501, allocations: 396.7 kB / 449.8 MB, free: 3.285 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4501, allocations: 0 / 449.8 MB, free: 3.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001174/0.4513, allocations: 0.645 MB / 450.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.4513, allocations: 7.984 kB / 450.4 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-05/0.4514, allocations: 8 kB / 450.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004784/0.4518, allocations: 130.5 kB / 450.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/0.4521, allocations: 63.91 kB / 450.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004092/0.4562, allocations: 4.244 MB / 454.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/0.4564, allocations: 47.69 kB / 454.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.689e-05/0.4565, allocations: 8 kB / 454.9 MB, free: 13.77 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.0002703/0.4568, allocations: 181.9 kB / 455.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.164e-05/0.4568, allocations: 43.72 kB / 455.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.106e-05/0.4569, allocations: 43.84 kB / 455.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.4569, allocations: 11.92 kB / 455.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4569, allocations: 0 / 455.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.4569, allocations: 3.938 kB / 455.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004055/0.4573, allocations: 292.5 kB / 455.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.4573, allocations: 0 / 455.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/0.4576, allocations: 43.97 kB / 455.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4576, allocations: 4 kB / 455.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.4577, allocations: 11.94 kB / 455.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/0.4577, allocations: 7.922 kB / 455.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4577, allocations: 0 / 455.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007337/0.4584, allocations: 0.5063 MB / 456.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.697e-05/0.4585, allocations: 43.64 kB / 456.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.88e-05/0.4585, allocations: 11.94 kB / 456.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.4587, allocations: 15.98 kB / 456.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.038e-05/0.4587, allocations: 11.97 kB / 456.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.4588, allocations: 8 kB / 456.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003236/0.4591, allocations: 275.1 kB / 456.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4591, allocations: 0 / 456.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002443/0.4615, allocations: 0.6558 MB / 457.1 MB, free: 11.55 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.002559/0.4641, allocations: 1.599 MB / 458.7 MB, free: 9.926 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001552/0.4656, allocations: 0.9296 MB / 459.6 MB, free: 8.914 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.4656, allocations: 0 / 459.6 MB, free: 8.914 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.4658, allocations: 118.9 kB / 459.7 MB, free: 8.801 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006248/0.4665, allocations: 125.2 kB / 459.9 MB, free: 8.691 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00656/0.473, allocations: 4.502 MB / 464.4 MB, free: 4.086 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.4733, allocations: 245 kB / 464.6 MB, free: 3.824 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002277/0.4735, allocations: 62.94 kB / 464.7 MB, free: 3.762 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002138/0.4737, allocations: 127.4 kB / 464.8 MB, free: 3.637 MB / 366.1 MB Notification: Performance of SimCode: time 1.242e-06/0.4738, allocations: 0 / 464.8 MB, free: 3.637 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07466/0.5484, allocations: 18.27 MB / 483.1 MB, free: 1.516 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.68, allocations: 2.188 kB / 483.1 MB, free: 1.516 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Filter.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Blocks_Examples_Filter.fmu > Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable Butterworth.x[3] from file Modelica_trunk_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable ChebyshevI.x[1] in file Modelica_trunk_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable ChebyshevI.x[1] from file Modelica_trunk_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable ChebyshevI.x[2] in file Modelica_trunk_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable ChebyshevI.x[2] from file Modelica_trunk_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable ChebyshevI.x[3] in file Modelica_trunk_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable ChebyshevI.x[3] from file Modelica_trunk_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable CriticalDamping.x[1] in file Modelica_trunk_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable CriticalDamping.x[1] from file Modelica_trunk_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable CriticalDamping.x[2] in file Modelica_trunk_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable CriticalDamping.x[2] from file Modelica_trunk_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable CriticalDamping.x[3] in file Modelica_trunk_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable CriticalDamping.x[3] from file Modelica_trunk_Modelica.Blocks.Examples.Filter_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.460121783893555]