Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.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.001886/0.001886, allocations: 105.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.001945/0.001945, allocations: 217.7 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 1.694/1.694, allocations: 230.6 MB / 256 MB, free: 9.578 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.06637/0.06637, allocations: 11.34 MB / 323.8 MB, free: 6.762 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.ThrottleValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2") translateModel(OpenHydraulics.DevelopmentTests.ThrottleValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2") [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.003741/0.003741, allocations: 72.17 kB / 451.2 MB, free: 35.21 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09235/0.09609, allocations: 55.96 MB / 0.4953 GB, free: 11.17 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.004714/0.1008, allocations: 2.672 MB / 0.4979 GB, free: 8.48 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004771/0.1056, allocations: 2.352 MB / 0.5002 GB, free: 6.121 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002304/0.1058, allocations: 11.94 kB / 0.5002 GB, free: 6.109 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004359/0.1062, allocations: 91.39 kB / 0.5003 GB, free: 6.02 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006774/0.1069, allocations: 234.6 kB / 0.5005 GB, free: 5.789 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.1082, allocations: 485.7 kB / 0.501 GB, free: 5.316 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005923/0.1088, allocations: 390.2 kB / 0.5014 GB, free: 4.934 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.109, allocations: 32.92 kB / 0.5014 GB, free: 4.898 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004681/0.1094, allocations: 151.4 kB / 0.5015 GB, free: 4.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002702/0.1097, allocations: 147.3 kB / 0.5017 GB, free: 4.605 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.607e-05/0.1098, allocations: 23.94 kB / 0.5017 GB, free: 4.582 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006201/0.1104, allocations: 279.8 kB / 0.502 GB, free: 4.309 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.1105, allocations: 71.62 kB / 0.502 GB, free: 4.238 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.1106, allocations: 123.3 kB / 0.5022 GB, free: 4.117 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008522/0.1115, allocations: 0.5332 MB / 0.5027 GB, free: 3.578 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1115, allocations: 0 / 0.5027 GB, free: 3.578 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1115, allocations: 4 kB / 0.5027 GB, free: 3.574 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1115, allocations: 0 / 0.5027 GB, free: 3.574 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001042/0.1126, allocations: 0.5861 MB / 0.5032 GB, free: 2.957 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.1126, allocations: 11.98 kB / 0.5033 GB, free: 2.945 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001991/0.1128, allocations: 48.69 kB / 0.5033 GB, free: 2.898 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004432/0.1132, allocations: 254.2 kB / 0.5035 GB, free: 2.629 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.1133, allocations: 12.44 kB / 0.5036 GB, free: 2.617 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.1133, allocations: 24 kB / 0.5036 GB, free: 2.594 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004804/0.1138, allocations: 223.2 kB / 0.5038 GB, free: 2.371 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.1138, allocations: 0 / 0.5038 GB, free: 2.371 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/0.1138, allocations: 15.98 kB / 0.5038 GB, free: 2.355 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.1138, allocations: 8 kB / 0.5038 GB, free: 2.348 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005115/0.1143, allocations: 241.6 kB / 0.5041 GB, free: 2.113 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.1158, allocations: 0.6266 MB / 0.5047 GB, free: 1.453 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005968/0.1164, allocations: 176.8 kB / 0.5048 GB, free: 1.273 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/0.1166, allocations: 88.66 kB / 0.5049 GB, free: 1.184 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000125/0.1167, allocations: 15.98 kB / 0.5049 GB, free: 1.168 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.1168, allocations: 34.56 kB / 0.505 GB, free: 1.125 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 1.262e-06/0.1168, allocations: 0 / 0.505 GB, free: 1.125 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.03185/0.1486, allocations: 3.155 MB / 0.508 GB, free: 13.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/0.1487, allocations: 59.34 kB / 0.5081 GB, free: 13.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004647/0.1491, allocations: 316.5 kB / 0.5084 GB, free: 13.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.645e-05/0.1492, allocations: 29.7 kB / 0.5084 GB, free: 13.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002816/0.1495, allocations: 188.6 kB / 0.5086 GB, free: 13.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.1496, allocations: 119 kB / 0.5087 GB, free: 13.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000226/0.1499, allocations: 77.66 kB / 0.5088 GB, free: 13.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.1501, allocations: 342.8 kB / 0.5091 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001117/0.1512, allocations: 319.8 kB / 0.5094 GB, free: 12.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.1523, allocations: 387.8 kB / 0.5098 GB, free: 12.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002438/0.1548, allocations: 0.6582 MB / 0.5104 GB, free: 11.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1548, allocations: 0 / 0.5104 GB, free: 11.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00381/0.1586, allocations: 0.9986 MB / 0.5114 GB, free: 10.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.1586, allocations: 8 kB / 0.5114 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.1586, allocations: 4 kB / 0.5114 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002983/0.1616, allocations: 1.114 MB / 0.5125 GB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.1619, allocations: 59.84 kB / 0.5126 GB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007484/0.1694, allocations: 2.026 MB / 0.5146 GB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008118/0.1702, allocations: 55.98 kB / 0.5146 GB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.567e-05/0.1703, allocations: 31.97 kB / 0.5146 GB, free: 7.035 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (throttleValve.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000279/0.1706, allocations: 149.8 kB / 0.5148 GB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.1707, allocations: 35.8 kB / 0.5148 GB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004257/0.175, allocations: 1.079 MB / 0.5159 GB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.175, allocations: 4 kB / 0.5159 GB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.175, allocations: 3.938 kB / 0.5159 GB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.175, allocations: 0 / 0.5159 GB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007082/0.1821, allocations: 1.879 MB / 0.5177 GB, free: 3.812 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.1821, allocations: 3.938 kB / 0.5177 GB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002837/0.1824, allocations: 59.89 kB / 0.5178 GB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002623/0.185, allocations: 0.9501 MB / 0.5187 GB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.932e-05/0.185, allocations: 24.09 kB / 0.5187 GB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004743/0.1898, allocations: 1.846 MB / 0.5205 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1898, allocations: 4.062 kB / 0.5205 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003584/0.1934, allocations: 0.9719 MB / 0.5215 GB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002913/0.1937, allocations: 95.67 kB / 0.5216 GB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.1938, allocations: 11.94 kB / 0.5216 GB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007337/0.1945, allocations: 63.94 kB / 0.5216 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.694e-05/0.1946, allocations: 15.97 kB / 0.5217 GB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.068e-05/0.1946, allocations: 23.97 kB / 0.5217 GB, free: 15.66 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003077/0.195, allocations: 227.1 kB / 0.5219 GB, free: 15.44 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.195, allocations: 0 / 0.5219 GB, free: 15.44 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000854/0.1958, allocations: 247.5 kB / 0.5221 GB, free: 15.2 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003483/0.1993, allocations: 0.5622 MB / 0.5227 GB, free: 14.81 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006339/0.2056, allocations: 0.9015 MB / 0.5236 GB, free: 13.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.2056, allocations: 0 / 0.5236 GB, free: 13.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002399/0.208, allocations: 475.8 kB / 0.524 GB, free: 13.44 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006619/0.2087, allocations: 64.55 kB / 0.5241 GB, free: 13.38 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.2109, allocations: 0.808 MB / 0.5249 GB, free: 12.54 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.2112, allocations: 181.8 kB / 0.525 GB, free: 12.34 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002309/0.2114, allocations: 54.88 kB / 0.5251 GB, free: 12.28 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.2115, allocations: 31.42 kB / 0.5251 GB, free: 12.25 MB / 394.7 MB Notification: Performance of SimCode: time 1.483e-06/0.2115, allocations: 0 / 0.5251 GB, free: 12.25 MB / 394.7 MB Notification: Performance of Templates: time 0.02849/0.24, allocations: 15.44 MB / 0.5402 GB, free: 12.89 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.977559270104393]