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.001669/0.001669, allocations: 120.1 kB / 17.78 MB, free: 5.23 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.001947/0.001947, allocations: 198.8 kB / 20.73 MB, free: 2.289 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.465/1.465, allocations: 225.6 MB / 249.1 MB, free: 3.609 MB / 190.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.001546/0.001546, allocations: 51.91 kB / 365.6 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1029, allocations: 52.15 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003257/0.1062, allocations: 2.012 MB / 419.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006375/0.1125, allocations: 3.702 MB / 423.5 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002885/0.1128, allocations: 19.75 kB / 423.5 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006024/0.1134, allocations: 183.1 kB / 423.7 MB, free: 6.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.1136, allocations: 47.58 kB / 423.7 MB, free: 6.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005957/0.1195, allocations: 1.924 MB / 425.7 MB, free: 4.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007897/0.1203, allocations: 0.4987 MB / 426.2 MB, free: 4.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.1205, allocations: 33.06 kB / 426.2 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.1207, allocations: 183.4 kB / 426.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002525/0.1209, allocations: 179 kB / 426.5 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.181e-05/0.121, allocations: 24 kB / 426.6 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00255/0.1235, allocations: 1.799 MB / 428.4 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001886/0.1237, allocations: 127.5 kB / 428.5 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.1239, allocations: 170.9 kB / 428.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002068/0.126, allocations: 1.769 MB / 430.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.126, allocations: 0 / 430.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.126, allocations: 4 kB / 430.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.126, allocations: 0 / 430.4 MB, free: 15.93 MB / 366.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.001778/0.1278, allocations: 0.9105 MB / 431.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.1278, allocations: 12.03 kB / 431.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.653e-05/0.1279, allocations: 58.67 kB / 431.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.128, allocations: 52.64 kB / 431.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004977/0.1285, allocations: 362.2 kB / 431.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.1285, allocations: 16.28 kB / 431.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.759e-05/0.1286, allocations: 24 kB / 431.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000515/0.1291, allocations: 303.1 kB / 432.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1291, allocations: 0 / 432.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.1291, allocations: 8 kB / 432.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1291, allocations: 4 kB / 432.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002841/0.1294, allocations: 144.7 kB / 432.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.1306, allocations: 0.6757 MB / 433 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000661/0.1313, allocations: 326.3 kB / 433.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.1315, allocations: 100.8 kB / 433.4 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.1315, allocations: 4 kB / 433.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.1315, allocations: 38.94 kB / 433.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.173e-06/0.1315, allocations: 0 / 433.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007496/0.1323, allocations: 386.6 kB / 433.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000208/0.1325, allocations: 371.8 kB / 434.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004536/0.1329, allocations: 405.8 kB / 434.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.341e-05/0.133, allocations: 37.7 kB / 434.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.1331, allocations: 192.9 kB / 434.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.297e-05/0.1332, allocations: 91.27 kB / 434.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.1334, allocations: 101.7 kB / 435 MB, free: 11.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.1336, allocations: 354.8 kB / 435.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/0.1339, allocations: 208.4 kB / 435.5 MB, free: 10.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004287/0.1343, allocations: 318.3 kB / 435.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006122/0.1349, allocations: 397.6 kB / 436.2 MB, free: 9.734 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1349, allocations: 0 / 436.2 MB, free: 9.734 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00116/0.1361, allocations: 0.6498 MB / 436.9 MB, free: 9.066 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.1361, allocations: 13.66 kB / 436.9 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-05/0.1362, allocations: 4 kB / 436.9 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004761/0.1366, allocations: 130.5 kB / 437 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/0.1369, allocations: 67.89 kB / 437.1 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004114/0.141, allocations: 4.55 MB / 441.6 MB, free: 3.879 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.1413, allocations: 59.58 kB / 441.7 MB, free: 3.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/0.1413, allocations: 11.94 kB / 441.7 MB, free: 3.809 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.0002302/0.1416, allocations: 186.5 kB / 441.9 MB, free: 3.617 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.695e-05/0.1416, allocations: 43.66 kB / 441.9 MB, free: 3.574 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.159e-05/0.1417, allocations: 47.73 kB / 442 MB, free: 3.531 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1417, allocations: 4 kB / 442 MB, free: 3.527 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1417, allocations: 0 / 442 MB, free: 3.527 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1417, allocations: 3.938 kB / 442 MB, free: 3.523 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004059/0.1421, allocations: 341.4 kB / 442.3 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1421, allocations: 7.984 kB / 442.3 MB, free: 3.133 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003039/0.1425, allocations: 35.98 kB / 442.4 MB, free: 3.098 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.1425, allocations: 3.938 kB / 442.4 MB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/0.1425, allocations: 15.98 kB / 442.4 MB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.1425, allocations: 4 kB / 442.4 MB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1425, allocations: 4 kB / 442.4 MB, free: 3.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007172/0.1432, allocations: 0.4965 MB / 442.9 MB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.277e-05/0.1433, allocations: 120.8 kB / 443 MB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.037e-05/0.1434, allocations: 15.98 kB / 443 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.1435, allocations: 11.98 kB / 443 MB, free: 2.395 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.726e-05/0.1436, allocations: 19.97 kB / 443.1 MB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.1436, allocations: 4 kB / 443.1 MB, free: 2.371 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003154/0.1439, allocations: 267.1 kB / 443.3 MB, free: 2.113 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1439, allocations: 0 / 443.3 MB, free: 2.113 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002283/0.1462, allocations: 0.6598 MB / 444 MB, free: 1.453 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.2285/0.3747, allocations: 1.613 MB / 445.6 MB, free: 29.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.376, allocations: 0.9158 MB / 446.5 MB, free: 28.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.3761, allocations: 2.312 kB / 446.5 MB, free: 28.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.3762, allocations: 122.3 kB / 446.6 MB, free: 28.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006245/0.3769, allocations: 113.4 kB / 446.7 MB, free: 28.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005783/0.3826, allocations: 4.51 MB / 451.3 MB, free: 27.42 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.383, allocations: 0.8391 MB / 452.1 MB, free: 26.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002483/0.3832, allocations: 67.2 kB / 452.2 MB, free: 26.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.3834, allocations: 130.8 kB / 452.3 MB, free: 26.71 MB / 366.1 MB Notification: Performance of SimCode: time 1.272e-06/0.3834, allocations: 0 / 452.3 MB, free: 26.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05536/0.4388, allocations: 17.19 MB / 469.5 MB, free: 21.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.65, allocations: 4.188 kB / 469.5 MB, free: 21.01 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.275921205058694]