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.001613/0.001613, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.00207/0.00207, allocations: 216.4 kB / 23.73 MB, free: 4.531 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.647/1.647, allocations: 230.5 MB / 257.4 MB, free: 7.746 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.001763/0.001763, allocations: 59.91 kB / 377.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3855, allocations: 53.4 MB / 431.1 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.004364/0.3899, allocations: 1.773 MB / 432.9 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00672/0.3966, allocations: 3.328 MB / 436.2 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001907/0.3968, allocations: 11.88 kB / 436.2 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005172/0.3973, allocations: 139.3 kB / 436.4 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.3974, allocations: 35.66 kB / 436.4 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005029/0.4025, allocations: 1.775 MB / 438.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005528/0.403, allocations: 315.1 kB / 438.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.4032, allocations: 24.92 kB / 438.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002513/0.4034, allocations: 119.5 kB / 438.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.4036, allocations: 107.4 kB / 438.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.81e-05/0.4036, allocations: 12 kB / 438.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003818/0.404, allocations: 175.6 kB / 438.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.4042, allocations: 75.77 kB / 439 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.4043, allocations: 83.45 kB / 439.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000529/0.4048, allocations: 347.5 kB / 439.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4048, allocations: 0 / 439.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.576e-06/0.4048, allocations: 0 / 439.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.4048, allocations: 4 kB / 439.4 MB, free: 14.16 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.0009207/0.4057, allocations: 0.5124 MB / 439.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.4058, allocations: 15.98 kB / 439.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.899e-05/0.4059, allocations: 38.75 kB / 440 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.256e-05/0.4059, allocations: 28.75 kB / 440 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000494/0.4064, allocations: 234.5 kB / 440.2 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.4064, allocations: 12.31 kB / 440.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.818e-05/0.4065, allocations: 19.95 kB / 440.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004846/0.407, allocations: 436.8 kB / 440.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.407, allocations: 0 / 440.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.407, allocations: 8 kB / 440.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.407, allocations: 0 / 440.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002076/0.4072, allocations: 95.75 kB / 440.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008848/0.4081, allocations: 427.8 kB / 441.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003297/0.4084, allocations: 174.4 kB / 441.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.4085, allocations: 52.83 kB / 441.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.4086, allocations: 4 kB / 441.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.4086, allocations: 30.56 kB / 441.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.213e-06/0.4086, allocations: 4 kB / 441.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005193/0.4091, allocations: 217.5 kB / 441.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002278/0.4093, allocations: 290.7 kB / 442 MB, free: 11.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003495/0.4097, allocations: 288.4 kB / 442.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.4097, allocations: 33.7 kB / 442.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.4099, allocations: 156.5 kB / 442.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.88e-05/0.41, allocations: 55.53 kB / 442.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.4101, allocations: 57.69 kB / 442.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000212/0.4103, allocations: 338.8 kB / 442.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.4105, allocations: 99.94 kB / 443 MB, free: 10.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004092/0.4109, allocations: 415.8 kB / 443.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003705/0.4113, allocations: 205.4 kB / 443.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4113, allocations: 0 / 443.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000534/0.4118, allocations: 305.4 kB / 443.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.4118, allocations: 8 kB / 443.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.448e-05/0.4119, allocations: 11.97 kB / 443.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.4119, allocations: 4.094 kB / 443.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.4122, allocations: 55.84 kB / 444 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.4122, allocations: 3.938 kB / 444 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.4123, allocations: 23.84 kB / 444 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.548e-05/0.4123, allocations: 15.97 kB / 444 MB, free: 9.156 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.000177/0.4125, allocations: 138.5 kB / 444.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/0.4126, allocations: 23.86 kB / 444.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.809e-05/0.4126, allocations: 37.91 kB / 444.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.291e-06/0.4126, allocations: 4.109 kB / 444.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.547e-06/0.4126, allocations: 11.81 kB / 444.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.4126, allocations: 0 / 444.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003352/0.413, allocations: 232.5 kB / 444.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.413, allocations: 0 / 444.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.4132, allocations: 23.98 kB / 444.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.4132, allocations: 0 / 444.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.4132, allocations: 8 kB / 444.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4132, allocations: 0 / 444.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.237e-06/0.4132, allocations: 3.938 kB / 444.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005751/0.4138, allocations: 343.2 kB / 444.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.693e-05/0.4138, allocations: 19.81 kB / 444.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/0.4139, allocations: 8.062 kB / 444.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.414, allocations: 11.98 kB / 444.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.307e-05/0.414, allocations: 15.92 kB / 444.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.414, allocations: 0 / 444.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002274/0.4143, allocations: 195.1 kB / 445.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4143, allocations: 0 / 445.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004134/0.4147, allocations: 79.88 kB / 445.1 MB, free: 7.957 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.001096/0.4158, allocations: 0.9173 MB / 446.1 MB, free: 7.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004834/0.4163, allocations: 265.4 kB / 446.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.4163, allocations: 0 / 446.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.4164, allocations: 63.91 kB / 446.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005195/0.4169, allocations: 82.83 kB / 446.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004097/0.421, allocations: 2.789 MB / 449.2 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.4212, allocations: 165.8 kB / 449.4 MB, free: 3.547 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001694/0.4214, allocations: 46.16 kB / 449.5 MB, free: 3.504 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.4215, allocations: 79.41 kB / 449.5 MB, free: 3.43 MB / 350.1 MB Notification: Performance of SimCode: time 1.252e-06/0.4215, allocations: 0 / 449.5 MB, free: 3.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04591/0.4674, allocations: 7.386 MB / 456.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.75, allocations: 14.81 kB / 456.9 MB, free: 12.16 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.715908418875188]