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.001461/0.001461, allocations: 77.88 kB / 20.66 MB, free: 3.852 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.001835/0.001835, allocations: 165 kB / 24.06 MB, free: 464 kB / 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.9399/0.9399, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.06773/0.06773, allocations: 8.713 MB / 269.8 MB, free: 4.391 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: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 342.1 MB, free: 7.773 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.386e-05/1.539e-05, allocations: 4.844 kB / 342.1 MB, free: 7.77 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.002424/0.00244, allocations: 2.845 MB / 344.9 MB, free: 4.902 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002151/0.004591, allocations: 2.449 MB / 347.4 MB, free: 2.445 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.004727, allocations: 3.938 kB / 347.4 MB, free: 2.441 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003111/0.005038, allocations: 103.3 kB / 347.5 MB, free: 2.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003608/0.005399, allocations: 238.4 kB / 347.7 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000622/0.006021, allocations: 490 kB / 348.2 MB, free: 1.625 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002728/0.006294, allocations: 410 kB / 348.6 MB, free: 1.223 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.006407, allocations: 36.91 kB / 348.6 MB, free: 1.188 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002203/0.006627, allocations: 207.4 kB / 348.8 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.006772, allocations: 123.6 kB / 349 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.006799, allocations: 24 kB / 349 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002745/0.007073, allocations: 283.6 kB / 349.3 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.514e-05/0.007138, allocations: 67.64 kB / 349.3 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.499e-05/0.007203, allocations: 99.7 kB / 349.4 MB, free: 408 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004433/0.007646, allocations: 490.4 kB / 349.9 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.007648, allocations: 3.938 kB / 349.9 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.007649, allocations: 0 / 349.9 MB, free: 15.91 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.007653, allocations: 0 / 349.9 MB, free: 15.91 MB / 282.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.0006374/0.008291, allocations: 0.686 MB / 350.6 MB, free: 15.19 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.008328, allocations: 12.03 kB / 350.6 MB, free: 15.18 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/0.008493, allocations: 60.7 kB / 350.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.00877, allocations: 248.5 kB / 350.9 MB, free: 14.85 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.00879, allocations: 16.88 kB / 350.9 MB, free: 14.83 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.008818, allocations: 28.11 kB / 351 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.00903, allocations: 160.8 kB / 351.1 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.009042, allocations: 0 / 351.1 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.009056, allocations: 4 kB / 351.1 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.009062, allocations: 8 kB / 351.1 MB, free: 14.63 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.009204, allocations: 109.3 kB / 351.2 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008075/0.01001, allocations: 0.6072 MB / 351.8 MB, free: 13.88 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.01026, allocations: 119.3 kB / 352 MB, free: 13.75 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.186e-05/0.01031, allocations: 43.66 kB / 352 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.559e-05/0.01038, allocations: 19.92 kB / 352 MB, free: 13.69 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.0104, allocations: 37.39 kB / 352.1 MB, free: 13.64 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 1.212e-06/0.0104, allocations: 0 / 352.1 MB, free: 13.64 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.01224/0.02264, allocations: 2.399 MB / 354.5 MB, free: 11.2 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.02267, allocations: 63.34 kB / 354.5 MB, free: 11.13 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.02286, allocations: 330.2 kB / 354.8 MB, free: 10.79 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.566e-05/0.0229, allocations: 33.7 kB / 354.9 MB, free: 10.75 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.023, allocations: 231.4 kB / 355.1 MB, free: 10.52 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.699e-05/0.02308, allocations: 115 kB / 355.2 MB, free: 10.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.02321, allocations: 87.3 kB / 355.3 MB, free: 10.32 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.02335, allocations: 0.5195 MB / 355.8 MB, free: 9.785 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.02354, allocations: 163.9 kB / 356 MB, free: 9.625 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.02377, allocations: 252.7 kB / 356.2 MB, free: 9.359 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004837/0.02426, allocations: 368.1 kB / 356.6 MB, free: 8.988 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.02426, allocations: 0 / 356.6 MB, free: 8.988 MB / 282.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008925/0.02515, allocations: 0.5551 MB / 357.1 MB, free: 8.418 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.02517, allocations: 7.984 kB / 357.1 MB, free: 8.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.02517, allocations: 0 / 357.1 MB, free: 8.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000927/0.0261, allocations: 0.7329 MB / 357.9 MB, free: 7.668 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.02624, allocations: 51.91 kB / 357.9 MB, free: 7.617 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/0.02862, allocations: 1.982 MB / 359.9 MB, free: 5.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.0289, allocations: 39.97 kB / 359.9 MB, free: 5.531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.953e-05/0.02894, allocations: 27.91 kB / 360 MB, free: 5.504 MB / 282.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.0001423/0.02909, allocations: 172.5 kB / 360.1 MB, free: 5.324 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.867e-05/0.02918, allocations: 51.8 kB / 360.2 MB, free: 5.273 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.03021, allocations: 0.5737 MB / 360.8 MB, free: 4.68 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.03021, allocations: 4 kB / 360.8 MB, free: 4.676 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.175e-06/0.03021, allocations: 0 / 360.8 MB, free: 4.676 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.03022, allocations: 0 / 360.8 MB, free: 4.676 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002346/0.03256, allocations: 1.331 MB / 362.1 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.03257, allocations: 0 / 362.1 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.03268, allocations: 43.97 kB / 362.1 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007472/0.03343, allocations: 0.6275 MB / 362.8 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.404e-05/0.03346, allocations: 15.98 kB / 362.8 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001464/0.03492, allocations: 1.857 MB / 364.6 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.03493, allocations: 4 kB / 364.6 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007484/0.03567, allocations: 0.5577 MB / 365.2 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.03582, allocations: 99.73 kB / 365.3 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.73e-05/0.03587, allocations: 8 kB / 365.3 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000266/0.03613, allocations: 47.95 kB / 365.4 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.03617, allocations: 19.97 kB / 365.4 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.561e-05/0.03621, allocations: 15.97 kB / 365.4 MB, free: 15.89 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001018/0.03631, allocations: 226.8 kB / 365.6 MB, free: 15.67 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03631, allocations: 0 / 365.6 MB, free: 15.67 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005018/0.03681, allocations: 239.5 kB / 365.8 MB, free: 15.43 MB / 298.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.001114/0.03792, allocations: 0.5349 MB / 366.4 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001819/0.03974, allocations: 0.5695 MB / 367 MB, free: 14.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.03975, allocations: 0 / 367 MB, free: 14.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006284/0.04037, allocations: 279.9 kB / 367.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006363/0.04101, allocations: 99.94 kB / 367.3 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.04208, allocations: 0.6435 MB / 368 MB, free: 13.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.991e-05/0.04214, allocations: 101.2 kB / 368.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001066/0.04225, allocations: 42.94 kB / 368.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.0424, allocations: 142.1 kB / 368.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.0424, allocations: 0 / 368.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of Templates: time 0.01725/0.05965, allocations: 16.88 MB / 385.1 MB, free: 12.32 MB / 314.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: 3.086188682820648]