Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009277/0.0009277, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008978/0.0008978, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9708/0.9708, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo): time 0.03422/0.03422, allocations: 8.707 MB / 267.9 MB, free: 4.742 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.DirectionalValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_DirectionalValveTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.DirectionalValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_DirectionalValveTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 395 MB, free: 1.242 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.771e-05/1.95e-05, allocations: 2.281 kB / 395 MB, free: 1.238 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.DirectionalValveTest): time 0.005569/0.005588, allocations: 5.484 MB / 400.4 MB, free: 11.72 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004515/0.0101, allocations: 3.474 MB / 403.9 MB, free: 8.238 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004609/0.01056, allocations: 23.81 kB / 403.9 MB, free: 8.215 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005531/0.01112, allocations: 285.9 kB / 404.2 MB, free: 7.934 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.01243, allocations: 0.7025 MB / 404.9 MB, free: 7.227 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.0137, allocations: 0.9101 MB / 405.8 MB, free: 6.32 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001343/0.01504, allocations: 1.984 MB / 407.8 MB, free: 4.328 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004029/0.01544, allocations: 304.5 kB / 408.1 MB, free: 4.012 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008364/0.01628, allocations: 0.9743 MB / 409.1 MB, free: 3.035 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005855/0.01687, allocations: 0.6193 MB / 409.7 MB, free: 2.414 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.01699, allocations: 128 kB / 409.8 MB, free: 2.289 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005065/0.0175, allocations: 403.6 kB / 410.2 MB, free: 1.895 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002277/0.01773, allocations: 362.6 kB / 410.6 MB, free: 1.539 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003744/0.0181, allocations: 0.4948 MB / 411.1 MB, free: 1.043 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2023/0.2204, allocations: 2.055 MB / 413.1 MB, free: 18.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2204, allocations: 4.953 kB / 413.1 MB, free: 18.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2204, allocations: 0 / 413.1 MB, free: 18.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.922e-05/0.2205, allocations: 1.281 kB / 413.1 MB, free: 18.77 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002713/0.2232, allocations: 1.585 MB / 414.7 MB, free: 17.95 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.2232, allocations: 10.84 kB / 414.7 MB, free: 17.95 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001642/0.2234, allocations: 148.5 kB / 414.9 MB, free: 17.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003747/0.2238, allocations: 171.8 kB / 415 MB, free: 17.83 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.2248, allocations: 0.8157 MB / 415.9 MB, free: 17.54 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.634e-05/0.2249, allocations: 75.81 kB / 415.9 MB, free: 17.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.225, allocations: 96.17 kB / 416 MB, free: 17.54 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/0.2265, allocations: 1.154 MB / 417.2 MB, free: 17.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.2265, allocations: 1.969 kB / 417.2 MB, free: 17.42 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.554e-05/0.2265, allocations: 40.81 kB / 417.2 MB, free: 17.42 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/0.2266, allocations: 23.75 kB / 417.2 MB, free: 17.42 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.228, allocations: 1.01 MB / 418.3 MB, free: 17.42 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004424/0.2324, allocations: 3.035 MB / 421.3 MB, free: 16.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009046/0.2333, allocations: 0.709 MB / 422 MB, free: 16.04 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005257/0.2338, allocations: 373 kB / 422.4 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/0.234, allocations: 35.58 kB / 422.4 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.234, allocations: 39.7 kB / 422.4 MB, free: 15.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=72): time 2.575e-06/0.234, allocations: 0 / 422.4 MB, free: 15.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=76): time 0.003617/0.2376, allocations: 2.218 MB / 424.7 MB, free: 14.75 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.2376, allocations: 59.38 kB / 424.7 MB, free: 14.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/0.2392, allocations: 1.116 MB / 425.8 MB, free: 14.22 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.295e-05/0.2392, allocations: 41.55 kB / 425.9 MB, free: 14.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002992/0.2395, allocations: 0.5585 MB / 426.4 MB, free: 13.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.2397, allocations: 274 kB / 426.7 MB, free: 13.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/0.2398, allocations: 167.5 kB / 426.9 MB, free: 13.45 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.357e-05/0.2399, allocations: 339.7 kB / 427.2 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004327/0.2403, allocations: 356.7 kB / 427.5 MB, free: 12.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000487/0.2408, allocations: 0.5425 MB / 428.1 MB, free: 12.58 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003359/0.2442, allocations: 1.805 MB / 429.9 MB, free: 11.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.2442, allocations: 2.469 kB / 429.9 MB, free: 11.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00119/0.2454, allocations: 1.017 MB / 430.9 MB, free: 11.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.2454, allocations: 10.19 kB / 430.9 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.2454, allocations: 5.281 kB / 430.9 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.2454, allocations: 10.31 kB / 430.9 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004981/0.2459, allocations: 229 kB / 431.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/0.2459, allocations: 13 kB / 431.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002788/0.2462, allocations: 42.19 kB / 431.2 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.609e-05/0.2463, allocations: 42.2 kB / 431.2 MB, free: 11.38 MB / 330.7 MB Warning: Assuming fixed start value for the following 3 variables: idealPump.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of rotation of pump\" type: Real valve4_3pos.j2.volumeClosed.port[2].p:VARIABLE(flow=false min = 0.0 start = valve4_3pos.P2A.p_init unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Pressure in the connection point\" type: Real [3] valve4_3pos.j3.volumeClosed.port[2].p:VARIABLE(flow=false min = 0.0 start = valve4_3pos.P2B.p_init unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Pressure in the connection point\" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (valve4_3pos.A2T.data.zetaLaminarKnown,valve4_3pos.P2B.data.zetaLaminarKnown,valve4_3pos.B2T.data.zetaLaminarKnown,valve4_3pos.P2A.data.zetaLaminarKnown,restriction.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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 prepare postOptimizeDAE: time 0.0004058/0.2467, allocations: 373.8 kB / 431.6 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.2468, allocations: 120.1 kB / 431.7 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.2479, allocations: 0.9597 MB / 432.7 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.2479, allocations: 10 kB / 432.7 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.2479, allocations: 0 / 432.7 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.2479, allocations: 11.58 kB / 432.7 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002408/0.2504, allocations: 2.057 MB / 434.8 MB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.2504, allocations: 5 kB / 434.8 MB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000454/0.2508, allocations: 186.1 kB / 435 MB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/0.2508, allocations: 7 kB / 435 MB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.644e-05/0.2509, allocations: 35.19 kB / 435 MB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.2509, allocations: 6.531 kB / 435 MB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2509, allocations: 2.812 kB / 435 MB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.2522, allocations: 1.382 MB / 436.4 MB, free: 8.875 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002253/0.2524, allocations: 197.8 kB / 436.6 MB, free: 8.762 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.095e-05/0.2525, allocations: 22.47 kB / 436.6 MB, free: 8.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.2527, allocations: 23.14 kB / 436.6 MB, free: 8.738 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.285e-05/0.2528, allocations: 66.19 kB / 436.7 MB, free: 8.727 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.528e-05/0.2528, allocations: 36.89 kB / 436.7 MB, free: 8.719 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006078/0.2534, allocations: 0.7622 MB / 437.5 MB, free: 8.402 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2534, allocations: 0 / 437.5 MB, free: 8.402 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000623/0.254, allocations: 312 kB / 437.8 MB, free: 8.352 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (idealPump.phi,circuitTank.volumeOpen.m,valve4_3pos.j2.volumeClosed.port[2].p,valve4_3pos.j3.volumeClosed.port[2].p,valve4_3pos.dynamicResponse.y,valve4_3pos.dynamicResponse.yd) * 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 (86): * Single equations (assignments): 86 * 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.002158/0.2562, allocations: 2.31 MB / 440.1 MB, free: 6.926 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008324/0.257, allocations: 0.7578 MB / 440.9 MB, free: 6.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.257, allocations: 0 / 440.9 MB, free: 6.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003563/0.2574, allocations: 366.9 kB / 441.2 MB, free: 6.145 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008554/0.2582, allocations: 360.6 kB / 441.6 MB, free: 5.793 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009195/0.2674, allocations: 9.343 MB / 450.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004892/0.2679, allocations: 0.5786 MB / 451.5 MB, free: 11.59 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005842/0.2685, allocations: 224.3 kB / 451.7 MB, free: 11.37 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005374/0.269, allocations: 488.3 kB / 452.2 MB, free: 10.89 MB / 346.7 MB Notification: Performance of SimCode: time 1.323e-06/0.269, allocations: 0 / 452.2 MB, free: 10.89 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1525/0.4215, allocations: 31.92 MB / 484.1 MB, free: 11.41 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.566/8.988, allocations: 7.969 kB / 484.1 MB, free: 11.4 MB / 378.7 MB " [Timeout remaining time 651] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_DirectionalValveTest_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-08 ../OpenHydraulics_OpenHydraulics_DevelopmentTests_DirectionalValveTest.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.pipe 2>&1) [Timeout 52.5] OMSimulator failed or timed out simulating it; the others still get to run it (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest_fmpy.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest_fmpy.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest_fmpy_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../OpenHydraulics_OpenHydraulics_DevelopmentTests_DirectionalValveTest.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 11.341227403841913]