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.0007562/0.0007562, allocations: 109.5 kB / 18.95 MB, free: 1.184 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.001249/0.001249, allocations: 221.2 kB / 22.25 MB, free: 3.734 MB / 13.93 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.896/0.896, allocations: 230.6 MB / 256 MB, free: 9.613 MB / 202.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.03505/0.03505, allocations: 11.33 MB / 323.8 MB, free: 6.793 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: OpenHydraulics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 71.89 kB / 450.7 MB, free: 35.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07344/0.07476, allocations: 55.95 MB / 0.4948 GB, free: 11.7 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.DirectionalValveTest): time 0.00595/0.08071, allocations: 5.491 MB / 0.5002 GB, free: 6.168 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004181/0.08489, allocations: 3.455 MB / 0.5036 GB, free: 2.699 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003504/0.08525, allocations: 19.88 kB / 0.5036 GB, free: 2.68 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000558/0.0858, allocations: 281.9 kB / 0.5038 GB, free: 2.402 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.08682, allocations: 0.6939 MB / 0.5045 GB, free: 1.707 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.08808, allocations: 0.9021 MB / 0.5054 GB, free: 0.8086 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001397/0.08948, allocations: 1.915 MB / 0.5073 GB, free: 14.89 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004216/0.0899, allocations: 300.5 kB / 0.5076 GB, free: 14.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006069/0.09051, allocations: 0.6811 MB / 0.5082 GB, free: 13.89 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006926/0.0912, allocations: 0.7039 MB / 0.5089 GB, free: 13.18 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001447/0.09135, allocations: 128 kB / 0.509 GB, free: 13.05 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005385/0.09188, allocations: 403.7 kB / 0.5094 GB, free: 12.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002467/0.09213, allocations: 358.7 kB / 0.5098 GB, free: 12.31 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004378/0.09257, allocations: 0.587 MB / 0.5103 GB, free: 11.72 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00168/0.09425, allocations: 2.04 MB / 0.5123 GB, free: 9.672 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.09425, allocations: 4 kB / 0.5123 GB, free: 9.668 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.09425, allocations: 0 / 0.5123 GB, free: 9.668 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.09427, allocations: 0 / 0.5123 GB, free: 9.668 MB / 378.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.001974/0.09624, allocations: 1.609 MB / 0.5139 GB, free: 8.023 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.09628, allocations: 15.98 kB / 0.5139 GB, free: 8.008 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001524/0.09644, allocations: 152.1 kB / 0.5141 GB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002983/0.09673, allocations: 179.9 kB / 0.5142 GB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.09777, allocations: 0.8058 MB / 0.515 GB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.994e-05/0.09783, allocations: 78 kB / 0.5151 GB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.09795, allocations: 99.98 kB / 0.5152 GB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.09945, allocations: 1.143 MB / 0.5163 GB, free: 5.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.09947, allocations: 7.922 kB / 0.5163 GB, free: 5.492 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.975e-05/0.09954, allocations: 36 kB / 0.5163 GB, free: 5.457 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.09956, allocations: 20 kB / 0.5164 GB, free: 5.438 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/0.101, allocations: 1.023 MB / 0.5174 GB, free: 4.418 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004188/0.1052, allocations: 3.032 MB / 0.5203 GB, free: 1.324 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.1062, allocations: 0.7209 MB / 0.521 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005547/0.1068, allocations: 370.6 kB / 0.5214 GB, free: 244 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001047/0.1069, allocations: 36.61 kB / 0.5214 GB, free: 204 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.1069, allocations: 35.22 kB / 0.5214 GB, free: 160 kB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 2.154e-06/0.1069, allocations: 4 kB / 0.5215 GB, free: 156 kB / 378.7 MB Notification: Performance of matching and sorting (n=76): time 0.003589/0.1105, allocations: 2.227 MB / 0.5236 GB, free: 13.89 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.1105, allocations: 60 kB / 0.5237 GB, free: 13.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.1116, allocations: 1.111 MB / 0.5248 GB, free: 12.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.066e-05/0.1117, allocations: 33.7 kB / 0.5248 GB, free: 12.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003435/0.112, allocations: 0.5593 MB / 0.5253 GB, free: 12.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.1122, allocations: 285.5 kB / 0.5256 GB, free: 11.81 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/0.1124, allocations: 170.6 kB / 0.5258 GB, free: 11.64 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.023e-05/0.1125, allocations: 338 kB / 0.5261 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004843/0.113, allocations: 348.7 kB / 0.5264 GB, free: 10.96 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005791/0.1135, allocations: 0.5462 MB / 0.527 GB, free: 10.32 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003883/0.1174, allocations: 1.796 MB / 0.5287 GB, free: 8.461 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.1174, allocations: 4 kB / 0.5287 GB, free: 8.457 MB / 394.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001418/0.1188, allocations: 1.023 MB / 0.5297 GB, free: 7.426 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.1189, allocations: 11.94 kB / 0.5297 GB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.1189, allocations: 4.719 kB / 0.5297 GB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.1189, allocations: 12 kB / 0.5298 GB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00063/0.1195, allocations: 227.7 kB / 0.53 GB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.1195, allocations: 11.94 kB / 0.53 GB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003519/0.1199, allocations: 31.98 kB / 0.53 GB, free: 7.133 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.309e-05/0.1199, allocations: 39.98 kB / 0.5301 GB, free: 7.094 MB / 394.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.0004492/0.1204, allocations: 373.3 kB / 0.5304 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.1205, allocations: 127.1 kB / 0.5305 GB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.1219, allocations: 0.9547 MB / 0.5315 GB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.1219, allocations: 8 kB / 0.5315 GB, free: 5.625 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1219, allocations: 0 / 0.5315 GB, free: 5.625 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.1219, allocations: 7.984 kB / 0.5315 GB, free: 5.617 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002687/0.1246, allocations: 2.057 MB / 0.5335 GB, free: 3.477 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.1246, allocations: 4 kB / 0.5335 GB, free: 3.473 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005756/0.1252, allocations: 187.7 kB / 0.5337 GB, free: 3.289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.1252, allocations: 12.22 kB / 0.5337 GB, free: 3.277 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.76e-05/0.1253, allocations: 23.98 kB / 0.5337 GB, free: 3.254 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.817e-06/0.1253, allocations: 19.92 kB / 0.5337 GB, free: 3.234 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.1253, allocations: 3.938 kB / 0.5337 GB, free: 3.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/0.127, allocations: 1.369 MB / 0.5351 GB, free: 1.824 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003199/0.1273, allocations: 203.2 kB / 0.5353 GB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.1274, allocations: 23.98 kB / 0.5353 GB, free: 1.602 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000314/0.1278, allocations: 24 kB / 0.5353 GB, free: 1.578 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.474e-05/0.1279, allocations: 64.42 kB / 0.5354 GB, free: 1.516 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.553e-05/0.1279, allocations: 31.98 kB / 0.5354 GB, free: 1.484 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000821/0.1287, allocations: 0.7615 MB / 0.5361 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1287, allocations: 4 kB / 0.5361 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007248/0.1294, allocations: 311.7 kB / 0.5364 GB, free: 416 kB / 394.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.002641/0.1321, allocations: 2.316 MB / 0.5387 GB, free: 14.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008366/0.1329, allocations: 0.7477 MB / 0.5394 GB, free: 13.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1329, allocations: 4 kB / 0.5394 GB, free: 13.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003757/0.1333, allocations: 377.1 kB / 0.5398 GB, free: 13.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007485/0.134, allocations: 357.5 kB / 0.5401 GB, free: 12.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008211/0.1423, allocations: 9.393 MB / 0.5493 GB, free: 3.043 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.1426, allocations: 0.5819 MB / 0.5499 GB, free: 2.422 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004143/0.143, allocations: 216.4 kB / 0.5501 GB, free: 2.207 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004444/0.1435, allocations: 495.2 kB / 0.5506 GB, free: 1.723 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.1435, allocations: 0 / 0.5506 GB, free: 1.723 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2702/0.4137, allocations: 31.92 MB / 0.5817 GB, free: 38.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.739/8.153, allocations: 17.09 kB / 0.5817 GB, free: 38.19 MB / 410.7 MB " [Timeout remaining time 652] (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: 10.336543079465628]