Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.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.0007916/0.0007916, allocations: 101.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.0008066/0.0008066, allocations: 221.2 kB / 22.25 MB, free: 3.578 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.9209/0.9209, allocations: 230.6 MB / 256 MB, free: 9.605 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.03576/0.03576, allocations: 11.33 MB / 323.8 MB, free: 6.781 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.ShuttleValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ShuttleValveTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.ShuttleValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ShuttleValveTest",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.0009811/0.0009811, allocations: 71.88 kB / 450.7 MB, free: 35.72 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07094/0.07192, allocations: 55.95 MB / 0.4948 GB, free: 11.7 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.002723/0.07464, allocations: 2.482 MB / 0.4972 GB, free: 9.191 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.07654, allocations: 1.861 MB / 0.499 GB, free: 7.324 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.07669, allocations: 7.938 kB / 0.4991 GB, free: 7.316 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002359/0.07693, allocations: 51.56 kB / 0.4991 GB, free: 7.266 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002342/0.07716, allocations: 119 kB / 0.4992 GB, free: 7.148 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007297/0.07789, allocations: 402.8 kB / 0.4996 GB, free: 6.754 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003238/0.07821, allocations: 310.3 kB / 0.4999 GB, free: 6.449 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.07837, allocations: 54.66 kB / 0.5 GB, free: 6.395 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.07857, allocations: 127.5 kB / 0.5001 GB, free: 6.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.0787, allocations: 103.5 kB / 0.5002 GB, free: 6.168 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.07872, allocations: 20 kB / 0.5002 GB, free: 6.148 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002888/0.07901, allocations: 199.8 kB / 0.5004 GB, free: 5.953 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.279e-05/0.07905, allocations: 47.77 kB / 0.5004 GB, free: 5.906 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.464e-05/0.07912, allocations: 107.5 kB / 0.5005 GB, free: 5.801 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004085/0.07953, allocations: 390.6 kB / 0.5009 GB, free: 5.418 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.07953, allocations: 0 / 0.5009 GB, free: 5.418 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.07953, allocations: 0 / 0.5009 GB, free: 5.418 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.07954, allocations: 4 kB / 0.5009 GB, free: 5.414 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0005754/0.08012, allocations: 0.5002 MB / 0.5014 GB, free: 4.883 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.08016, allocations: 19.98 kB / 0.5014 GB, free: 4.863 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.103e-05/0.0802, allocations: 46.73 kB / 0.5015 GB, free: 4.809 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.08037, allocations: 48.72 kB / 0.5015 GB, free: 4.762 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.08065, allocations: 207.2 kB / 0.5017 GB, free: 4.531 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.08067, allocations: 12.12 kB / 0.5017 GB, free: 4.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.08069, allocations: 20 kB / 0.5017 GB, free: 4.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002782/0.08097, allocations: 212.1 kB / 0.5019 GB, free: 4.277 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.08098, allocations: 7.984 kB / 0.5019 GB, free: 4.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.08099, allocations: 8 kB / 0.502 GB, free: 4.262 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.081, allocations: 4 kB / 0.502 GB, free: 4.258 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002243/0.08122, allocations: 163.8 kB / 0.5021 GB, free: 4.098 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008708/0.08209, allocations: 0.7027 MB / 0.5028 GB, free: 3.336 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002972/0.08239, allocations: 110.6 kB / 0.5029 GB, free: 3.219 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.937e-05/0.08246, allocations: 40.78 kB / 0.5029 GB, free: 3.176 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.394e-05/0.0825, allocations: 19.92 kB / 0.503 GB, free: 3.156 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.08252, allocations: 30.56 kB / 0.503 GB, free: 3.117 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 2.325e-06/0.08252, allocations: 0 / 0.503 GB, free: 3.117 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.001208/0.08373, allocations: 0.5161 MB / 0.5035 GB, free: 2.594 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.08376, allocations: 59.39 kB / 0.5036 GB, free: 2.523 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.08395, allocations: 265.8 kB / 0.5038 GB, free: 2.258 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.08397, allocations: 29.7 kB / 0.5038 GB, free: 2.223 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.806e-05/0.08405, allocations: 168.2 kB / 0.504 GB, free: 2.055 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.08407, allocations: 43.78 kB / 0.504 GB, free: 2.012 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-05/0.08412, allocations: 33.7 kB / 0.5041 GB, free: 1.973 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.61e-05/0.08421, allocations: 338.8 kB / 0.5044 GB, free: 1.633 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.08432, allocations: 63.95 kB / 0.5045 GB, free: 1.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.08444, allocations: 110 kB / 0.5046 GB, free: 1.449 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/0.08467, allocations: 172.1 kB / 0.5047 GB, free: 1.266 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.08467, allocations: 3.938 kB / 0.5047 GB, free: 1.262 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002983/0.08497, allocations: 228.5 kB / 0.5049 GB, free: 1.035 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.08498, allocations: 8 kB / 0.5049 GB, free: 1.027 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.08498, allocations: 0 / 0.5049 GB, free: 1.027 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.085, allocations: 0 / 0.5049 GB, free: 1.027 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.08511, allocations: 43.91 kB / 0.505 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.08511, allocations: 4 kB / 0.505 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.069e-05/0.08519, allocations: 24.09 kB / 0.505 GB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.08521, allocations: 8 kB / 0.505 GB, free: 0.9492 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 8.994e-05/0.0853, allocations: 137.7 kB / 0.5052 GB, free: 0.8047 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.08533, allocations: 23.86 kB / 0.5052 GB, free: 0.7812 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003136/0.08564, allocations: 196.1 kB / 0.5054 GB, free: 0.582 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.08564, allocations: 4 kB / 0.5054 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.08565, allocations: 3.938 kB / 0.5054 GB, free: 0.5742 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.08565, allocations: 0 / 0.5054 GB, free: 0.5742 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.08584, allocations: 228.6 kB / 0.5056 GB, free: 316 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.08585, allocations: 3.984 kB / 0.5056 GB, free: 312 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.942e-05/0.08593, allocations: 35.91 kB / 0.5056 GB, free: 276 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.08593, allocations: 0 / 0.5056 GB, free: 276 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.08594, allocations: 0 / 0.5056 GB, free: 276 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.08594, allocations: 4 kB / 0.5056 GB, free: 272 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.08594, allocations: 0 / 0.5056 GB, free: 272 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.08623, allocations: 287.4 kB / 0.5059 GB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.013e-05/0.08629, allocations: 35.83 kB / 0.5059 GB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.08631, allocations: 0 / 0.5059 GB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.681e-05/0.08639, allocations: 11.98 kB / 0.506 GB, free: 15.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.08643, allocations: 15.97 kB / 0.506 GB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.08644, allocations: 4 kB / 0.506 GB, free: 15.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001172/0.08656, allocations: 189.2 kB / 0.5062 GB, free: 15.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08656, allocations: 4 kB / 0.5062 GB, free: 15.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002741/0.08683, allocations: 87.81 kB / 0.5062 GB, free: 15.62 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (11): * Single equations (assignments): 11 * 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.0008102/0.08764, allocations: 0.8797 MB / 0.5071 GB, free: 14.72 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002787/0.08792, allocations: 155.8 kB / 0.5072 GB, free: 14.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.08792, allocations: 0 / 0.5072 GB, free: 14.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.08803, allocations: 71.89 kB / 0.5073 GB, free: 14.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.08835, allocations: 61.12 kB / 0.5074 GB, free: 14.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.09056, allocations: 2.461 MB / 0.5098 GB, free: 11.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.921e-05/0.09065, allocations: 134.5 kB / 0.5099 GB, free: 11.71 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.732e-05/0.09074, allocations: 33.94 kB / 0.5099 GB, free: 11.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.387e-05/0.09084, allocations: 71.41 kB / 0.51 GB, free: 11.61 MB / 378.7 MB Notification: Performance of SimCode: time 9.82e-07/0.09084, allocations: 0 / 0.51 GB, free: 11.61 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1265/0.2174, allocations: 7.234 MB / 0.5171 GB, free: 4.582 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.923/7.141, allocations: 3.938 kB / 0.5171 GB, free: 4.578 MB / 378.7 MB " [Timeout remaining time 653] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_ShuttleValveTest_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ../OpenHydraulics_OpenHydraulics_DevelopmentTests_ShuttleValveTest.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe 2>&1) [Timeout 52.5] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest_fmpy.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest_fmpy.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest_fmpy_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../OpenHydraulics_OpenHydraulics_DevelopmentTests_ShuttleValveTest.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.365707078017294]