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.0009604/0.0009604, allocations: 81.86 kB / 19.87 MB, free: 4.625 MB / 18.57 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.001007/0.001007, allocations: 173.7 kB / 23.28 MB, free: 1.223 MB / 18.57 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.9311/0.9311, allocations: 177.1 MB / 203.7 MB, free: 5.496 MB / 186.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.03328/0.03328, allocations: 8.713 MB / 269 MB, free: 4.367 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: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 341.3 MB, free: 8.855 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.607e-05, allocations: 2.312 kB / 341.3 MB, free: 8.852 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.002423/0.002449, allocations: 1.983 MB / 343.3 MB, free: 6.848 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.004205, allocations: 1.818 MB / 345.1 MB, free: 5.023 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.36e-05/0.004289, allocations: 0 / 345.1 MB, free: 5.023 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000183/0.004472, allocations: 43.7 kB / 345.1 MB, free: 4.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001959/0.004668, allocations: 99.19 kB / 345.2 MB, free: 4.883 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.00509, allocations: 354.5 kB / 345.6 MB, free: 4.535 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.005242, allocations: 183 kB / 345.8 MB, free: 4.355 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.529e-05/0.005328, allocations: 21.78 kB / 345.8 MB, free: 4.336 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.388e-05/0.005411, allocations: 91.8 kB / 345.9 MB, free: 4.246 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.005613, allocations: 47.83 kB / 345.9 MB, free: 4.199 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.005628, allocations: 8 kB / 345.9 MB, free: 4.191 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003053/0.005933, allocations: 239.5 kB / 346.2 MB, free: 3.957 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.331e-05/0.005956, allocations: 31.91 kB / 346.2 MB, free: 3.926 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.571e-05/0.005992, allocations: 43.88 kB / 346.2 MB, free: 3.883 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002909/0.006283, allocations: 299.1 kB / 346.5 MB, free: 3.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.006286, allocations: 0 / 346.5 MB, free: 3.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.006286, allocations: 0 / 346.5 MB, free: 3.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.818e-06/0.00629, allocations: 3.984 kB / 346.5 MB, free: 3.586 MB / 314.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.0004027/0.006693, allocations: 0.4916 MB / 347 MB, free: 3.059 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.00673, allocations: 12.03 kB / 347 MB, free: 3.047 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.006771, allocations: 24.84 kB / 347 MB, free: 3.023 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.006908, allocations: 157.2 kB / 347.2 MB, free: 2.844 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.006917, allocations: 8.375 kB / 347.2 MB, free: 2.836 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.006929, allocations: 12.38 kB / 347.2 MB, free: 2.824 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.00706, allocations: 101.7 kB / 347.3 MB, free: 2.719 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.007066, allocations: 0 / 347.3 MB, free: 2.719 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.007076, allocations: 7.984 kB / 347.3 MB, free: 2.711 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.007081, allocations: 4 kB / 347.3 MB, free: 2.707 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.987e-05/0.007151, allocations: 55.81 kB / 347.4 MB, free: 2.652 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005344/0.007685, allocations: 431.8 kB / 347.8 MB, free: 2.203 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.816e-05/0.007763, allocations: 43.05 kB / 347.9 MB, free: 2.148 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.903e-05/0.007782, allocations: 15.69 kB / 347.9 MB, free: 2.129 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.931e-05/0.007832, allocations: 7.984 kB / 347.9 MB, free: 2.121 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.007851, allocations: 45.45 kB / 347.9 MB, free: 2.066 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.007852, allocations: 0 / 347.9 MB, free: 2.066 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001349/0.007986, allocations: 73.5 kB / 348 MB, free: 1.988 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.115e-05/0.008008, allocations: 51.41 kB / 348 MB, free: 1.926 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.008112, allocations: 239.3 kB / 348.3 MB, free: 1.672 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.008122, allocations: 25.7 kB / 348.3 MB, free: 1.641 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.26e-05/0.008185, allocations: 170.9 kB / 348.5 MB, free: 1.465 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.141e-05/0.008196, allocations: 23.8 kB / 348.5 MB, free: 1.441 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.008232, allocations: 35.34 kB / 348.5 MB, free: 1.398 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.008334, allocations: 0.4923 MB / 349 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.983e-05/0.008354, allocations: 11.98 kB / 349 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.116e-05/0.008385, allocations: 45.62 kB / 349.1 MB, free: 0.832 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.143e-05/0.008426, allocations: 27.69 kB / 349.1 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.008428, allocations: 0 / 349.1 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.901e-05/0.008517, allocations: 89.59 kB / 349.2 MB, free: 0.707 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.008529, allocations: 11.94 kB / 349.2 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.008533, allocations: 0 / 349.2 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.008546, allocations: 0 / 349.2 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.535e-05/0.008601, allocations: 19.98 kB / 349.2 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.008603, allocations: 0 / 349.2 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.524e-05/0.008629, allocations: 7.953 kB / 349.2 MB, free: 0.668 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.008635, allocations: 4 kB / 349.2 MB, free: 0.6641 MB / 314.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 6.091e-05/0.008696, allocations: 164.5 kB / 349.4 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.847e-05/0.008714, allocations: 11.94 kB / 349.4 MB, free: 492 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003819/0.009096, allocations: 90.94 kB / 349.5 MB, free: 400 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.009098, allocations: 0 / 349.5 MB, free: 400 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.009099, allocations: 0 / 349.5 MB, free: 400 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.009103, allocations: 7.984 kB / 349.5 MB, free: 392 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/0.009329, allocations: 329.6 kB / 349.8 MB, free: 24 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.00933, allocations: 0 / 349.8 MB, free: 24 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.311e-05/0.009353, allocations: 8 kB / 349.8 MB, free: 16 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.009355, allocations: 4.25 kB / 349.8 MB, free: 12 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.009361, allocations: 12.02 kB / 349.8 MB, free: 0 / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.409e-05/0.009375, allocations: 4.078 kB / 349.8 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.009376, allocations: 3.906 kB / 349.9 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.646e-05/0.009472, allocations: 219.5 kB / 350.1 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.961e-05/0.009502, allocations: 27.8 kB / 350.1 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.009514, allocations: 4 kB / 350.1 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.608e-05/0.00955, allocations: 4 kB / 350.1 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.173e-05/0.009562, allocations: 4.031 kB / 350.1 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.009565, allocations: 4 kB / 350.1 MB, free: 15.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.467e-05/0.00962, allocations: 163.1 kB / 350.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00962, allocations: 4 kB / 350.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002119/0.009832, allocations: 87.69 kB / 350.4 MB, free: 15.46 MB / 330.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.0001963/0.01003, allocations: 193.7 kB / 350.5 MB, free: 15.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.495e-05/0.01011, allocations: 47.59 kB / 350.6 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01011, allocations: 0 / 350.6 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.875e-05/0.01013, allocations: 23.62 kB / 350.6 MB, free: 15.19 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.01032, allocations: 23.92 kB / 350.6 MB, free: 15.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005309/0.01085, allocations: 274.2 kB / 350.9 MB, free: 14.86 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.598e-05/0.01089, allocations: 75.28 kB / 351 MB, free: 14.77 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.611e-05/0.01092, allocations: 8.984 kB / 351 MB, free: 14.76 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.204e-05/0.011, allocations: 102.2 kB / 351.1 MB, free: 14.66 MB / 330.7 MB Notification: Performance of SimCode: time 3.81e-07/0.011, allocations: 0 / 351.1 MB, free: 14.66 MB / 330.7 MB Notification: Performance of Templates: time 0.004297/0.0153, allocations: 3.379 MB / 354.5 MB, free: 11.33 MB / 330.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: 2.71991706173867]