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.003975/0.003975, allocations: 100.9 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009323/0.0009324, allocations: 189 kB / 16.79 MB, free: 5.809 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.498/1.498, allocations: 205.1 MB / 222.6 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05224/0.05224, allocations: 11.84 MB / 281.8 MB, free: 9.637 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.001345/0.001346, allocations: 71.86 kB / 341.8 MB, free: 22.41 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09102/0.09238, allocations: 49.23 MB / 391 MB, free: 5.137 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ReliefValveTest): time 0.006874/0.0993, allocations: 5.558 MB / 396.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004201/0.1035, allocations: 2.887 MB / 399.5 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000437/0.104, allocations: 8 kB / 399.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004488/0.1045, allocations: 127.2 kB / 399.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006279/0.1051, allocations: 306.1 kB / 399.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009837/0.1061, allocations: 474.9 kB / 400.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009834/0.1071, allocations: 1.082 MB / 401.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004001/0.1075, allocations: 304 kB / 401.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003784/0.1079, allocations: 338.6 kB / 402.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004451/0.1084, allocations: 414.2 kB / 402.5 MB, free: 9.629 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.369e-05/0.1085, allocations: 44 kB / 402.5 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00049/0.109, allocations: 259.8 kB / 402.8 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001663/0.1091, allocations: 159.3 kB / 402.9 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003601/0.1095, allocations: 394 kB / 403.3 MB, free: 8.789 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008566/0.1104, allocations: 0.9121 MB / 404.2 MB, free: 7.875 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.1104, allocations: 0 / 404.2 MB, free: 7.875 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1104, allocations: 4 kB / 404.2 MB, free: 7.871 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.1104, allocations: 0 / 404.2 MB, free: 7.871 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.001934/0.1124, allocations: 1.069 MB / 405.3 MB, free: 6.746 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1124, allocations: 16.03 kB / 405.3 MB, free: 6.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002155/0.1126, allocations: 87.89 kB / 405.4 MB, free: 6.645 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006633/0.1133, allocations: 0.4938 MB / 405.9 MB, free: 6.109 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.365e-05/0.1134, allocations: 49.25 kB / 405.9 MB, free: 6.062 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.1135, allocations: 59.89 kB / 406 MB, free: 6.004 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.1146, allocations: 0.6792 MB / 406.7 MB, free: 5.309 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.1146, allocations: 0 / 406.7 MB, free: 5.309 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.515e-05/0.1147, allocations: 20 kB / 406.7 MB, free: 5.289 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.1147, allocations: 20 kB / 406.7 MB, free: 5.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009341/0.1156, allocations: 0.5439 MB / 407.3 MB, free: 4.727 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004191/0.1198, allocations: 3.386 MB / 410.6 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009356/0.1208, allocations: 0.5035 MB / 411.1 MB, free: 456 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003406/0.1211, allocations: 197.4 kB / 411.3 MB, free: 256 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/0.1213, allocations: 93.08 kB / 411.4 MB, free: 144 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.1213, allocations: 38.5 kB / 411.5 MB, free: 96 kB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 2.855e-06/0.1213, allocations: 0 / 411.5 MB, free: 96 kB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.003125/0.1244, allocations: 1.448 MB / 412.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.1245, allocations: 81.11 kB / 413 MB, free: 14.44 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006567/0.1252, allocations: 0.5771 MB / 413.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.431e-05/0.1252, allocations: 37.7 kB / 413.6 MB, free: 13.81 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/0.1254, allocations: 300.7 kB / 413.9 MB, free: 13.51 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.1256, allocations: 153.8 kB / 414.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/0.1257, allocations: 94.14 kB / 414.1 MB, free: 13.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.1259, allocations: 370.8 kB / 414.5 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/0.1263, allocations: 186.4 kB / 414.7 MB, free: 12.71 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000399/0.1267, allocations: 278 kB / 415 MB, free: 12.39 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00287/0.1296, allocations: 1.044 MB / 416 MB, free: 11.29 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1296, allocations: 0 / 416 MB, free: 11.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001003/0.1306, allocations: 0.5758 MB / 416.6 MB, free: 10.7 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.689e-05/0.1306, allocations: 38.06 kB / 416.6 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.1307, allocations: 4 kB / 416.6 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002007/0.1309, allocations: 96.83 kB / 416.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004177/0.1313, allocations: 103.8 kB / 416.8 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001756/0.1331, allocations: 1.604 MB / 418.4 MB, free: 8.711 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004196/0.1335, allocations: 56.03 kB / 418.5 MB, free: 8.656 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4e-05/0.1335, allocations: 20 kB / 418.5 MB, free: 8.637 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.0004775/0.134, allocations: 307.6 kB / 418.8 MB, free: 8.328 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.1341, allocations: 59.25 kB / 418.9 MB, free: 8.27 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.1352, allocations: 0.5566 MB / 419.4 MB, free: 7.695 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.1352, allocations: 11.98 kB / 419.4 MB, free: 7.684 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.1352, allocations: 4 kB / 419.4 MB, free: 7.68 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.1353, allocations: 3.984 kB / 419.4 MB, free: 7.676 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/0.1372, allocations: 1.284 MB / 420.7 MB, free: 6.316 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1372, allocations: 0 / 420.7 MB, free: 6.316 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003969/0.1376, allocations: 91.98 kB / 420.8 MB, free: 6.227 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001397/0.1378, allocations: 72.83 kB / 420.9 MB, free: 6.152 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.167e-05/0.1378, allocations: 19.92 kB / 420.9 MB, free: 6.133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001448/0.1393, allocations: 1.48 MB / 422.4 MB, free: 4.523 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.1393, allocations: 4 kB / 422.4 MB, free: 4.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.1406, allocations: 0.8209 MB / 423.2 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.1408, allocations: 188.3 kB / 423.4 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.574e-05/0.1409, allocations: 23.98 kB / 423.4 MB, free: 3.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003745/0.1413, allocations: 39.95 kB / 423.4 MB, free: 3.391 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000263/0.1416, allocations: 119.8 kB / 423.6 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.595e-05/0.1416, allocations: 15.98 kB / 423.6 MB, free: 3.258 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004931/0.1421, allocations: 418.8 kB / 424 MB, free: 2.852 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1421, allocations: 0 / 424 MB, free: 2.852 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007115/0.1429, allocations: 191.9 kB / 424.2 MB, free: 2.664 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.0009956/0.1439, allocations: 439.6 kB / 424.6 MB, free: 2.336 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.1449, allocations: 0.5759 MB / 425.2 MB, free: 1.738 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1449, allocations: 8.062 kB / 425.2 MB, free: 1.73 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004886/0.1454, allocations: 381.9 kB / 425.6 MB, free: 1.332 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008869/0.1463, allocations: 190.1 kB / 425.7 MB, free: 1.145 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1594/0.3058, allocations: 1.586 MB / 427.3 MB, free: 40.97 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004419/0.3062, allocations: 0.9238 MB / 428.3 MB, free: 40.27 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002409/0.3065, allocations: 55.81 kB / 428.3 MB, free: 40.27 MB / 318.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3065, allocations: 0 / 428.3 MB, free: 40.27 MB / 318.1 MB Notification: Performance of Templates: time 0.0188/0.3253, allocations: 12.98 MB / 441.3 MB, free: 35.95 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