Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 112.2 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 180.5 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 47.92 kB / 370.4 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2705, allocations: 52.17 MB / 422.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003337/0.2738, allocations: 1.85 MB / 424.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006244/0.2801, allocations: 3.542 MB / 428 MB, free: 9.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001839/0.2802, allocations: 15.81 kB / 428 MB, free: 9.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000519/0.2808, allocations: 135.4 kB / 428.1 MB, free: 9.047 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001365/0.2809, allocations: 39.64 kB / 428.2 MB, free: 9.008 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004458/0.2854, allocations: 1.772 MB / 430 MB, free: 7.242 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005534/0.2859, allocations: 311.2 kB / 430.3 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.286, allocations: 24.92 kB / 430.3 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001967/0.2862, allocations: 115.5 kB / 430.4 MB, free: 6.797 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.2864, allocations: 107.4 kB / 430.5 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.129e-05/0.2865, allocations: 12 kB / 430.5 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003305/0.2868, allocations: 175.7 kB / 430.7 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.2869, allocations: 79.67 kB / 430.8 MB, free: 6.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.287, allocations: 99.3 kB / 430.9 MB, free: 6.332 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004802/0.2875, allocations: 350.1 kB / 431.2 MB, free: 5.992 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.2875, allocations: 0 / 431.2 MB, free: 5.992 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2875, allocations: 0 / 431.2 MB, free: 5.992 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.2875, allocations: 0 / 431.2 MB, free: 5.992 MB / 334.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.0009086/0.2884, allocations: 0.5162 MB / 431.7 MB, free: 5.445 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.2885, allocations: 12.03 kB / 431.7 MB, free: 5.434 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.101e-05/0.2885, allocations: 46.73 kB / 431.8 MB, free: 5.379 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.2886, allocations: 32.75 kB / 431.8 MB, free: 5.348 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004196/0.2891, allocations: 218.1 kB / 432 MB, free: 5.113 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.434e-05/0.2891, allocations: 15.98 kB / 432 MB, free: 5.098 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.168e-05/0.2891, allocations: 12 kB / 432.1 MB, free: 5.086 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003841/0.2895, allocations: 206.1 kB / 432.3 MB, free: 4.848 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.2895, allocations: 0 / 432.3 MB, free: 4.848 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.2895, allocations: 3.938 kB / 432.3 MB, free: 4.844 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.2895, allocations: 4 kB / 432.3 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002025/0.2897, allocations: 84.69 kB / 432.3 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008824/0.2906, allocations: 463.5 kB / 432.8 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/0.2909, allocations: 170.4 kB / 433 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.2911, allocations: 60.83 kB / 433 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.2911, allocations: 4 kB / 433 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.2911, allocations: 38.56 kB / 433.1 MB, free: 3.973 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.2911, allocations: 0 / 433.1 MB, free: 3.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004765/0.2916, allocations: 221.5 kB / 433.3 MB, free: 3.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001754/0.2918, allocations: 294.7 kB / 433.6 MB, free: 3.395 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003581/0.2921, allocations: 288.5 kB / 433.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.2921, allocations: 29.7 kB / 433.9 MB, free: 3.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.2923, allocations: 148.6 kB / 434 MB, free: 2.922 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.943e-05/0.2923, allocations: 63.47 kB / 434.1 MB, free: 2.859 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.815e-05/0.2924, allocations: 65.62 kB / 434.1 MB, free: 2.789 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.2926, allocations: 338.8 kB / 434.5 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/0.2928, allocations: 95.94 kB / 434.6 MB, free: 2.355 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002617/0.2931, allocations: 180.5 kB / 434.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003417/0.2934, allocations: 217.9 kB / 435 MB, free: 1.934 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2934, allocations: 0 / 435 MB, free: 1.934 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005141/0.2939, allocations: 301.4 kB / 435.3 MB, free: 1.633 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.2939, allocations: 4 kB / 435.3 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/0.294, allocations: 8 kB / 435.3 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.294, allocations: 3.938 kB / 435.3 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/0.2942, allocations: 51.97 kB / 435.3 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.2942, allocations: 7.922 kB / 435.3 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.2944, allocations: 19.89 kB / 435.3 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.2944, allocations: 4 kB / 435.4 MB, free: 1.535 MB / 334.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.0001491/0.2945, allocations: 145.8 kB / 435.5 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.778e-05/0.2946, allocations: 35.78 kB / 435.5 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.072e-05/0.2947, allocations: 29.86 kB / 435.6 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2947, allocations: 0 / 435.6 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.2947, allocations: 4 kB / 435.6 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.2947, allocations: 3.984 kB / 435.6 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000309/0.295, allocations: 244.5 kB / 435.8 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.295, allocations: 0 / 435.8 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.2952, allocations: 31.92 kB / 435.8 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2952, allocations: 112 / 435.8 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.2952, allocations: 11.86 kB / 435.8 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.2952, allocations: 4 kB / 435.9 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2952, allocations: 0 / 435.9 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004812/0.2957, allocations: 331.3 kB / 436.2 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.2957, allocations: 27.75 kB / 436.2 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.382e-05/0.2958, allocations: 12 kB / 436.2 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.2959, allocations: 11.98 kB / 436.2 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.296, allocations: 7.984 kB / 436.2 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.296, allocations: 4 kB / 436.2 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001852/0.2962, allocations: 199.1 kB / 436.4 MB, free: 392 kB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2962, allocations: 0 / 436.4 MB, free: 392 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003624/0.2965, allocations: 75.97 kB / 436.5 MB, free: 316 kB / 334.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.001036/0.2976, allocations: 0.9123 MB / 437.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004532/0.298, allocations: 272.9 kB / 437.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.298, allocations: 4 kB / 437.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.2981, allocations: 59.95 kB / 437.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005364/0.2987, allocations: 91.31 kB / 437.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003798/0.3025, allocations: 2.793 MB / 440.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/0.3029, allocations: 0.7714 MB / 441.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001319/0.303, allocations: 45.91 kB / 441.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.3032, allocations: 83.41 kB / 441.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3032, allocations: 0 / 441.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04364/0.3468, allocations: 6.75 MB / 448.3 MB, free: 4.555 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.77, allocations: 7.375 kB / 448.3 MB, free: 4.551 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.21979230386205]