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.001219/0.001219, allocations: 108.6 kB / 21.22 MB, free: 0.7305 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.001329/0.001329, allocations: 191.5 kB / 24.51 MB, free: 4.086 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.298/1.298, allocations: 225.6 MB / 253.3 MB, free: 13.01 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.001406/0.001406, allocations: 47.92 kB / 371.2 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2216, allocations: 52.19 MB / 423.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002982/0.2246, allocations: 1.852 MB / 425.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005336/0.2299, allocations: 3.538 MB / 428.8 MB, free: 9.176 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.23, allocations: 15.81 kB / 428.8 MB, free: 9.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003852/0.2304, allocations: 131.4 kB / 428.9 MB, free: 9.031 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.522e-05/0.2305, allocations: 47.64 kB / 429 MB, free: 8.984 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003553/0.234, allocations: 1.769 MB / 430.7 MB, free: 7.223 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003811/0.2344, allocations: 311.2 kB / 431.1 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.2345, allocations: 16.94 kB / 431.1 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.2347, allocations: 123.5 kB / 431.2 MB, free: 6.777 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.2348, allocations: 107.4 kB / 431.3 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.884e-05/0.2349, allocations: 12 kB / 431.3 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002889/0.2352, allocations: 175.7 kB / 431.5 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.2353, allocations: 79.62 kB / 431.6 MB, free: 6.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.2354, allocations: 99.34 kB / 431.7 MB, free: 6.312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004061/0.2358, allocations: 351.8 kB / 432 MB, free: 5.969 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2358, allocations: 0 / 432 MB, free: 5.969 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2358, allocations: 4 kB / 432 MB, free: 5.965 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.2358, allocations: 0 / 432 MB, free: 5.965 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.0007776/0.2366, allocations: 0.5123 MB / 432.5 MB, free: 5.422 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.2366, allocations: 12.03 kB / 432.5 MB, free: 5.41 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.286e-05/0.2366, allocations: 4.375 kB / 432.5 MB, free: 5.406 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.127e-05/0.2366, allocations: 42.75 kB / 432.6 MB, free: 5.355 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.948e-05/0.2367, allocations: 32.75 kB / 432.6 MB, free: 5.324 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.2371, allocations: 225.8 kB / 432.8 MB, free: 5.082 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.2371, allocations: 11.98 kB / 432.8 MB, free: 5.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.273e-05/0.2371, allocations: 16 kB / 432.9 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/0.2375, allocations: 198.1 kB / 433 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2375, allocations: 3.938 kB / 433 MB, free: 4.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.2375, allocations: 8 kB / 433.1 MB, free: 4.812 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2375, allocations: 0 / 433.1 MB, free: 4.812 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.2377, allocations: 87.94 kB / 433.1 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007564/0.2384, allocations: 459.5 kB / 433.6 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.2387, allocations: 174.4 kB / 433.8 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.2388, allocations: 56.83 kB / 433.8 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.2388, allocations: 4 kB / 433.8 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.2389, allocations: 38.75 kB / 433.9 MB, free: 3.945 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.2389, allocations: 4 kB / 433.9 MB, free: 3.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.000435/0.2393, allocations: 213.4 kB / 434.1 MB, free: 3.727 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001484/0.2394, allocations: 294.8 kB / 434.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.2397, allocations: 288.5 kB / 434.6 MB, free: 3.082 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.2398, allocations: 33.7 kB / 434.7 MB, free: 3.043 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.2399, allocations: 144.6 kB / 434.8 MB, free: 2.898 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.696e-05/0.2399, allocations: 55.48 kB / 434.9 MB, free: 2.844 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.908e-05/0.24, allocations: 69.62 kB / 434.9 MB, free: 2.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.2401, allocations: 342.8 kB / 435.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.2403, allocations: 99.94 kB / 435.4 MB, free: 2.328 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.2405, allocations: 176.5 kB / 435.5 MB, free: 2.125 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003196/0.2409, allocations: 209.9 kB / 435.7 MB, free: 1.918 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2409, allocations: 0 / 435.7 MB, free: 1.918 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004723/0.2413, allocations: 301.4 kB / 436 MB, free: 1.617 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.2414, allocations: 11.94 kB / 436.1 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.2414, allocations: 4.078 kB / 436.1 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.2414, allocations: 7.938 kB / 436.1 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.2416, allocations: 51.91 kB / 436.1 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.2416, allocations: 8 kB / 436.1 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.2417, allocations: 19.88 kB / 436.1 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.2418, allocations: 8 kB / 436.1 MB, free: 1.508 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.0001289/0.2419, allocations: 145.8 kB / 436.3 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.24e-05/0.2419, allocations: 31.75 kB / 436.3 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.556e-05/0.242, allocations: 25.91 kB / 436.3 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.242, allocations: 4 kB / 436.4 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.242, allocations: 0 / 436.4 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.242, allocations: 0 / 436.4 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/0.2423, allocations: 248.6 kB / 436.6 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.2423, allocations: 3.938 kB / 436.6 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.2425, allocations: 27.92 kB / 436.6 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.2425, allocations: 3.938 kB / 436.6 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.2425, allocations: 11.98 kB / 436.6 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.2425, allocations: 3.984 kB / 436.6 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2425, allocations: 0 / 436.6 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004501/0.2429, allocations: 342.3 kB / 437 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.433e-05/0.243, allocations: 19.81 kB / 437 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.243, allocations: 12 kB / 437 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.2431, allocations: 15.98 kB / 437 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/0.2432, allocations: 3.984 kB / 437 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.2432, allocations: 4 kB / 437 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001728/0.2433, allocations: 195.1 kB / 437.2 MB, free: 372 kB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2433, allocations: 0 / 437.2 MB, free: 372 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003256/0.2437, allocations: 79.88 kB / 437.3 MB, free: 292 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.000852/0.2445, allocations: 0.914 MB / 438.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004329/0.245, allocations: 265 kB / 438.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.245, allocations: 0 / 438.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.2451, allocations: 67.89 kB / 438.5 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/0.2455, allocations: 88.58 kB / 438.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003313/0.2488, allocations: 2.793 MB / 441.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.2492, allocations: 0.7714 MB / 442.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001253/0.2493, allocations: 49.83 kB / 442.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.2494, allocations: 83.41 kB / 442.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2494, allocations: 0 / 442.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02865/0.2781, allocations: 6.77 MB / 449.1 MB, free: 4.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.07, allocations: 10.94 kB / 449.1 MB, free: 4.512 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.403725048992783]