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.001233/0.001233, allocations: 101.5 kB / 21.22 MB, free: 0.6211 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.001252/0.001252, allocations: 194 kB / 24.49 MB, free: 3.934 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.302/1.302, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 43.92 kB / 371.2 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2193, allocations: 52.18 MB / 423.3 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002811/0.2221, allocations: 1.775 MB / 425.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005023/0.2271, allocations: 3.262 MB / 428.4 MB, free: 9.348 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.2272, allocations: 11.81 kB / 428.4 MB, free: 9.336 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004016/0.2276, allocations: 143.4 kB / 428.5 MB, free: 9.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.779e-05/0.2277, allocations: 35.66 kB / 428.6 MB, free: 9.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003536/0.2313, allocations: 1.775 MB / 430.3 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003819/0.2317, allocations: 311.1 kB / 430.6 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.2318, allocations: 20.92 kB / 430.7 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.2319, allocations: 115.5 kB / 430.8 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.2321, allocations: 115.4 kB / 430.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.351e-05/0.2321, allocations: 12 kB / 430.9 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000285/0.2324, allocations: 171.7 kB / 431.1 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.2325, allocations: 71.73 kB / 431.1 MB, free: 6.586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.009e-05/0.2326, allocations: 79.42 kB / 431.2 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004026/0.233, allocations: 350.5 kB / 431.6 MB, free: 6.164 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.233, allocations: 4 kB / 431.6 MB, free: 6.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.233, allocations: 4 kB / 431.6 MB, free: 6.156 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.233, allocations: 0 / 431.6 MB, free: 6.156 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.0007645/0.2338, allocations: 0.5123 MB / 432.1 MB, free: 5.613 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2338, allocations: 15.97 kB / 432.1 MB, free: 5.598 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.371e-05/0.2338, allocations: 384 / 432.1 MB, free: 5.598 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.588e-05/0.2338, allocations: 46.75 kB / 432.1 MB, free: 5.543 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.04e-05/0.2339, allocations: 36.73 kB / 432.2 MB, free: 5.508 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/0.2343, allocations: 225.8 kB / 432.4 MB, free: 5.266 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.2343, allocations: 8 kB / 432.4 MB, free: 5.258 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.125e-05/0.2343, allocations: 19.94 kB / 432.4 MB, free: 5.238 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004181/0.2347, allocations: 435.3 kB / 432.8 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.2347, allocations: 3.938 kB / 432.8 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.2348, allocations: 4 kB / 432.9 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2348, allocations: 0 / 432.9 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/0.235, allocations: 87.94 kB / 432.9 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007389/0.2357, allocations: 439.5 kB / 433.4 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/0.236, allocations: 166.4 kB / 433.5 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.2361, allocations: 60.81 kB / 433.6 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.2361, allocations: 4 kB / 433.6 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.2361, allocations: 34.75 kB / 433.6 MB, free: 3.875 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.2361, allocations: 0 / 433.6 MB, free: 3.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004527/0.2366, allocations: 223.6 kB / 433.8 MB, free: 3.652 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001488/0.2367, allocations: 294.8 kB / 434.1 MB, free: 3.297 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.237, allocations: 284.5 kB / 434.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.2371, allocations: 33.7 kB / 434.4 MB, free: 2.973 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.2372, allocations: 148.5 kB / 434.6 MB, free: 2.824 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.131e-05/0.2372, allocations: 59.47 kB / 434.6 MB, free: 2.766 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-05/0.2373, allocations: 61.64 kB / 434.7 MB, free: 2.699 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.2375, allocations: 342.8 kB / 435 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.2376, allocations: 95.95 kB / 435.1 MB, free: 2.262 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/0.238, allocations: 407.8 kB / 435.5 MB, free: 1.777 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.2383, allocations: 217.9 kB / 435.7 MB, free: 1.562 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2383, allocations: 0 / 435.7 MB, free: 1.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004529/0.2387, allocations: 305.4 kB / 436 MB, free: 1.258 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.2388, allocations: 7.938 kB / 436.1 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.22e-05/0.2388, allocations: 7.984 kB / 436.1 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.2388, allocations: 0 / 436.1 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.239, allocations: 47.97 kB / 436.1 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.239, allocations: 3.938 kB / 436.1 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.86e-05/0.2391, allocations: 27.98 kB / 436.1 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.2392, allocations: 12.02 kB / 436.2 MB, free: 1.152 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.0001265/0.2393, allocations: 149.8 kB / 436.3 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.149e-05/0.2393, allocations: 31.75 kB / 436.3 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.445e-05/0.2394, allocations: 29.91 kB / 436.4 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.2394, allocations: 0 / 436.4 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.2394, allocations: 4 kB / 436.4 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.2394, allocations: 0 / 436.4 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.2397, allocations: 224.6 kB / 436.6 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2397, allocations: 0 / 436.6 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.2399, allocations: 35.92 kB / 436.6 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.2399, allocations: 3.938 kB / 436.6 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.2399, allocations: 7.984 kB / 436.6 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2399, allocations: 0 / 436.6 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2399, allocations: 0 / 436.6 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000436/0.2403, allocations: 331.3 kB / 437 MB, free: 284 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.046e-05/0.2403, allocations: 23.75 kB / 437 MB, free: 260 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/0.2404, allocations: 15.98 kB / 437 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.2405, allocations: 15.98 kB / 437 MB, free: 228 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.2405, allocations: 3.984 kB / 437 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.2406, allocations: 8 kB / 437 MB, free: 216 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001754/0.2407, allocations: 199.1 kB / 437.2 MB, free: 20 kB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2407, allocations: 0 / 437.2 MB, free: 20 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.000347/0.2411, allocations: 79.91 kB / 437.3 MB, free: 15.94 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.000851/0.2419, allocations: 0.9109 MB / 438.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004208/0.2423, allocations: 269 kB / 438.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2424, allocations: 0 / 438.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.2425, allocations: 63.95 kB / 438.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.2429, allocations: 74.05 kB / 438.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003323/0.2463, allocations: 2.8 MB / 441.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001548/0.2464, allocations: 161.8 kB / 441.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001246/0.2465, allocations: 49.89 kB / 441.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.2466, allocations: 87.41 kB / 441.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2466, allocations: 0 / 441.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0304/0.277, allocations: 7.072 MB / 448.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.02, allocations: 11.44 kB / 448.8 MB, free: 4.52 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.338450992945582]