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.001881/0.001881, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002386/0.002386, allocations: 212.7 kB / 23.73 MB, free: 4.387 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.547/1.547, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.002414/0.002414, allocations: 47.92 kB / 377.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2834, allocations: 53.37 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003028/0.2864, allocations: 1.773 MB / 432.8 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005803/0.2922, allocations: 3.316 MB / 436.2 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001634/0.2924, allocations: 15.81 kB / 436.2 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005055/0.2929, allocations: 135.4 kB / 436.3 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.293, allocations: 43.64 kB / 436.4 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004136/0.2971, allocations: 1.77 MB / 438.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004558/0.2976, allocations: 311.2 kB / 438.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.2977, allocations: 24.92 kB / 438.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002268/0.2979, allocations: 123.5 kB / 438.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.2981, allocations: 111.4 kB / 438.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.536e-05/0.2981, allocations: 12 kB / 438.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000318/0.2985, allocations: 167.7 kB / 438.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.2986, allocations: 79.73 kB / 438.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.912e-05/0.2987, allocations: 75.48 kB / 439 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004631/0.2991, allocations: 354.5 kB / 439.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2991, allocations: 4 kB / 439.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2991, allocations: 0 / 439.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.2991, allocations: 0 / 439.4 MB, free: 14.34 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.0008748/0.3, allocations: 0.5124 MB / 439.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.3001, allocations: 12.03 kB / 439.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.94e-05/0.3001, allocations: 42.73 kB / 439.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.92e-05/0.3002, allocations: 32.75 kB / 440 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000447/0.3006, allocations: 222.6 kB / 440.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.3007, allocations: 16.25 kB / 440.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.69e-05/0.3007, allocations: 19.95 kB / 440.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004502/0.3011, allocations: 437.4 kB / 440.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.3012, allocations: 0 / 440.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.3012, allocations: 8 kB / 440.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.3012, allocations: 0 / 440.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.3014, allocations: 87.88 kB / 440.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007835/0.3022, allocations: 435.7 kB / 441.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/0.3024, allocations: 164.9 kB / 441.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.3026, allocations: 64.81 kB / 441.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.3026, allocations: 4.031 kB / 441.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.3026, allocations: 34.56 kB / 441.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.3026, allocations: 0 / 441.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004516/0.3031, allocations: 221.4 kB / 441.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001503/0.3032, allocations: 286.7 kB / 441.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/0.3035, allocations: 284.5 kB / 442.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.3035, allocations: 33.7 kB / 442.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.3036, allocations: 152.5 kB / 442.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.247e-05/0.3037, allocations: 63.52 kB / 442.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.305e-05/0.3038, allocations: 61.64 kB / 442.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3039, allocations: 342.8 kB / 442.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.3041, allocations: 95.94 kB / 442.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003611/0.3045, allocations: 411.8 kB / 443.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003297/0.3048, allocations: 206 kB / 443.5 MB, free: 9.766 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3048, allocations: 0 / 443.5 MB, free: 9.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005182/0.3053, allocations: 301.3 kB / 443.8 MB, free: 9.465 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.3053, allocations: 8 kB / 443.8 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.612e-05/0.3054, allocations: 7.984 kB / 443.8 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.3054, allocations: 4 kB / 443.8 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/0.3057, allocations: 47.97 kB / 443.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.3057, allocations: 3.938 kB / 443.9 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.3058, allocations: 31.81 kB / 443.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/0.3058, allocations: 16.09 kB / 443.9 MB, free: 9.348 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.0001653/0.306, allocations: 153.7 kB / 444.1 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.998e-05/0.306, allocations: 27.81 kB / 444.1 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.98e-05/0.3061, allocations: 29.91 kB / 444.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.3061, allocations: 8 kB / 444.2 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/0.3061, allocations: 3.938 kB / 444.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3061, allocations: 0 / 444.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000319/0.3065, allocations: 220.6 kB / 444.4 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3065, allocations: 0 / 444.4 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.3066, allocations: 27.92 kB / 444.4 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3066, allocations: 0 / 444.4 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.3067, allocations: 11.98 kB / 444.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3067, allocations: 0 / 444.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.3067, allocations: 3.938 kB / 444.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004957/0.3072, allocations: 337.8 kB / 444.7 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.245e-05/0.3072, allocations: 23.81 kB / 444.8 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.806e-05/0.3073, allocations: 8.062 kB / 444.8 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.3074, allocations: 7.984 kB / 444.8 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.3074, allocations: 11.92 kB / 444.8 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.3074, allocations: 4 kB / 444.8 MB, free: 8.418 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001983/0.3076, allocations: 199 kB / 445 MB, free: 8.227 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3076, allocations: 4.094 kB / 445 MB, free: 8.223 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003689/0.308, allocations: 79.81 kB / 445.1 MB, free: 8.145 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.000951/0.3089, allocations: 0.9134 MB / 446 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004579/0.3094, allocations: 265 kB / 446.2 MB, free: 6.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3094, allocations: 0 / 446.2 MB, free: 6.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.3095, allocations: 67.89 kB / 446.3 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.31, allocations: 78.23 kB / 446.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003584/0.3136, allocations: 2.781 MB / 449.2 MB, free: 3.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001642/0.3138, allocations: 161.8 kB / 449.3 MB, free: 3.742 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001583/0.3139, allocations: 45.91 kB / 449.4 MB, free: 3.699 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.314, allocations: 87.41 kB / 449.5 MB, free: 3.617 MB / 350.1 MB Notification: Performance of SimCode: time 1.603e-06/0.314, allocations: 0 / 449.5 MB, free: 3.617 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03611/0.3501, allocations: 7.413 MB / 456.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.84, allocations: 0.75 kB / 456.9 MB, free: 12.39 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.672140190843493]