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.0006461/0.0006461, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008757/0.001522, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006785/0.0006785, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008688/0.001547, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9065/0.9065, allocations: 177.1 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07772/0.9842, allocations: 53.67 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-main/package.mo): time 0.0461/0.0461, allocations: 8.731 MB / 252.7 MB, free: 6.375 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005283/0.05139, allocations: 3.005 MB / 255.7 MB, free: 3.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 2.0.0-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.854e-06/1.854e-06, allocations: 0 / 257 MB, free: 2.098 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.877e-05, allocations: 14.25 kB / 257 MB, free: 2.082 MB / 250.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.004867/0.004896, allocations: 2.027 MB / 259 MB, free: 40 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002039/0.006934, allocations: 1.849 MB / 260.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.145e-05/0.007016, allocations: 4 kB / 260.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.007149, allocations: 47.62 kB / 260.9 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001767/0.007325, allocations: 91.27 kB / 261 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004536/0.007779, allocations: 314.5 kB / 261.3 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.007953, allocations: 190.9 kB / 261.5 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.014e-05/0.008043, allocations: 22.45 kB / 261.5 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.008153, allocations: 107.7 kB / 261.6 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.806e-05/0.008231, allocations: 59.81 kB / 261.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.008246, allocations: 8 kB / 261.7 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003832/0.008629, allocations: 251.6 kB / 261.9 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.144e-05/0.008651, allocations: 23.88 kB / 262 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.084e-05/0.008692, allocations: 39.94 kB / 262 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003082/0.009, allocations: 255.2 kB / 262.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.46e-05/0.009014, allocations: 4 kB / 262.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.009016, allocations: 0 / 262.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.009028, allocations: 4 kB / 262.3 MB, free: 12.79 MB / 266.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.000431/0.009459, allocations: 419.4 kB / 262.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.727e-05/0.009486, allocations: 8.031 kB / 262.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.009523, allocations: 20.92 kB / 262.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.009675, allocations: 151.9 kB / 262.8 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.009685, allocations: 8.375 kB / 262.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.009698, allocations: 12.38 kB / 262.9 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.009838, allocations: 101.5 kB / 263 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.009846, allocations: 0 / 263 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.009856, allocations: 8 kB / 263 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.009862, allocations: 4 kB / 263 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.139e-05/0.009933, allocations: 51.77 kB / 263 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005009/0.01043, allocations: 309.5 kB / 263.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.315e-05/0.01051, allocations: 38.55 kB / 263.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.469e-05/0.01052, allocations: 8.859 kB / 263.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.32e-05/0.01058, allocations: 24.05 kB / 263.4 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.0106, allocations: 34.5 kB / 263.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.0106, allocations: 0 / 263.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001258/0.01072, allocations: 57.61 kB / 263.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.01075, allocations: 55.41 kB / 263.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.078e-05/0.01084, allocations: 171.2 kB / 263.7 MB, free: 11.2 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.01085, allocations: 25.7 kB / 263.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.807e-05/0.0109, allocations: 128.1 kB / 263.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.165e-06/0.01091, allocations: 11.91 kB / 263.9 MB, free: 11.03 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.01095, allocations: 37.64 kB / 263.9 MB, free: 10.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.204e-05/0.01102, allocations: 326.8 kB / 264.2 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.921e-05/0.01104, allocations: 11.94 kB / 264.2 MB, free: 10.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.066e-05/0.01107, allocations: 37.94 kB / 264.3 MB, free: 10.6 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.576e-05/0.01111, allocations: 28.97 kB / 264.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01112, allocations: 4 kB / 264.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.049e-05/0.01119, allocations: 65.61 kB / 264.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.0112, allocations: 8 kB / 264.4 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.0112, allocations: 3.938 kB / 264.4 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.544e-06/0.01121, allocations: 32 / 264.4 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.764e-05/0.01129, allocations: 27.97 kB / 264.4 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.01129, allocations: 4 kB / 264.4 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.699e-05/0.01132, allocations: 7.938 kB / 264.4 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.01133, allocations: 4 kB / 264.4 MB, free: 10.44 MB / 266.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 5.419e-05/0.01138, allocations: 113.8 kB / 264.5 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.694e-05/0.0114, allocations: 7.984 kB / 264.5 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.01151, allocations: 78.69 kB / 264.6 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.01151, allocations: 4 kB / 264.6 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.01151, allocations: 7.984 kB / 264.6 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.01152, allocations: 0 / 264.6 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.01173, allocations: 231.6 kB / 264.9 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.01173, allocations: 4 kB / 264.9 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.269e-05/0.01176, allocations: 11.98 kB / 264.9 MB, free: 9.949 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.1e-05/0.01178, allocations: 11.89 kB / 264.9 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.01179, allocations: 4 kB / 264.9 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-06/0.01179, allocations: 0 / 264.9 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.01179, allocations: 0 / 264.9 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.01179, allocations: 3.938 kB / 264.9 MB, free: 9.93 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.421e-05/0.01188, allocations: 160.4 kB / 265 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.01189, allocations: 3.938 kB / 265 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.507e-05/0.01193, allocations: 4 kB / 265.1 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.125e-05/0.01194, allocations: 3.984 kB / 265.1 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.01194, allocations: 4.125 kB / 265.1 MB, free: 9.738 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.438e-05/0.01198, allocations: 52.8 kB / 265.1 MB, free: 9.684 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01198, allocations: 0 / 265.1 MB, free: 9.684 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002162/0.01219, allocations: 95.62 kB / 265.2 MB, free: 9.59 MB / 266.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.0002169/0.01241, allocations: 168.1 kB / 265.4 MB, free: 9.414 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.277e-05/0.01249, allocations: 44.8 kB / 265.4 MB, free: 9.367 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.0125, allocations: 4 kB / 265.4 MB, free: 9.363 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.458e-05/0.01251, allocations: 16.8 kB / 265.4 MB, free: 9.344 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.01268, allocations: 55.62 kB / 265.5 MB, free: 9.293 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00245/0.01513, allocations: 273.7 kB / 265.8 MB, free: 9 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.674e-05/0.01517, allocations: 67.28 kB / 265.8 MB, free: 8.914 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.717e-05/0.01521, allocations: 16.97 kB / 265.8 MB, free: 8.895 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.692e-05/0.01529, allocations: 83.28 kB / 265.9 MB, free: 8.812 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01529, allocations: 0 / 265.9 MB, free: 8.812 MB / 266.7 MB Notification: Performance of Templates: time 0.004642/0.01993, allocations: 3.444 MB / 269.4 MB, free: 5.41 MB / 266.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.3560715885832906]