Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.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.001018/0.001018, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 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.001021/0.001021, allocations: 169 kB / 23.02 MB, free: 1.555 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.9506/0.9506, allocations: 177.1 MB / 203.4 MB, free: 5.609 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.03566/0.03566, allocations: 8.725 MB / 268.7 MB, free: 4.504 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: translateModel(OpenHydraulics.DevelopmentTests.ReliefValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest") translateModel(OpenHydraulics.DevelopmentTests.ReliefValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 340.8 MB, free: 9.125 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.668e-05/3.848e-05, allocations: 4.422 kB / 340.8 MB, free: 9.121 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ReliefValveTest): time 0.007378/0.007416, allocations: 4.422 MB / 345.3 MB, free: 4.668 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005704/0.01312, allocations: 2.968 MB / 348.2 MB, free: 1.691 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004857/0.01361, allocations: 15.88 kB / 348.2 MB, free: 1.676 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004882/0.01409, allocations: 162.7 kB / 348.4 MB, free: 1.516 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008756/0.01497, allocations: 401.3 kB / 348.8 MB, free: 1.121 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.01611, allocations: 0.6151 MB / 349.4 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001102/0.01721, allocations: 1.171 MB / 350.6 MB, free: 15.32 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003344/0.01755, allocations: 189.2 kB / 350.8 MB, free: 15.14 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008406/0.01839, allocations: 0.6081 MB / 351.4 MB, free: 14.53 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005799/0.01897, allocations: 391 kB / 351.8 MB, free: 14.14 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.01908, allocations: 88 kB / 351.8 MB, free: 14.06 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005158/0.0196, allocations: 307.7 kB / 352.1 MB, free: 13.76 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001866/0.01979, allocations: 219.2 kB / 352.4 MB, free: 13.54 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000281/0.02007, allocations: 319.2 kB / 352.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.02119, allocations: 0.8528 MB / 353.5 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.0212, allocations: 4 kB / 353.5 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.0212, allocations: 0 / 353.5 MB, free: 12.37 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.394e-05/0.02123, allocations: 0 / 353.5 MB, free: 12.37 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.001458/0.02268, allocations: 1.136 MB / 354.7 MB, free: 11.19 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.02272, allocations: 8.031 kB / 354.7 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002564/0.02298, allocations: 144.3 kB / 354.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005913/0.02357, allocations: 466.1 kB / 355.3 MB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.899e-05/0.02361, allocations: 45.69 kB / 355.3 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.533e-05/0.02369, allocations: 64.08 kB / 355.4 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007467/0.02444, allocations: 0.5587 MB / 355.9 MB, free: 9.855 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.02446, allocations: 4 kB / 355.9 MB, free: 9.852 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.843e-05/0.0245, allocations: 28 kB / 356 MB, free: 9.824 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.02451, allocations: 12 kB / 356 MB, free: 9.812 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005001/0.02501, allocations: 309.3 kB / 356.3 MB, free: 9.504 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002442/0.02745, allocations: 1.906 MB / 358.2 MB, free: 7.535 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005335/0.02799, allocations: 293.9 kB / 358.5 MB, free: 7.23 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/0.02817, allocations: 145.4 kB / 358.6 MB, free: 7.078 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.842e-05/0.02824, allocations: 16 kB / 358.6 MB, free: 7.062 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.02826, allocations: 41.33 kB / 358.7 MB, free: 7.012 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 2.344e-06/0.02826, allocations: 4 kB / 358.7 MB, free: 7.008 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.001857/0.03012, allocations: 1.067 MB / 359.7 MB, free: 5.867 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.03016, allocations: 81.11 kB / 359.8 MB, free: 5.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003635/0.03053, allocations: 454.6 kB / 360.3 MB, free: 5.309 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.03056, allocations: 37.7 kB / 360.3 MB, free: 5.266 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.03076, allocations: 371.5 kB / 360.7 MB, free: 4.898 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.838e-05/0.03086, allocations: 162.7 kB / 360.8 MB, free: 4.738 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.03097, allocations: 99.8 kB / 360.9 MB, free: 4.633 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.03112, allocations: 0.5312 MB / 361.4 MB, free: 4.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.03133, allocations: 139.3 kB / 361.6 MB, free: 3.941 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.03156, allocations: 288.2 kB / 361.9 MB, free: 3.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005031/0.03206, allocations: 468.8 kB / 362.3 MB, free: 3.059 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.03207, allocations: 4 kB / 362.3 MB, free: 3.055 MB / 330.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006431/0.03271, allocations: 472.1 kB / 362.8 MB, free: 2.574 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.191e-05/0.03275, allocations: 33.7 kB / 362.8 MB, free: 2.535 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.03276, allocations: 3.984 kB / 362.8 MB, free: 2.531 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002225/0.03299, allocations: 99.56 kB / 362.9 MB, free: 2.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/0.03326, allocations: 100.2 kB / 363 MB, free: 2.332 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/0.0347, allocations: 2.063 MB / 365.1 MB, free: 152 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/0.03495, allocations: 31.92 kB / 365.1 MB, free: 120 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/0.03498, allocations: 24.14 kB / 365.1 MB, free: 96 kB / 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.variableRestriction.port_a.p:VARIABLE(flow=false min = 0.0 start = idealPump.fluidPower2MechRot.p_init unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Pressure in the connection point\" type: Real reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) \"Normalized valve position (between 0 and 1)\" 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,idealPump.mechanicalPumpLosses.mode,$PRE.idealPump.mechanicalPumpLosses.mode,idealPump.mechanicalPumpLosses.locked,idealPump.mechanicalPumpLosses.startBackward,$PRE.idealPump.mechanicalPumpLosses.startBackward,idealPump.mechanicalPumpLosses.startForward,$PRE.idealPump.mechanicalPumpLosses.startForward) * 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.0003502/0.03533, allocations: 249.7 kB / 365.4 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.03543, allocations: 67.61 kB / 365.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006808/0.03611, allocations: 455.4 kB / 365.9 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.03611, allocations: 4 kB / 365.9 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.03612, allocations: 0 / 365.9 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.03613, allocations: 4 kB / 365.9 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.0376, allocations: 1.031 MB / 366.9 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.0376, allocations: 4.094 kB / 366.9 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.03786, allocations: 83.89 kB / 367 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001609/0.03802, allocations: 95.56 kB / 367.1 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.113e-05/0.03805, allocations: 11.98 kB / 367.1 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/0.03922, allocations: 1.849 MB / 369 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.03923, allocations: 3.984 kB / 369 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008443/0.04007, allocations: 0.6903 MB / 369.7 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001924/0.04027, allocations: 107.5 kB / 369.8 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.089e-05/0.04032, allocations: 16 kB / 369.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.04048, allocations: 31.97 kB / 369.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/0.04067, allocations: 111.8 kB / 369.9 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/0.0407, allocations: 20.02 kB / 369.9 MB, free: 10.99 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002501/0.04095, allocations: 303 kB / 370.2 MB, free: 10.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04095, allocations: 0 / 370.2 MB, free: 10.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006222/0.04157, allocations: 191.8 kB / 370.4 MB, free: 10.51 MB / 346.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.001032/0.0426, allocations: 446.2 kB / 370.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000777/0.04338, allocations: 0.5538 MB / 371.4 MB, free: 9.586 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.04338, allocations: 4 kB / 371.4 MB, free: 9.582 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003362/0.04372, allocations: 399.3 kB / 371.8 MB, free: 9.152 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004971/0.04421, allocations: 159.8 kB / 372 MB, free: 9 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.04626, allocations: 1.189 MB / 373.2 MB, free: 7.758 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.04638, allocations: 166.5 kB / 373.3 MB, free: 7.574 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002256/0.04661, allocations: 68.39 kB / 373.4 MB, free: 7.504 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.04672, allocations: 52.48 kB / 373.4 MB, free: 7.453 MB / 346.7 MB Notification: Performance of SimCode: time 1.593e-06/0.04672, allocations: 0 / 373.4 MB, free: 7.453 MB / 346.7 MB Notification: Performance of Templates: time 0.01254/0.05926, allocations: 9.871 MB / 383.3 MB, free: 13.7 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.makefile [Timeout 660] (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=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.324862418230623]