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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006387/0.0006388, allocations: 92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006658/0.0006658, allocations: 184.9 kB / 16.92 MB, free: 6.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.097/1.097, allocations: 205.4 MB / 223.1 MB, free: 5.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04699/0.04699, allocations: 11.85 MB / 283.2 MB, free: 9.609 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004886/0.0004887, allocations: 12 kB / 344.2 MB, free: 22.15 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06617/0.06667, allocations: 50.22 MB / 394.4 MB, free: 3.883 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ReliefValveTest): time 0.004518/0.0712, allocations: 5.15 MB / 399.6 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003615/0.07483, allocations: 2.833 MB / 402.4 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003748/0.07521, allocations: 12 kB / 402.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000365/0.07559, allocations: 119.3 kB / 402.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006196/0.07622, allocations: 302.2 kB / 402.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009376/0.07717, allocations: 490.7 kB / 403.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00094/0.07811, allocations: 1.09 MB / 404.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003637/0.07849, allocations: 292.1 kB / 404.7 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003974/0.07889, allocations: 322.6 kB / 405 MB, free: 9.266 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004372/0.07934, allocations: 398.2 kB / 405.4 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.291e-05/0.07942, allocations: 36 kB / 405.4 MB, free: 8.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004083/0.07983, allocations: 247.8 kB / 405.6 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.07998, allocations: 143.4 kB / 405.8 MB, free: 8.457 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003261/0.08032, allocations: 407.7 kB / 406.2 MB, free: 8.051 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000737/0.08106, allocations: 0.8884 MB / 407.1 MB, free: 7.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.08107, allocations: 0 / 407.1 MB, free: 7.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.01e-07/0.08108, allocations: 4 kB / 407.1 MB, free: 7.156 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.0811, allocations: 0 / 407.1 MB, free: 7.156 MB / 302.1 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.001431/0.08253, allocations: 0.9447 MB / 408 MB, free: 6.156 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.08257, allocations: 8.031 kB / 408 MB, free: 6.148 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000172/0.08275, allocations: 91.98 kB / 408.1 MB, free: 6.059 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005744/0.08333, allocations: 0.4976 MB / 408.6 MB, free: 5.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.283e-05/0.08338, allocations: 49.25 kB / 408.7 MB, free: 5.473 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-05/0.08348, allocations: 67.84 kB / 408.7 MB, free: 5.406 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.08448, allocations: 0.6753 MB / 409.4 MB, free: 4.715 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.08451, allocations: 4 kB / 409.4 MB, free: 4.711 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.193e-05/0.08457, allocations: 20 kB / 409.4 MB, free: 4.691 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.08459, allocations: 12 kB / 409.4 MB, free: 4.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008671/0.08546, allocations: 0.5478 MB / 410 MB, free: 4.133 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00361/0.08908, allocations: 3.421 MB / 413.4 MB, free: 356 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008155/0.08991, allocations: 0.4996 MB / 413.9 MB, free: 15.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003021/0.09022, allocations: 196.8 kB / 414.1 MB, free: 15.62 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.074e-05/0.09032, allocations: 89.09 kB / 414.2 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.09035, allocations: 35.12 kB / 414.2 MB, free: 15.48 MB / 318.1 MB Notification: Performance of pre-optimization done (n=42): time 1.573e-06/0.09036, allocations: 4 kB / 414.2 MB, free: 15.47 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.002799/0.09316, allocations: 1.487 MB / 415.7 MB, free: 13.89 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.09322, allocations: 81.11 kB / 415.8 MB, free: 13.79 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006001/0.09383, allocations: 0.5771 MB / 416.4 MB, free: 13.2 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/0.09388, allocations: 37.7 kB / 416.4 MB, free: 13.16 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/0.09409, allocations: 304.7 kB / 416.7 MB, free: 12.86 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.0942, allocations: 157.8 kB / 416.9 MB, free: 12.7 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.309e-05/0.09428, allocations: 45.69 kB / 416.9 MB, free: 12.65 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.09443, allocations: 374.8 kB / 417.3 MB, free: 12.28 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/0.09474, allocations: 185.9 kB / 417.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/0.09509, allocations: 270 kB / 417.7 MB, free: 11.79 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002672/0.09778, allocations: 1.072 MB / 418.8 MB, free: 10.65 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.09779, allocations: 0 / 418.8 MB, free: 10.65 MB / 318.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00089/0.09869, allocations: 0.5836 MB / 419.4 MB, free: 10.05 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.09872, allocations: 29.7 kB / 419.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.09873, allocations: 4 kB / 419.4 MB, free: 10.01 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001702/0.09891, allocations: 97.19 kB / 419.5 MB, free: 9.914 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/0.09929, allocations: 103.8 kB / 419.6 MB, free: 9.812 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.1008, allocations: 1.635 MB / 421.2 MB, free: 8.043 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004084/0.1012, allocations: 68.03 kB / 421.3 MB, free: 7.977 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.355e-05/0.1013, allocations: 16 kB / 421.3 MB, free: 7.961 MB / 318.1 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 = 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 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.0003548/0.1016, allocations: 312.3 kB / 421.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.434e-05/0.1017, allocations: 59.25 kB / 421.7 MB, free: 7.586 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000947/0.1027, allocations: 0.5527 MB / 422.2 MB, free: 7.016 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.1027, allocations: 4 kB / 422.2 MB, free: 7.012 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.1027, allocations: 0 / 422.2 MB, free: 7.012 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.1027, allocations: 4.078 kB / 422.2 MB, free: 7.008 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.1044, allocations: 1.288 MB / 423.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1044, allocations: 0 / 423.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003753/0.1048, allocations: 91.98 kB / 423.6 MB, free: 5.555 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000137/0.105, allocations: 76.83 kB / 423.7 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.395e-05/0.105, allocations: 19.92 kB / 423.7 MB, free: 5.457 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/0.1063, allocations: 1.495 MB / 425.2 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1063, allocations: 4.062 kB / 425.2 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.1074, allocations: 0.8247 MB / 426 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002101/0.1077, allocations: 204.2 kB / 426.2 MB, free: 2.742 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.031e-05/0.1077, allocations: 12 kB / 426.2 MB, free: 2.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003873/0.1081, allocations: 55.95 kB / 426.3 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002153/0.1084, allocations: 127.8 kB / 426.4 MB, free: 2.551 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/0.1084, allocations: 19.98 kB / 426.4 MB, free: 2.531 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004156/0.1088, allocations: 410.8 kB / 426.8 MB, free: 2.133 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1088, allocations: 0 / 426.8 MB, free: 2.133 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005626/0.1094, allocations: 195.9 kB / 427 MB, free: 1.941 MB / 318.1 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.0008222/0.1102, allocations: 428.1 kB / 427.5 MB, free: 1.621 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008577/0.1111, allocations: 0.572 MB / 428 MB, free: 1.027 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1111, allocations: 8.125 kB / 428 MB, free: 1.02 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004378/0.1116, allocations: 393.7 kB / 428.4 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007819/0.1123, allocations: 190.1 kB / 428.6 MB, free: 432 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1188/0.2312, allocations: 1.666 MB / 430.3 MB, free: 39.45 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.2316, allocations: 0.9211 MB / 431.2 MB, free: 38.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001818/0.2317, allocations: 56.89 kB / 431.2 MB, free: 38.75 MB / 318.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2318, allocations: 2.25 kB / 431.2 MB, free: 38.75 MB / 318.1 MB Notification: Performance of Templates: time 0.0126/0.2444, allocations: 12.9 MB / 444.1 MB, free: 34.38 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.makefile make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTestCalcHelperMain.o OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTestCalcHelperMain.o] Error 1