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.001342/0.001342, allocations: 112 kB / 20.43 MB, free: 1.309 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.001477/0.001477, allocations: 191.2 kB / 23.72 MB, free: 4.559 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.456/1.456, allocations: 225.6 MB / 252.5 MB, free: 13.03 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.001533/0.001533, allocations: 47.92 kB / 370.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3011, allocations: 52.2 MB / 422.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.004138/0.3052, allocations: 2.021 MB / 424.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007615/0.3128, allocations: 3.713 MB / 428.4 MB, free: 8.824 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004039/0.3132, allocations: 15.81 kB / 428.4 MB, free: 8.809 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008357/0.314, allocations: 187.1 kB / 428.6 MB, free: 8.625 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001999/0.3142, allocations: 51.52 kB / 428.6 MB, free: 8.574 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005674/0.3199, allocations: 1.92 MB / 430.5 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009861/0.3209, allocations: 0.5027 MB / 431 MB, free: 6.156 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.3211, allocations: 33.27 kB / 431.1 MB, free: 6.117 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002689/0.3213, allocations: 195.3 kB / 431.3 MB, free: 5.926 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002788/0.3216, allocations: 167.2 kB / 431.4 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.124e-05/0.3217, allocations: 24 kB / 431.4 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003271/0.3249, allocations: 1.9 MB / 433.3 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002432/0.3252, allocations: 127.5 kB / 433.5 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002389/0.3254, allocations: 162.9 kB / 433.6 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002632/0.3281, allocations: 1.8 MB / 435.4 MB, free: 1.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.585e-06/0.3281, allocations: 0 / 435.4 MB, free: 1.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.3281, allocations: 7.938 kB / 435.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.3281, allocations: 0 / 435.4 MB, free: 1.742 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.001916/0.33, allocations: 0.8468 MB / 436.3 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.424e-05/0.3301, allocations: 8.031 kB / 436.3 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.327e-05/0.3301, allocations: 54.73 kB / 436.3 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.3302, allocations: 44.66 kB / 436.4 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005613/0.3308, allocations: 295 kB / 436.7 MB, free: 444 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.3308, allocations: 16.28 kB / 436.7 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-05/0.3309, allocations: 24 kB / 436.7 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005191/0.3314, allocations: 311.9 kB / 437 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.3314, allocations: 3.938 kB / 437 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/0.3314, allocations: 12 kB / 437 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.3314, allocations: 8 kB / 437 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003165/0.3318, allocations: 144.7 kB / 437.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.3331, allocations: 0.6436 MB / 437.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006851/0.3337, allocations: 314 kB / 438.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.3339, allocations: 106.3 kB / 438.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.334, allocations: 4 kB / 438.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.334, allocations: 38.56 kB / 438.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.483e-06/0.334, allocations: 4 kB / 438.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007926/0.3348, allocations: 382.8 kB / 438.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002463/0.335, allocations: 367.8 kB / 439 MB, free: 13.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004918/0.3355, allocations: 409.8 kB / 439.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.238e-05/0.3356, allocations: 33.7 kB / 439.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.3357, allocations: 200.8 kB / 439.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.681e-05/0.3358, allocations: 87.22 kB / 439.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.336, allocations: 105.7 kB / 439.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.3362, allocations: 350.8 kB / 440.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003544/0.3365, allocations: 212.5 kB / 440.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004857/0.337, allocations: 322 kB / 440.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006243/0.3376, allocations: 396.7 kB / 441.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3376, allocations: 0 / 441.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001204/0.3388, allocations: 0.6487 MB / 441.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.3388, allocations: 4 kB / 441.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.781e-05/0.3389, allocations: 8 kB / 441.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004719/0.3393, allocations: 134.4 kB / 441.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002985/0.3396, allocations: 63.95 kB / 441.9 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004197/0.3438, allocations: 4.249 MB / 446.2 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.3441, allocations: 47.81 kB / 446.2 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.182e-05/0.3442, allocations: 15.98 kB / 446.3 MB, free: 6.211 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.0002867/0.3445, allocations: 177.7 kB / 446.4 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.472e-05/0.3445, allocations: 47.66 kB / 446.5 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.505e-05/0.3446, allocations: 39.84 kB / 446.5 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3446, allocations: 4 kB / 446.5 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.3446, allocations: 0 / 446.5 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.332e-05/0.3447, allocations: 7.984 kB / 446.5 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004335/0.3451, allocations: 316.5 kB / 446.8 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3451, allocations: 0 / 446.8 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002958/0.3454, allocations: 39.91 kB / 446.9 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.3454, allocations: 7.938 kB / 446.9 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.3454, allocations: 8 kB / 446.9 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3454, allocations: 0 / 446.9 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.3454, allocations: 7.969 kB / 446.9 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007412/0.3462, allocations: 0.5021 MB / 447.4 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.799e-05/0.3462, allocations: 47.58 kB / 447.4 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.829e-05/0.3463, allocations: 8 kB / 447.5 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.3465, allocations: 15.98 kB / 447.5 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.3465, allocations: 11.97 kB / 447.5 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.3465, allocations: 8 kB / 447.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003292/0.3469, allocations: 271.1 kB / 447.8 MB, free: 4.645 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3469, allocations: 0 / 447.8 MB, free: 4.645 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002373/0.3492, allocations: 0.6597 MB / 448.4 MB, free: 3.984 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.003008/0.3522, allocations: 1.616 MB / 450 MB, free: 2.348 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001747/0.354, allocations: 0.9141 MB / 450.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.354, allocations: 4 kB / 450.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002195/0.3542, allocations: 123.8 kB / 451.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006791/0.3549, allocations: 119.6 kB / 451.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006683/0.3616, allocations: 4.506 MB / 455.7 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005189/0.3621, allocations: 0.8419 MB / 456.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002309/0.3623, allocations: 70.92 kB / 456.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.3625, allocations: 131.4 kB / 456.7 MB, free: 11.44 MB / 366.1 MB Notification: Performance of SimCode: time 1.213e-06/0.3625, allocations: 0 / 456.7 MB, free: 11.44 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06114/0.4237, allocations: 17.39 MB / 474.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.68, allocations: 4.062 kB / 474.1 MB, free: 10.23 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.281592262999766]