Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.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.001811/0.001811, allocations: 131.4 kB / 17.8 MB, free: 5.219 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.002157/0.002157, allocations: 211.6 kB / 20.75 MB, free: 2.27 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.425/1.425, allocations: 230.5 MB / 254 MB, free: 15.19 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.FilterWithRiseTime,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 63.91 kB / 373 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1046, allocations: 53.38 MB / 426.3 MB, free: 4.672 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002965/0.1076, allocations: 1.857 MB / 428.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005528/0.1131, allocations: 3.573 MB / 431.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.1133, allocations: 15.81 kB / 431.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004722/0.1138, allocations: 123.4 kB / 431.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.1139, allocations: 47.64 kB / 432 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003873/0.1177, allocations: 1.775 MB / 433.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004142/0.1181, allocations: 295.2 kB / 434 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.1183, allocations: 24.72 kB / 434 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.1185, allocations: 127.5 kB / 434.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.1186, allocations: 103.4 kB / 434.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.933e-05/0.1186, allocations: 12 kB / 434.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002758/0.1189, allocations: 155.7 kB / 434.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.119, allocations: 75.69 kB / 434.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.1192, allocations: 107.3 kB / 434.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004429/0.1196, allocations: 334.6 kB / 434.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1196, allocations: 0 / 434.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1196, allocations: 0 / 434.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.1196, allocations: 0 / 434.9 MB, free: 12.05 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009062/0.1205, allocations: 0.5955 MB / 435.5 MB, free: 11.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1206, allocations: 8.031 kB / 435.5 MB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.133e-05/0.1206, allocations: 42.75 kB / 435.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.766e-05/0.1207, allocations: 32.75 kB / 435.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004347/0.1211, allocations: 284.4 kB / 435.9 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.1211, allocations: 16.3 kB / 435.9 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.7e-05/0.1212, allocations: 15.95 kB / 435.9 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003276/0.1215, allocations: 198.1 kB / 436.1 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.1215, allocations: 0 / 436.1 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.1215, allocations: 8 kB / 436.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1215, allocations: 0 / 436.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/0.1217, allocations: 95.88 kB / 436.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008075/0.1225, allocations: 492.6 kB / 436.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003058/0.1228, allocations: 170.5 kB / 436.9 MB, free: 9.934 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.123, allocations: 56.83 kB / 436.9 MB, free: 9.875 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.123, allocations: 4 kB / 436.9 MB, free: 9.871 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.123, allocations: 34.56 kB / 437 MB, free: 9.828 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.123, allocations: 0 / 437 MB, free: 9.828 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004984/0.1235, allocations: 215.1 kB / 437.2 MB, free: 9.613 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001776/0.1237, allocations: 290.7 kB / 437.5 MB, free: 9.262 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/0.124, allocations: 292.4 kB / 437.7 MB, free: 8.969 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.124, allocations: 33.7 kB / 437.8 MB, free: 8.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.1242, allocations: 160.5 kB / 437.9 MB, free: 8.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.212e-05/0.1242, allocations: 51.53 kB / 438 MB, free: 8.719 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.819e-05/0.1243, allocations: 61.69 kB / 438 MB, free: 8.652 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1245, allocations: 338.8 kB / 438.4 MB, free: 8.312 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.1246, allocations: 99.94 kB / 438.5 MB, free: 8.215 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/0.1249, allocations: 176.5 kB / 438.6 MB, free: 8.012 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00034/0.1252, allocations: 205.5 kB / 438.8 MB, free: 7.809 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1252, allocations: 3.984 kB / 438.8 MB, free: 7.805 MB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004761/0.1257, allocations: 309.3 kB / 439.2 MB, free: 7.496 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.1257, allocations: 8 kB / 439.2 MB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/0.1258, allocations: 3.984 kB / 439.2 MB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.1258, allocations: 8.094 kB / 439.2 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002678/0.126, allocations: 47.91 kB / 439.2 MB, free: 7.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1261, allocations: 3.938 kB / 439.2 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.1262, allocations: 31.77 kB / 439.3 MB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.1262, allocations: 8 kB / 439.3 MB, free: 7.387 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.0001965/0.1264, allocations: 141.8 kB / 439.4 MB, free: 7.238 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.001e-05/0.1264, allocations: 23.86 kB / 439.4 MB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.993e-05/0.1265, allocations: 29.97 kB / 439.5 MB, free: 7.184 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1265, allocations: 4 kB / 439.5 MB, free: 7.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1265, allocations: 7.938 kB / 439.5 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1265, allocations: 0 / 439.5 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003138/0.1268, allocations: 277.4 kB / 439.7 MB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1268, allocations: 0 / 439.7 MB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.127, allocations: 28.03 kB / 439.8 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.127, allocations: 3.938 kB / 439.8 MB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.127, allocations: 11.98 kB / 439.8 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.127, allocations: 0 / 439.8 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.127, allocations: 3.938 kB / 439.8 MB, free: 6.805 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004764/0.1275, allocations: 337.1 kB / 440.1 MB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.323e-05/0.1276, allocations: 100.9 kB / 440.2 MB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.705e-05/0.1276, allocations: 8.062 kB / 440.2 MB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.1277, allocations: 11.92 kB / 440.2 MB, free: 6.328 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/0.1278, allocations: 15.92 kB / 440.2 MB, free: 6.312 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.1278, allocations: 4 kB / 440.2 MB, free: 6.309 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001852/0.128, allocations: 195.1 kB / 440.4 MB, free: 6.117 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.128, allocations: 0 / 440.4 MB, free: 6.117 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003461/0.1283, allocations: 83.86 kB / 440.5 MB, free: 6.035 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.000906/0.1292, allocations: 0.9073 MB / 441.4 MB, free: 5.102 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004414/0.1297, allocations: 272.9 kB / 441.7 MB, free: 4.816 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.1297, allocations: 4 kB / 441.7 MB, free: 4.812 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.1298, allocations: 55.97 kB / 441.8 MB, free: 4.758 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004676/0.1303, allocations: 87.05 kB / 441.8 MB, free: 4.684 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003515/0.1338, allocations: 2.788 MB / 444.6 MB, free: 1.809 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004652/0.1342, allocations: 0.7675 MB / 445.4 MB, free: 1.016 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001405/0.1344, allocations: 46.17 kB / 445.4 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.1345, allocations: 75.42 kB / 445.5 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1345, allocations: 3.938 kB / 445.5 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2006/0.3351, allocations: 6.55 MB / 452.1 MB, free: 24.28 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.061/8.396, allocations: 14.59 kB / 452.1 MB, free: 24.27 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv. Warning: Get data of variable filter_fac5.x[2] from file Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.949313107994385]