Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.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.001256/0.001256, allocations: 112 kB / 18.4 MB, free: 4.672 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.001281/0.001281, allocations: 190.9 kB / 21.34 MB, free: 1.738 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.1 MB / 229.2 MB, free: 4.336 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 52.14 kB / 334.7 MB, free: 14.7 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08269/0.08434, allocations: 46.62 MB / 381.3 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002879/0.08725, allocations: 1.809 MB / 383.1 MB, free: 15.14 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005782/0.09306, allocations: 3.556 MB / 386.7 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.09326, allocations: 11.88 kB / 386.7 MB, free: 11.56 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004317/0.09377, allocations: 135.4 kB / 386.8 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.0939, allocations: 39.64 kB / 386.9 MB, free: 11.39 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00431/0.09822, allocations: 1.762 MB / 388.6 MB, free: 9.621 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004626/0.09869, allocations: 307.1 kB / 388.9 MB, free: 9.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.09882, allocations: 36.72 kB / 389 MB, free: 9.285 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.09903, allocations: 111.6 kB / 389.1 MB, free: 9.176 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.0992, allocations: 99.42 kB / 389.2 MB, free: 9.078 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.878e-05/0.09925, allocations: 12 kB / 389.2 MB, free: 9.066 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002971/0.09955, allocations: 147.7 kB / 389.3 MB, free: 8.922 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.09968, allocations: 71.75 kB / 389.4 MB, free: 8.852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.09981, allocations: 103.3 kB / 389.5 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004695/0.1003, allocations: 346.5 kB / 389.8 MB, free: 8.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1003, allocations: 0 / 389.8 MB, free: 8.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1003, allocations: 0 / 389.8 MB, free: 8.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.1003, allocations: 0 / 389.8 MB, free: 8.41 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009049/0.1012, allocations: 0.5799 MB / 390.4 MB, free: 7.781 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1013, allocations: 12.03 kB / 390.4 MB, free: 7.77 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.902e-05/0.1013, allocations: 50.73 kB / 390.5 MB, free: 7.711 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.072e-05/0.1014, allocations: 36.69 kB / 390.5 MB, free: 7.676 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004615/0.1019, allocations: 288.3 kB / 390.8 MB, free: 7.355 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.1019, allocations: 16.31 kB / 390.8 MB, free: 7.34 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.993e-05/0.102, allocations: 12 kB / 390.8 MB, free: 7.328 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003369/0.1023, allocations: 202.1 kB / 391 MB, free: 7.094 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1023, allocations: 0 / 391 MB, free: 7.094 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.1023, allocations: 4 kB / 391 MB, free: 7.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.1024, allocations: 4 kB / 391 MB, free: 7.086 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002009/0.1026, allocations: 87.88 kB / 391.1 MB, free: 7 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008544/0.1034, allocations: 0.4888 MB / 391.6 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.1037, allocations: 162.4 kB / 391.8 MB, free: 6.293 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.1039, allocations: 56.83 kB / 391.8 MB, free: 6.234 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.1039, allocations: 3.984 kB / 391.8 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.1039, allocations: 42.56 kB / 391.9 MB, free: 6.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.1039, allocations: 0 / 391.9 MB, free: 6.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004876/0.1044, allocations: 221.4 kB / 392.1 MB, free: 5.957 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000183/0.1046, allocations: 290.8 kB / 392.4 MB, free: 5.605 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003074/0.1049, allocations: 284.5 kB / 392.6 MB, free: 5.316 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.105, allocations: 29.7 kB / 392.7 MB, free: 5.281 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.1051, allocations: 164.5 kB / 392.8 MB, free: 5.113 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.513e-05/0.1052, allocations: 47.59 kB / 392.9 MB, free: 5.066 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.703e-05/0.1053, allocations: 61.7 kB / 392.9 MB, free: 5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1054, allocations: 338.8 kB / 393.3 MB, free: 4.66 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.1056, allocations: 95.94 kB / 393.4 MB, free: 4.566 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002503/0.1059, allocations: 188.4 kB / 393.6 MB, free: 4.352 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003353/0.1062, allocations: 209.6 kB / 393.8 MB, free: 4.145 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1062, allocations: 7.875 kB / 393.8 MB, free: 4.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004948/0.1067, allocations: 305.3 kB / 394.1 MB, free: 3.832 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1067, allocations: 4 kB / 394.1 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/0.1068, allocations: 7.984 kB / 394.1 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1068, allocations: 0 / 394.1 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.1071, allocations: 47.97 kB / 394.1 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.1071, allocations: 7.938 kB / 394.1 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.1072, allocations: 31.72 kB / 394.2 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.1072, allocations: 11.97 kB / 394.2 MB, free: 3.723 MB / 318.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 (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000148/0.1074, allocations: 145.8 kB / 394.3 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.005e-05/0.1074, allocations: 27.81 kB / 394.3 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.28e-05/0.1075, allocations: 30.06 kB / 394.4 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1075, allocations: 7.922 kB / 394.4 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1075, allocations: 3.938 kB / 394.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.1075, allocations: 0 / 394.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003009/0.1078, allocations: 269.5 kB / 394.6 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1079, allocations: 0 / 394.6 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.108, allocations: 23.92 kB / 394.7 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.108, allocations: 4 kB / 394.7 MB, free: 3.16 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.1081, allocations: 4 kB / 394.7 MB, free: 3.156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.1081, allocations: 4 kB / 394.7 MB, free: 3.152 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1081, allocations: 3.938 kB / 394.7 MB, free: 3.148 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004898/0.1086, allocations: 339.2 kB / 395 MB, free: 2.801 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-05/0.1087, allocations: 104.9 kB / 395.1 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.1087, allocations: 12 kB / 395.1 MB, free: 2.668 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.1088, allocations: 7.984 kB / 395.1 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.1089, allocations: 11.94 kB / 395.1 MB, free: 2.648 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.1089, allocations: 8.125 kB / 395.2 MB, free: 2.641 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001907/0.1091, allocations: 195.1 kB / 395.3 MB, free: 2.449 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1091, allocations: 0 / 395.3 MB, free: 2.449 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003535/0.1095, allocations: 87.8 kB / 395.4 MB, free: 2.363 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (filter_fac5.x[1],filter_fac5.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac3.x[1],filter_fac3.x[2]) * 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 (13): * Single equations (assignments): 13 * 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.0009319/0.1104, allocations: 0.908 MB / 396.3 MB, free: 1.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004795/0.1109, allocations: 285 kB / 396.6 MB, free: 1.133 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.1109, allocations: 0 / 396.6 MB, free: 1.133 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.111, allocations: 59.97 kB / 396.7 MB, free: 1.074 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004812/0.1115, allocations: 80.33 kB / 396.8 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003527/0.1151, allocations: 2.791 MB / 399.5 MB, free: 14.13 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.1155, allocations: 0.7753 MB / 400.3 MB, free: 13.33 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001277/0.1157, allocations: 37.92 kB / 400.4 MB, free: 13.29 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.1158, allocations: 87.41 kB / 400.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1158, allocations: 0 / 400.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03139/0.1472, allocations: 6.526 MB / 407 MB, free: 6.617 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.192/8.34, allocations: 4.484 kB / 407 MB, free: 6.613 MB / 334.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079952 Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable filter_fac5.x[2] in file Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv. Warning: Get data of variable filter_fac5.x[2] from file Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.753145093098283]