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.002407/0.002407, allocations: 109.5 kB / 18.95 MB, free: 1.18 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.00282/0.00282, allocations: 220.6 kB / 22.25 MB, free: 3.582 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 1.631/1.631, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 178] 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.06535/0.06535, 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: translateModel(OpenHydraulics.DevelopmentTests.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") translateModel(OpenHydraulics.DevelopmentTests.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") [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.004668/0.004668, allocations: 67.83 kB / 451.2 MB, free: 35.22 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0988/0.1035, allocations: 55.96 MB / 0.4953 GB, free: 11.18 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.004451/0.1079, allocations: 2.48 MB / 0.4977 GB, free: 8.68 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003428/0.1114, allocations: 1.853 MB / 0.4995 GB, free: 6.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000233/0.1116, allocations: 7.938 kB / 0.4995 GB, free: 6.812 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002846/0.1119, allocations: 55.55 kB / 0.4996 GB, free: 6.758 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000349/0.1122, allocations: 111 kB / 0.4997 GB, free: 6.648 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.1133, allocations: 410.5 kB / 0.5001 GB, free: 6.246 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004997/0.1138, allocations: 302.3 kB / 0.5004 GB, free: 5.949 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.114, allocations: 62.64 kB / 0.5004 GB, free: 5.887 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002725/0.1143, allocations: 127.5 kB / 0.5006 GB, free: 5.762 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.1145, allocations: 99.5 kB / 0.5007 GB, free: 5.664 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.022e-05/0.1145, allocations: 16 kB / 0.5007 GB, free: 5.648 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004298/0.115, allocations: 207.8 kB / 0.5009 GB, free: 5.445 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.744e-05/0.115, allocations: 43.78 kB / 0.5009 GB, free: 5.402 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.1152, allocations: 107.5 kB / 0.501 GB, free: 5.297 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007196/0.1159, allocations: 394.5 kB / 0.5014 GB, free: 4.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.1159, allocations: 4 kB / 0.5014 GB, free: 4.906 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1159, allocations: 0 / 0.5014 GB, free: 4.906 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.1159, allocations: 0 / 0.5014 GB, free: 4.906 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.0009373/0.1168, allocations: 0.4964 MB / 0.5019 GB, free: 4.379 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.1169, allocations: 15.98 kB / 0.5019 GB, free: 4.363 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002922/0.1172, allocations: 48.72 kB / 0.5019 GB, free: 4.316 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000432/0.1176, allocations: 203.2 kB / 0.5021 GB, free: 4.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.1176, allocations: 12.38 kB / 0.5021 GB, free: 4.078 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.184e-05/0.1177, allocations: 23.94 kB / 0.5022 GB, free: 4.055 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004762/0.1182, allocations: 216.1 kB / 0.5024 GB, free: 3.824 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.1182, allocations: 3.984 kB / 0.5024 GB, free: 3.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.1182, allocations: 12 kB / 0.5024 GB, free: 3.809 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.1182, allocations: 4 kB / 0.5024 GB, free: 3.805 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003804/0.1186, allocations: 151.9 kB / 0.5025 GB, free: 3.656 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.12, allocations: 0.6719 MB / 0.5032 GB, free: 2.941 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004107/0.1205, allocations: 102.6 kB / 0.5033 GB, free: 2.832 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.1206, allocations: 52.77 kB / 0.5033 GB, free: 2.777 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.103e-05/0.1206, allocations: 4 kB / 0.5033 GB, free: 2.773 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.1207, allocations: 34.5 kB / 0.5034 GB, free: 2.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/0.1207, allocations: 3.938 kB / 0.5034 GB, free: 2.727 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.002209/0.1229, allocations: 0.5202 MB / 0.5039 GB, free: 2.199 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.1229, allocations: 59.41 kB / 0.5039 GB, free: 2.129 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.1232, allocations: 237.1 kB / 0.5042 GB, free: 1.891 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.1232, allocations: 25.7 kB / 0.5042 GB, free: 1.859 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.1234, allocations: 168.1 kB / 0.5044 GB, free: 1.691 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.804e-05/0.1235, allocations: 43.64 kB / 0.5044 GB, free: 1.648 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.038e-05/0.1235, allocations: 37.7 kB / 0.5044 GB, free: 1.605 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.1237, allocations: 330.8 kB / 0.5047 GB, free: 1.273 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.1239, allocations: 67.95 kB / 0.5048 GB, free: 1.207 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.1241, allocations: 100.2 kB / 0.5049 GB, free: 1.094 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004157/0.1245, allocations: 164.2 kB / 0.5051 GB, free: 0.918 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1245, allocations: 4 kB / 0.5051 GB, free: 0.9141 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000534/0.1251, allocations: 232.4 kB / 0.5053 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.1251, allocations: 8 kB / 0.5053 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1251, allocations: 0 / 0.5053 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.1251, allocations: 0 / 0.5053 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.1254, allocations: 51.89 kB / 0.5053 GB, free: 0.625 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.1254, allocations: 4.938 kB / 0.5054 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.1255, allocations: 20.05 kB / 0.5054 GB, free: 0.6016 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.1255, allocations: 4 kB / 0.5054 GB, free: 0.5977 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 0.0001527/0.1257, allocations: 137.8 kB / 0.5055 GB, free: 464 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.398e-05/0.1257, allocations: 27.73 kB / 0.5055 GB, free: 436 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005353/0.1263, allocations: 187.3 kB / 0.5057 GB, free: 240 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.1263, allocations: 8 kB / 0.5057 GB, free: 232 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1263, allocations: 0 / 0.5057 GB, free: 232 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1263, allocations: 0 / 0.5057 GB, free: 232 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002919/0.1266, allocations: 193.2 kB / 0.5059 GB, free: 8 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1266, allocations: 0 / 0.5059 GB, free: 8 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.1268, allocations: 35.97 kB / 0.5059 GB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.1268, allocations: 3.938 kB / 0.5059 GB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.1268, allocations: 0 / 0.5059 GB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.1268, allocations: 7.938 kB / 0.5059 GB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.1268, allocations: 3.984 kB / 0.506 GB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007972/0.1276, allocations: 279.2 kB / 0.5062 GB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.69e-05/0.1277, allocations: 27.83 kB / 0.5062 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/0.1277, allocations: 4 kB / 0.5062 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.1279, allocations: 15.98 kB / 0.5063 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/0.1279, allocations: 7.969 kB / 0.5063 GB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.1279, allocations: 7.938 kB / 0.5063 GB, free: 15.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001991/0.1281, allocations: 176.5 kB / 0.5064 GB, free: 15.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1281, allocations: 0 / 0.5064 GB, free: 15.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000431/0.1286, allocations: 91.8 kB / 0.5065 GB, free: 15.34 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.0003256/0.1289, allocations: 166.9 kB / 0.5067 GB, free: 15.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004814/0.1294, allocations: 155.9 kB / 0.5068 GB, free: 15.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1294, allocations: 4 kB / 0.5068 GB, free: 15.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002236/0.1296, allocations: 59.95 kB / 0.5069 GB, free: 14.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.13, allocations: 55.36 kB / 0.507 GB, free: 14.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.131, allocations: 445.1 kB / 0.5074 GB, free: 14.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.1312, allocations: 137.8 kB / 0.5075 GB, free: 14.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001225/0.1313, allocations: 21.64 kB / 0.5075 GB, free: 14.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.485e-05/0.1314, allocations: 27.42 kB / 0.5076 GB, free: 14.24 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1314, allocations: 0 / 0.5076 GB, free: 14.24 MB / 378.7 MB Notification: Performance of Templates: time 0.008773/0.1402, allocations: 3.867 MB / 0.5113 GB, free: 10.45 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.makefile [Timeout 660] (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 & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.331223028944805]