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.00188/0.00188, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.00256/0.00256, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.532/1.532, allocations: 230.5 MB / 257.4 MB, free: 8.023 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.0019/0.0019, allocations: 67.89 kB / 377.8 MB, free: 3.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2692, allocations: 53.4 MB / 431.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003226/0.2724, allocations: 1.862 MB / 433 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006296/0.2787, allocations: 3.6 MB / 436.6 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001612/0.2789, allocations: 7.875 kB / 436.6 MB, free: 1.211 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004679/0.2794, allocations: 139.3 kB / 436.8 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.2795, allocations: 39.66 kB / 436.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004084/0.2836, allocations: 1.765 MB / 438.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004443/0.284, allocations: 323.1 kB / 438.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.2841, allocations: 20.92 kB / 438.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002211/0.2843, allocations: 119.6 kB / 439 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.2845, allocations: 107.4 kB / 439.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.01e-05/0.2845, allocations: 12 kB / 439.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000338/0.2849, allocations: 191.6 kB / 439.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.285, allocations: 67.7 kB / 439.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.2851, allocations: 103.3 kB / 439.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004556/0.2855, allocations: 343.6 kB / 439.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.2856, allocations: 0 / 439.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2856, allocations: 4 kB / 439.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.2856, allocations: 0 / 439.8 MB, free: 14.01 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.000866/0.2864, allocations: 0.5124 MB / 440.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.2865, allocations: 8.031 kB / 440.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.449e-05/0.2865, allocations: 46.73 kB / 440.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.72e-05/0.2866, allocations: 32.75 kB / 440.4 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/0.287, allocations: 230.5 kB / 440.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.287, allocations: 16.31 kB / 440.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.168e-05/0.2871, allocations: 19.89 kB / 440.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003419/0.2874, allocations: 205.7 kB / 440.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.2874, allocations: 0 / 440.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.2875, allocations: 4 kB / 440.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.2875, allocations: 4 kB / 440.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002038/0.2877, allocations: 91.81 kB / 441 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008418/0.2885, allocations: 459.7 kB / 441.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003058/0.2888, allocations: 162.4 kB / 441.6 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.2889, allocations: 56.83 kB / 441.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.2889, allocations: 7.984 kB / 441.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.289, allocations: 34.56 kB / 441.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.289, allocations: 4 kB / 441.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004849/0.2895, allocations: 220.8 kB / 441.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000171/0.2896, allocations: 286.7 kB / 442.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/0.2899, allocations: 292.4 kB / 442.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.29, allocations: 29.7 kB / 442.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.2901, allocations: 160.5 kB / 442.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.395e-05/0.2902, allocations: 51.53 kB / 442.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.295e-05/0.2902, allocations: 57.7 kB / 442.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002106/0.2905, allocations: 342.8 kB / 443.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.2906, allocations: 95.94 kB / 443.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.2909, allocations: 172.5 kB / 443.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003648/0.2913, allocations: 225.4 kB / 443.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2913, allocations: 0 / 443.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004896/0.2918, allocations: 301.4 kB / 443.9 MB, free: 9.656 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.2918, allocations: 4 kB / 443.9 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/0.2918, allocations: 7.984 kB / 443.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.2918, allocations: 0 / 443.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.2921, allocations: 51.91 kB / 444 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.2921, allocations: 3.938 kB / 444 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.2922, allocations: 27.94 kB / 444 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.2922, allocations: 15.92 kB / 444 MB, free: 9.547 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.000146/0.2924, allocations: 146.5 kB / 444.1 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.927e-05/0.2924, allocations: 23.86 kB / 444.2 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.8e-05/0.2925, allocations: 29.91 kB / 444.2 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2925, allocations: 3.938 kB / 444.2 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.2925, allocations: 3.938 kB / 444.2 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.2925, allocations: 3.984 kB / 444.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/0.2928, allocations: 248.5 kB / 444.4 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2928, allocations: 0 / 444.4 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/0.293, allocations: 27.98 kB / 444.5 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.293, allocations: 0 / 444.5 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.293, allocations: 8 kB / 444.5 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.293, allocations: 0 / 444.5 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.293, allocations: 3.938 kB / 444.5 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004741/0.2935, allocations: 331.2 kB / 444.8 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.956e-05/0.2935, allocations: 27.89 kB / 444.8 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.2935, allocations: 16 kB / 444.9 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.2937, allocations: 8 kB / 444.9 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.2937, allocations: 15.91 kB / 444.9 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.2937, allocations: 4 kB / 444.9 MB, free: 8.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001849/0.2939, allocations: 191.1 kB / 445.1 MB, free: 8.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2939, allocations: 0 / 445.1 MB, free: 8.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003714/0.2943, allocations: 79.86 kB / 445.1 MB, free: 8.332 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.0009453/0.2952, allocations: 0.9139 MB / 446.1 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004449/0.2957, allocations: 273.1 kB / 446.3 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2957, allocations: 0 / 446.3 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.2958, allocations: 59.91 kB / 446.4 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/0.2963, allocations: 79.83 kB / 446.5 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003493/0.2998, allocations: 2.785 MB / 449.2 MB, free: 4.105 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.3002, allocations: 0.7714 MB / 450 MB, free: 3.309 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001431/0.3003, allocations: 45.89 kB / 450.1 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.3005, allocations: 75.42 kB / 450.1 MB, free: 3.191 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3005, allocations: 4 kB / 450.1 MB, free: 3.188 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0369/0.3374, allocations: 6.765 MB / 456.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.57, allocations: 0 / 456.9 MB, free: 12.53 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.231545641003322]