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.001265/0.001265, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001502/0.001502, allocations: 209.3 kB / 23.73 MB, free: 4.379 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.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.001526/0.001526, allocations: 51.91 kB / 377.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2641, allocations: 53.37 MB / 431.1 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003305/0.2674, allocations: 1.776 MB / 432.9 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005997/0.2734, allocations: 3.32 MB / 436.2 MB, free: 1.547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/0.2735, allocations: 19.81 kB / 436.2 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005198/0.2741, allocations: 131.4 kB / 436.3 MB, free: 1.398 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.2742, allocations: 47.59 kB / 436.4 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004488/0.2787, allocations: 1.776 MB / 438.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004252/0.2791, allocations: 307.2 kB / 438.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.2792, allocations: 20.94 kB / 438.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002302/0.2794, allocations: 123.5 kB / 438.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.2796, allocations: 111.4 kB / 438.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.815e-05/0.2796, allocations: 12 kB / 438.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003504/0.28, allocations: 179.7 kB / 438.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.2801, allocations: 79.69 kB / 439 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.2802, allocations: 75.53 kB / 439 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004804/0.2807, allocations: 354.5 kB / 439.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2807, allocations: 4 kB / 439.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2807, allocations: 3.938 kB / 439.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.2807, allocations: 0 / 439.4 MB, free: 14.33 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.0009483/0.2817, allocations: 0.5046 MB / 439.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.2817, allocations: 16.03 kB / 439.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.33e-05/0.2818, allocations: 46.73 kB / 439.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.553e-05/0.2818, allocations: 32.75 kB / 440 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004472/0.2823, allocations: 230.5 kB / 440.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.2823, allocations: 12.31 kB / 440.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.837e-05/0.2824, allocations: 19.95 kB / 440.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00046/0.2828, allocations: 429.5 kB / 440.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2828, allocations: 0 / 440.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.2828, allocations: 8 kB / 440.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2828, allocations: 4 kB / 440.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001984/0.283, allocations: 91.88 kB / 440.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008248/0.2839, allocations: 427.7 kB / 441.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.2842, allocations: 166.5 kB / 441.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.2843, allocations: 63.61 kB / 441.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.2843, allocations: 0 / 441.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.2843, allocations: 38.56 kB / 441.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.022e-06/0.2843, allocations: 4 kB / 441.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004819/0.2848, allocations: 221.4 kB / 441.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001652/0.285, allocations: 282.7 kB / 441.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003101/0.2853, allocations: 288.4 kB / 442.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.2853, allocations: 29.7 kB / 442.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.2854, allocations: 156.5 kB / 442.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.249e-05/0.2855, allocations: 55.52 kB / 442.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.2856, allocations: 65.69 kB / 442.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.2858, allocations: 334.8 kB / 442.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.286, allocations: 103.9 kB / 442.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000397/0.2864, allocations: 407.8 kB / 443.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003491/0.2867, allocations: 210.1 kB / 443.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.2867, allocations: 3.938 kB / 443.6 MB, free: 9.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000497/0.2872, allocations: 305.3 kB / 443.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.2872, allocations: 8 kB / 443.9 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/0.2873, allocations: 0 / 443.9 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.2873, allocations: 4 kB / 443.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.2875, allocations: 51.95 kB / 443.9 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.2876, allocations: 4.031 kB / 443.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.2877, allocations: 27.78 kB / 443.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.2877, allocations: 11.98 kB / 444 MB, free: 9.34 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.0001519/0.2878, allocations: 153.8 kB / 444.1 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.161e-05/0.2879, allocations: 27.81 kB / 444.1 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.974e-05/0.288, allocations: 25.91 kB / 444.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.288, allocations: 4 kB / 444.2 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.288, allocations: 3.938 kB / 444.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.288, allocations: 0 / 444.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002966/0.2883, allocations: 228.6 kB / 444.4 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2883, allocations: 0 / 444.4 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.2885, allocations: 27.92 kB / 444.4 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.2885, allocations: 0 / 444.4 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.2885, allocations: 8 kB / 444.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2885, allocations: 0 / 444.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2885, allocations: 3.938 kB / 444.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004816/0.289, allocations: 331.3 kB / 444.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.774e-05/0.289, allocations: 31.78 kB / 444.8 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.714e-05/0.2891, allocations: 8.062 kB / 444.8 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.2892, allocations: 12 kB / 444.8 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.2892, allocations: 19.84 kB / 444.8 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.984e-06/0.2892, allocations: 0 / 444.8 MB, free: 8.402 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001852/0.2894, allocations: 191.1 kB / 445 MB, free: 8.219 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2894, allocations: 4 kB / 445 MB, free: 8.215 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003733/0.2898, allocations: 83.84 kB / 445.1 MB, free: 8.133 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.0009134/0.2907, allocations: 0.9169 MB / 446 MB, free: 7.195 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000468/0.2912, allocations: 273 kB / 446.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2912, allocations: 0 / 446.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.2913, allocations: 55.97 kB / 446.3 MB, free: 6.855 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004835/0.2918, allocations: 83.03 kB / 446.4 MB, free: 6.773 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003965/0.2957, allocations: 2.777 MB / 449.2 MB, free: 3.914 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001672/0.2959, allocations: 161.8 kB / 449.3 MB, free: 3.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001304/0.296, allocations: 46.17 kB / 449.4 MB, free: 3.688 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.2962, allocations: 83.41 kB / 449.5 MB, free: 3.609 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2962, allocations: 4 kB / 449.5 MB, free: 3.605 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03876/0.3349, allocations: 7.458 MB / 456.9 MB, free: 12.33 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.58, allocations: 8.797 kB / 456.9 MB, free: 12.32 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: 14.140156195993768]