Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001513/0.001513, allocations: 116 kB / 17.78 MB, free: 5.289 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.001692/0.001692, allocations: 190.9 kB / 20.73 MB, free: 2.352 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.476/1.476, allocations: 225.6 MB / 249.1 MB, free: 3.613 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.FilterWithRiseTime,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 47.92 kB / 365.6 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1077, allocations: 52.14 MB / 417.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.00308/0.1108, allocations: 1.839 MB / 419.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00585/0.1167, allocations: 3.522 MB / 423.1 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.1168, allocations: 11.88 kB / 423.1 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004382/0.1172, allocations: 139.3 kB / 423.3 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.1173, allocations: 39.64 kB / 423.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003918/0.1212, allocations: 1.767 MB / 425.1 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004062/0.1216, allocations: 303.2 kB / 425.4 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1218, allocations: 28.72 kB / 425.4 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.1219, allocations: 115.5 kB / 425.5 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.1221, allocations: 111.4 kB / 425.6 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.1221, allocations: 12 kB / 425.6 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002842/0.1224, allocations: 151.7 kB / 425.8 MB, free: 4.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.1225, allocations: 71.75 kB / 425.9 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.1227, allocations: 103.3 kB / 426 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004344/0.1231, allocations: 338.6 kB / 426.3 MB, free: 4.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1231, allocations: 0 / 426.3 MB, free: 4.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1231, allocations: 0 / 426.3 MB, free: 4.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1231, allocations: 0 / 426.3 MB, free: 4.188 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009438/0.124, allocations: 0.5954 MB / 426.9 MB, free: 3.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.1241, allocations: 15.95 kB / 426.9 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.91e-05/0.1241, allocations: 38.75 kB / 426.9 MB, free: 3.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.838e-05/0.1242, allocations: 32.75 kB / 427 MB, free: 3.449 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004387/0.1246, allocations: 291.9 kB / 427.3 MB, free: 3.125 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.1247, allocations: 12 kB / 427.3 MB, free: 3.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.48e-05/0.1247, allocations: 16 kB / 427.3 MB, free: 3.098 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00035/0.1251, allocations: 202.1 kB / 427.5 MB, free: 2.863 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.1251, allocations: 0 / 427.5 MB, free: 2.863 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.1251, allocations: 11.94 kB / 427.5 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1251, allocations: 4 kB / 427.5 MB, free: 2.848 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001994/0.1253, allocations: 83.94 kB / 427.6 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008484/0.1261, allocations: 488.4 kB / 428.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003285/0.1265, allocations: 174.5 kB / 428.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.1266, allocations: 52.81 kB / 428.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.1266, allocations: 4 kB / 428.3 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.1266, allocations: 34.56 kB / 428.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.1266, allocations: 0 / 428.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005027/0.1271, allocations: 221.5 kB / 428.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001794/0.1273, allocations: 290.7 kB / 428.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003132/0.1276, allocations: 284.5 kB / 429.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.1277, allocations: 37.62 kB / 429.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.1278, allocations: 156.5 kB / 429.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.336e-05/0.1279, allocations: 55.48 kB / 429.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.128, allocations: 57.81 kB / 429.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.1281, allocations: 346.7 kB / 429.7 MB, free: 444 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.1283, allocations: 95.94 kB / 429.8 MB, free: 348 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.1286, allocations: 181.2 kB / 430 MB, free: 136 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/0.129, allocations: 201.6 kB / 430.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.129, allocations: 0 / 430.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005325/0.1295, allocations: 313.2 kB / 430.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1295, allocations: 8 kB / 430.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/0.1295, allocations: 7.984 kB / 430.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.1295, allocations: 7.938 kB / 430.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/0.1298, allocations: 43.97 kB / 430.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.1298, allocations: 0 / 430.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.1299, allocations: 23.88 kB / 430.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.13, allocations: 12 kB / 430.6 MB, free: 15.52 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 (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.0001486/0.1301, allocations: 141.9 kB / 430.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.389e-05/0.1302, allocations: 35.75 kB / 430.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.812e-05/0.1302, allocations: 33.91 kB / 430.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.1302, allocations: 0 / 430.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.1302, allocations: 4 kB / 430.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1302, allocations: 0 / 430.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003227/0.1306, allocations: 273.4 kB / 431.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1306, allocations: 0 / 431.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.1308, allocations: 31.92 kB / 431.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1308, allocations: 0 / 431.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.1308, allocations: 7.938 kB / 431.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.1308, allocations: 0 / 431.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1308, allocations: 4 kB / 431.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004956/0.1313, allocations: 331.4 kB / 431.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.971e-05/0.1314, allocations: 101 kB / 431.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.316e-05/0.1314, allocations: 15.94 kB / 431.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.1315, allocations: 11.98 kB / 431.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.1316, allocations: 11.92 kB / 431.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.1316, allocations: 8 kB / 431.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002025/0.1318, allocations: 195.1 kB / 431.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1318, allocations: 0 / 431.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003713/0.1322, allocations: 75.86 kB / 431.9 MB, free: 14.17 MB / 366.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.001029/0.1332, allocations: 0.9261 MB / 432.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005091/0.1337, allocations: 273.3 kB / 433.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.1337, allocations: 4 kB / 433.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.1338, allocations: 55.97 kB / 433.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.1343, allocations: 74.86 kB / 433.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003753/0.1381, allocations: 2.807 MB / 436 MB, free: 9.918 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/0.1385, allocations: 0.7675 MB / 436.8 MB, free: 9.125 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001431/0.1387, allocations: 42.05 kB / 436.8 MB, free: 9.082 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.1388, allocations: 83.41 kB / 436.9 MB, free: 9.004 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1388, allocations: 0 / 436.9 MB, free: 9.004 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03386/0.1726, allocations: 6.558 MB / 443.4 MB, free: 2.547 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.66/8.833, allocations: 11.03 kB / 443.5 MB, free: 2.539 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv. Warning: Get data of variable filter_fac5.x[2] from file Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.633097091224045]