Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002166/0.002166, allocations: 214.7 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.429/1.429, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 47.92 kB / 377.8 MB, free: 3.238 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2572, allocations: 53.36 MB / 431.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002991/0.2602, allocations: 1.86 MB / 433 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005815/0.266, allocations: 3.596 MB / 436.6 MB, free: 1.398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.2662, allocations: 15.81 kB / 436.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004455/0.2666, allocations: 127.4 kB / 436.7 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.2667, allocations: 47.64 kB / 436.8 MB, free: 1.211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00398/0.2707, allocations: 1.761 MB / 438.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000444/0.2712, allocations: 315.1 kB / 438.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.2713, allocations: 24.94 kB / 438.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.2715, allocations: 123.5 kB / 439 MB, free: 15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.2717, allocations: 107.4 kB / 439.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.2717, allocations: 15.94 kB / 439.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003355/0.272, allocations: 187.6 kB / 439.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.2722, allocations: 67.7 kB / 439.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.2723, allocations: 103.3 kB / 439.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004712/0.2728, allocations: 346.1 kB / 439.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2728, allocations: 0 / 439.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2728, allocations: 0 / 439.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.2728, allocations: 4 kB / 439.8 MB, free: 14.18 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.0009023/0.2737, allocations: 0.5163 MB / 440.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.2737, allocations: 8.031 kB / 440.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.774e-05/0.2738, allocations: 46.69 kB / 440.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.747e-05/0.2739, allocations: 32.75 kB / 440.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004545/0.2743, allocations: 230.5 kB / 440.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.2743, allocations: 16.31 kB / 440.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.2744, allocations: 15.95 kB / 440.7 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003506/0.2747, allocations: 208.1 kB / 440.9 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.2747, allocations: 0 / 440.9 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.2748, allocations: 4 kB / 440.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.2748, allocations: 7.984 kB / 440.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002068/0.275, allocations: 87.88 kB / 441 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008749/0.2759, allocations: 463.7 kB / 441.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003327/0.2762, allocations: 158.5 kB / 441.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.2763, allocations: 56.83 kB / 441.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.2763, allocations: 0 / 441.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.2764, allocations: 38.56 kB / 441.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.2764, allocations: 0 / 441.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.000515/0.2769, allocations: 233.1 kB / 441.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002032/0.2771, allocations: 286.7 kB / 442.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000318/0.2774, allocations: 284.4 kB / 442.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.2774, allocations: 33.7 kB / 442.5 MB, free: 11.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.2776, allocations: 152.5 kB / 442.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.782e-05/0.2776, allocations: 55.53 kB / 442.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.492e-05/0.2777, allocations: 61.69 kB / 442.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.2779, allocations: 338.8 kB / 443.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.2781, allocations: 99.94 kB / 443.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/0.2783, allocations: 176.5 kB / 443.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.2787, allocations: 210 kB / 443.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2787, allocations: 8.094 kB / 443.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000484/0.2791, allocations: 305.5 kB / 443.8 MB, free: 9.828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.2792, allocations: 7.984 kB / 443.9 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.236e-05/0.2792, allocations: 4 kB / 443.9 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.2792, allocations: 3.938 kB / 443.9 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.2795, allocations: 52.08 kB / 443.9 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.2795, allocations: 7.875 kB / 443.9 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.2796, allocations: 27.83 kB / 443.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.2796, allocations: 4 kB / 444 MB, free: 9.723 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 (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.0001625/0.2798, allocations: 154 kB / 444.1 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.805e-05/0.2798, allocations: 27.81 kB / 444.1 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.291e-05/0.2799, allocations: 29.91 kB / 444.2 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2799, allocations: 0 / 444.2 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.2799, allocations: 3.938 kB / 444.2 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.2799, allocations: 3.984 kB / 444.2 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003271/0.2802, allocations: 240.6 kB / 444.4 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2802, allocations: 0 / 444.4 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.2804, allocations: 19.98 kB / 444.4 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.2804, allocations: 8 kB / 444.4 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.2804, allocations: 7.984 kB / 444.4 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.2804, allocations: 4 kB / 444.4 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.2804, allocations: 3.938 kB / 444.4 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005198/0.281, allocations: 331.2 kB / 444.8 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.336e-05/0.281, allocations: 23.81 kB / 444.8 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/0.2811, allocations: 8.062 kB / 444.8 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.2812, allocations: 15.98 kB / 444.8 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.2812, allocations: 11.92 kB / 444.8 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.2812, allocations: 4 kB / 444.8 MB, free: 8.773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002041/0.2814, allocations: 195.1 kB / 445 MB, free: 8.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2814, allocations: 0 / 445 MB, free: 8.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003608/0.2818, allocations: 75.88 kB / 445.1 MB, free: 8.512 MB / 350.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.000925/0.2827, allocations: 0.9135 MB / 446 MB, free: 7.574 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004658/0.2832, allocations: 272.9 kB / 446.3 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2832, allocations: 0 / 446.3 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.2833, allocations: 63.89 kB / 446.3 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004921/0.2838, allocations: 78.06 kB / 446.4 MB, free: 7.152 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003595/0.2874, allocations: 2.793 MB / 449.2 MB, free: 4.277 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/0.2879, allocations: 0.7752 MB / 450 MB, free: 3.473 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001319/0.288, allocations: 37.92 kB / 450 MB, free: 3.434 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.2881, allocations: 79.41 kB / 450.1 MB, free: 3.359 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2881, allocations: 0 / 450.1 MB, free: 3.359 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03614/0.3243, allocations: 6.762 MB / 456.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.44, allocations: 3.328 kB / 456.9 MB, free: 12.75 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.1.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv. Warning: Get data of variable filter_fac5.x[2] from file Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.99996900699989]