Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.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.001842/0.001842, allocations: 105.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.001947/0.001947, allocations: 212.6 kB / 22.25 MB, free: 3.574 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.683/1.683, 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.07627/0.07627, allocations: 11.32 MB / 323.7 MB, free: 6.773 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.ThrottleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest") translateModel(OpenHydraulics.DevelopmentTests.ThrottleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest") [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.003598/0.003598, allocations: 67.89 kB / 451.2 MB, free: 35.22 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0951/0.0987, allocations: 55.96 MB / 0.4953 GB, free: 11.18 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.003447/0.1021, allocations: 1.884 MB / 0.4971 GB, free: 9.277 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003289/0.1054, allocations: 1.709 MB / 0.4988 GB, free: 7.562 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.1056, allocations: 7.938 kB / 0.4988 GB, free: 7.555 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.1058, allocations: 27.78 kB / 0.4988 GB, free: 7.527 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003019/0.1061, allocations: 95.31 kB / 0.4989 GB, free: 7.434 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008384/0.1069, allocations: 354.6 kB / 0.4993 GB, free: 7.086 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.1072, allocations: 179 kB / 0.4994 GB, free: 6.91 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.1073, allocations: 25.72 kB / 0.4995 GB, free: 6.879 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.134e-05/0.1074, allocations: 55.8 kB / 0.4995 GB, free: 6.824 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.1075, allocations: 55.77 kB / 0.4996 GB, free: 6.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.1075, allocations: 15.94 kB / 0.4996 GB, free: 6.754 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005295/0.1081, allocations: 231.7 kB / 0.4998 GB, free: 6.527 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.226e-05/0.1081, allocations: 27.86 kB / 0.4998 GB, free: 6.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.047e-05/0.1082, allocations: 63.72 kB / 0.4999 GB, free: 6.438 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005042/0.1087, allocations: 295 kB / 0.5002 GB, free: 6.148 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1087, allocations: 0 / 0.5002 GB, free: 6.148 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1087, allocations: 0 / 0.5002 GB, free: 6.148 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.1087, allocations: 3.984 kB / 0.5002 GB, free: 6.145 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006499/0.1094, allocations: 393.2 kB / 0.5005 GB, free: 5.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.1094, allocations: 11.98 kB / 0.5006 GB, free: 5.719 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.202e-05/0.1095, allocations: 20.84 kB / 0.5006 GB, free: 5.699 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.1097, allocations: 162.2 kB / 0.5007 GB, free: 5.516 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.1097, allocations: 8.375 kB / 0.5007 GB, free: 5.508 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.1098, allocations: 15.94 kB / 0.5008 GB, free: 5.492 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.11, allocations: 121.5 kB / 0.5009 GB, free: 5.367 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.11, allocations: 7.875 kB / 0.5009 GB, free: 5.359 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.1101, allocations: 4 kB / 0.5009 GB, free: 5.355 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.1101, allocations: 4 kB / 0.5009 GB, free: 5.352 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002323/0.1103, allocations: 119.9 kB / 0.501 GB, free: 5.234 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009532/0.1112, allocations: 408.1 kB / 0.5014 GB, free: 4.805 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.1114, allocations: 58.48 kB / 0.5014 GB, free: 4.738 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.171e-05/0.1115, allocations: 24.98 kB / 0.5015 GB, free: 4.711 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.512e-05/0.1116, allocations: 11.92 kB / 0.5015 GB, free: 4.699 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.1116, allocations: 30.56 kB / 0.5015 GB, free: 4.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.1116, allocations: 4 kB / 0.5015 GB, free: 4.656 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002956/0.1119, allocations: 101.6 kB / 0.5016 GB, free: 4.551 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.1119, allocations: 59.34 kB / 0.5017 GB, free: 4.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.1121, allocations: 165.9 kB / 0.5018 GB, free: 4.305 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.1121, allocations: 25.7 kB / 0.5019 GB, free: 4.273 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.1122, allocations: 136.1 kB / 0.502 GB, free: 4.137 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.1123, allocations: 19.84 kB / 0.502 GB, free: 4.117 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.194e-05/0.1123, allocations: 29.7 kB / 0.502 GB, free: 4.082 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.1125, allocations: 322.8 kB / 0.5023 GB, free: 3.758 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.246e-05/0.1126, allocations: 27.92 kB / 0.5024 GB, free: 3.727 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.051e-05/0.1127, allocations: 57.94 kB / 0.5024 GB, free: 3.664 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.1128, allocations: 56.86 kB / 0.5025 GB, free: 3.605 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.1128, allocations: 7.938 kB / 0.5025 GB, free: 3.598 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002182/0.113, allocations: 113.6 kB / 0.5026 GB, free: 3.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1131, allocations: 4 kB / 0.5026 GB, free: 3.477 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1131, allocations: 0 / 0.5026 GB, free: 3.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.1131, allocations: 7.984 kB / 0.5026 GB, free: 3.469 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.892e-05/0.1132, allocations: 12 kB / 0.5026 GB, free: 3.457 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.1132, allocations: 0 / 0.5026 GB, free: 3.457 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.462e-05/0.1133, allocations: 15.88 kB / 0.5026 GB, free: 3.441 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.1133, allocations: 8 kB / 0.5026 GB, free: 3.434 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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.0001159/0.1134, allocations: 121.7 kB / 0.5027 GB, free: 3.305 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.498e-05/0.1134, allocations: 7.953 kB / 0.5028 GB, free: 3.297 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002456/0.1137, allocations: 106.9 kB / 0.5029 GB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1137, allocations: 3.938 kB / 0.5029 GB, free: 3.184 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.1137, allocations: 7.984 kB / 0.5029 GB, free: 3.176 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1137, allocations: 0 / 0.5029 GB, free: 3.176 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004836/0.1142, allocations: 322.9 kB / 0.5032 GB, free: 2.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1142, allocations: 0 / 0.5032 GB, free: 2.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.344e-05/0.1142, allocations: 8 kB / 0.5032 GB, free: 2.812 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1142, allocations: 0 / 0.5032 GB, free: 2.812 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.1142, allocations: 7.984 kB / 0.5032 GB, free: 2.805 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1142, allocations: 4.031 kB / 0.5032 GB, free: 2.801 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.1142, allocations: 3.938 kB / 0.5032 GB, free: 2.797 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.1145, allocations: 184.2 kB / 0.5034 GB, free: 2.598 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.586e-05/0.1145, allocations: 19.88 kB / 0.5034 GB, free: 2.578 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.1145, allocations: 0 / 0.5034 GB, free: 2.578 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.175e-05/0.1146, allocations: 0 / 0.5034 GB, free: 2.578 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.22e-05/0.1146, allocations: 7.984 kB / 0.5034 GB, free: 2.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.1146, allocations: 8.125 kB / 0.5034 GB, free: 2.562 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001309/0.1148, allocations: 131.2 kB / 0.5035 GB, free: 2.434 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1148, allocations: 0 / 0.5035 GB, free: 2.434 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003783/0.1151, allocations: 95.56 kB / 0.5036 GB, free: 2.34 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.0003316/0.1155, allocations: 186.9 kB / 0.5038 GB, free: 2.145 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.1157, allocations: 51.97 kB / 0.5039 GB, free: 2.094 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1157, allocations: 0 / 0.5039 GB, free: 2.094 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.34e-05/0.1157, allocations: 23.94 kB / 0.5039 GB, free: 2.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.116, allocations: 24.05 kB / 0.5039 GB, free: 2.047 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007541/0.1168, allocations: 263.4 kB / 0.5042 GB, free: 1.758 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.1169, allocations: 101.3 kB / 0.5042 GB, free: 1.641 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.525e-05/0.117, allocations: 20.95 kB / 0.5043 GB, free: 1.613 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.498e-05/0.117, allocations: 19.44 kB / 0.5043 GB, free: 1.594 MB / 362.7 MB Notification: Performance of SimCode: time 3.21e-07/0.117, allocations: 3.938 kB / 0.5043 GB, free: 1.59 MB / 362.7 MB Notification: Performance of Templates: time 0.007296/0.1243, allocations: 3.09 MB / 0.5073 GB, free: 14.55 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.094693660037592]