Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) Using package OpenHydraulics with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenHydraulics.DevelopmentTests.ReliefValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest") translateModel(OpenHydraulics.DevelopmentTests.ReliefValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 176.4 kB / 15.43 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 225.7 MB / 241.9 MB, free: 408 kB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009707/0.0009707, allocations: 96.48 kB / 293.1 MB, free: 12.91 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.08227/0.08227, allocations: 12.02 MB / 356.2 MB, free: 14.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002957/0.0002958, allocations: 8.375 kB / 419.9 MB, free: 87.19 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07788/0.07819, allocations: 53.07 MB / 473 MB, free: 36.42 MB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ReliefValveTest): time 0.00398/0.0822, allocations: 4.852 MB / 477.9 MB, free: 31.55 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004085/0.08633, allocations: 4.082 MB / 481.9 MB, free: 27.16 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004379/0.0868, allocations: 8 kB / 481.9 MB, free: 27.16 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004012/0.08722, allocations: 123.3 kB / 482.1 MB, free: 27.04 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006141/0.08784, allocations: 302.2 kB / 482.4 MB, free: 26.74 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000964/0.08881, allocations: 490.9 kB / 482.8 MB, free: 26.26 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007393/0.08957, allocations: 1.09 MB / 483.9 MB, free: 25.16 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003519/0.08993, allocations: 288.1 kB / 484.2 MB, free: 24.89 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003328/0.09027, allocations: 318.7 kB / 484.5 MB, free: 24.57 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000354/0.09063, allocations: 398.2 kB / 484.9 MB, free: 24.18 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.783e-05/0.09071, allocations: 36 kB / 485 MB, free: 24.15 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004308/0.09115, allocations: 243.8 kB / 485.2 MB, free: 23.91 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.09129, allocations: 139.4 kB / 485.3 MB, free: 23.77 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002928/0.09159, allocations: 407.7 kB / 485.7 MB, free: 23.37 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008574/0.09245, allocations: 1.11 MB / 486.8 MB, free: 22.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.09247, allocations: 0 / 486.8 MB, free: 22.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.09248, allocations: 3.938 kB / 486.8 MB, free: 22.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.0925, allocations: 0 / 486.8 MB, free: 22.25 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001323/0.09382, allocations: 0.9525 MB / 487.8 MB, free: 21.24 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.09387, allocations: 8.031 kB / 487.8 MB, free: 21.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.09403, allocations: 83.91 kB / 487.9 MB, free: 21.15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005213/0.09456, allocations: 0.4977 MB / 488.4 MB, free: 20.61 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.09461, allocations: 49.25 kB / 488.4 MB, free: 20.56 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.587e-05/0.0947, allocations: 59.91 kB / 488.5 MB, free: 20.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009666/0.09567, allocations: 0.6753 MB / 489.2 MB, free: 19.81 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.0957, allocations: 4 kB / 489.2 MB, free: 19.81 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.187e-05/0.09576, allocations: 27.94 kB / 489.2 MB, free: 19.78 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.09578, allocations: 15.94 kB / 489.2 MB, free: 19.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008429/0.09663, allocations: 0.54 MB / 489.7 MB, free: 19.23 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003173/0.09981, allocations: 3.425 MB / 493.2 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008033/0.1006, allocations: 0.5012 MB / 493.7 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002852/0.1009, allocations: 192.8 kB / 493.9 MB, free: 14.72 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.409e-05/0.101, allocations: 85.11 kB / 493.9 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.636e-05/0.101, allocations: 42.56 kB / 494 MB, free: 14.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 2.034e-06/0.1011, allocations: 0 / 494 MB, free: 14.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.002616/0.1037, allocations: 1.495 MB / 495.5 MB, free: 12.97 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.1037, allocations: 81.11 kB / 495.6 MB, free: 12.88 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000555/0.1043, allocations: 0.5693 MB / 496.1 MB, free: 12.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/0.1043, allocations: 41.7 kB / 496.2 MB, free: 12.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.1045, allocations: 304.7 kB / 496.5 MB, free: 11.95 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.333e-05/0.1046, allocations: 145.9 kB / 496.6 MB, free: 11.8 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.1046, allocations: 12 kB / 496.6 MB, free: 11.79 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.286e-05/0.1047, allocations: 366.8 kB / 497 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/0.105, allocations: 185.8 kB / 497.2 MB, free: 11.24 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003044/0.1053, allocations: 266 kB / 497.4 MB, free: 10.94 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002584/0.1079, allocations: 1.065 MB / 498.5 MB, free: 9.809 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1079, allocations: 0 / 498.5 MB, free: 9.809 MB / 330.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008418/0.1088, allocations: 0.5837 MB / 499.1 MB, free: 9.211 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.1088, allocations: 33.7 kB / 499.1 MB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1088, allocations: 0 / 499.1 MB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001754/0.109, allocations: 96.81 kB / 499.2 MB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004121/0.1094, allocations: 103.8 kB / 499.3 MB, free: 8.973 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001302/0.1107, allocations: 1.635 MB / 0.4892 GB, free: 7.199 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004211/0.1111, allocations: 64.05 kB / 0.4893 GB, free: 7.137 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.805e-05/0.1112, allocations: 23.98 kB / 0.4893 GB, free: 7.113 MB / 330.7 MB Warning: Assuming fixed start value for the following 3 variables: constantSpeed.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real reliefValve.variableRestriction.port_a.p:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))))))))))))) start = idealPump.fluidPower2MechRot.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 9 (reliefValve.variableRestriction.data.zetaLaminarKnown,idealPump.mechanicalPumpLosses.free,$PRE.idealPump.mechanicalPumpLosses.startForward,idealPump.mechanicalPumpLosses.startForward,$PRE.idealPump.mechanicalPumpLosses.startBackward,idealPump.mechanicalPumpLosses.startBackward,idealPump.mechanicalPumpLosses.locked,$PRE.idealPump.mechanicalPumpLosses.mode,idealPump.mechanicalPumpLosses.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003513/0.1116, allocations: 323.6 kB / 0.4896 GB, free: 6.781 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.874e-05/0.1116, allocations: 63.25 kB / 0.4896 GB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009259/0.1126, allocations: 0.545 MB / 0.4902 GB, free: 6.156 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1126, allocations: 4 kB / 0.4902 GB, free: 6.152 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-06/0.1126, allocations: 0 / 0.4902 GB, free: 6.152 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1126, allocations: 3.984 kB / 0.4902 GB, free: 6.148 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.1142, allocations: 1.28 MB / 0.4914 GB, free: 4.793 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.1142, allocations: 0 / 0.4914 GB, free: 4.793 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004109/0.1146, allocations: 87.89 kB / 0.4915 GB, free: 4.707 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001316/0.1148, allocations: 80.81 kB / 0.4916 GB, free: 4.625 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/0.1148, allocations: 19.92 kB / 0.4916 GB, free: 4.605 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001042/0.1159, allocations: 1.499 MB / 0.4931 GB, free: 2.973 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1159, allocations: 0 / 0.4931 GB, free: 2.973 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.1169, allocations: 0.8218 MB / 0.4939 GB, free: 2.117 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001965/0.1171, allocations: 192.5 kB / 0.4941 GB, free: 1.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.192e-05/0.1172, allocations: 20 kB / 0.4941 GB, free: 1.891 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004061/0.1177, allocations: 55.95 kB / 0.4941 GB, free: 1.836 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002352/0.1179, allocations: 127.8 kB / 0.4943 GB, free: 1.711 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.1179, allocations: 8 kB / 0.4943 GB, free: 1.703 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003807/0.1183, allocations: 418.8 kB / 0.4947 GB, free: 1.297 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1183, allocations: 0 / 0.4947 GB, free: 1.297 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005834/0.1189, allocations: 188.1 kB / 0.4948 GB, free: 1.113 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (reliefValve.variableRestriction.port_a.p,reliefValve.valvePosition,circuitTank.volumeOpen.m,constantSpeed.phi) * Number of discrete variables: 4 (idealPump.mechanicalPumpLosses.startForward,idealPump.mechanicalPumpLosses.startBackward,idealPump.mechanicalPumpLosses.locked,idealPump.mechanicalPumpLosses.mode) * Number of discrete states: 3 (idealPump.mechanicalPumpLosses.mode,idealPump.mechanicalPumpLosses.startBackward,idealPump.mechanicalPumpLosses.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009086/0.1198, allocations: 493 kB / 0.4953 GB, free: 0.7383 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008934/0.1207, allocations: 0.5746 MB / 0.4959 GB, free: 144 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1208, allocations: 0 / 0.4959 GB, free: 144 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004956/0.1213, allocations: 397.8 kB / 0.4963 GB, free: 15.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009181/0.1222, allocations: 185.8 kB / 0.4964 GB, free: 15.54 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.1242, allocations: 1.646 MB / 0.498 GB, free: 13.86 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.1247, allocations: 0.93 MB / 0.4989 GB, free: 12.9 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003385/0.125, allocations: 85.02 kB / 0.499 GB, free: 12.82 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.1252, allocations: 59.42 kB / 0.4991 GB, free: 12.76 MB / 346.7 MB Notification: Performance of SimCode: time 2.565e-06/0.1252, allocations: 0 / 0.4991 GB, free: 12.76 MB / 346.7 MB Notification: Performance of Templates: time 0.01801/0.1432, allocations: 11.2 MB / 0.51 GB, free: 1.68 MB / 346.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.pipe 2>&1)