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.002339/0.002339, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 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.002803/0.002803, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.569/1.569, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.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.06236/0.06236, allocations: 8.704 MB / 268.3 MB, free: 4.582 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.162e-06/1.162e-06, allocations: 0 / 340.1 MB, free: 8.41 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.195e-05, allocations: 2.312 kB / 340.1 MB, free: 8.406 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.002237/0.002259, allocations: 1.955 MB / 342.1 MB, free: 6.434 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00196/0.004219, allocations: 1.822 MB / 343.9 MB, free: 4.605 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.452e-05/0.004314, allocations: 7.938 kB / 343.9 MB, free: 4.598 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002073/0.004521, allocations: 43.69 kB / 343.9 MB, free: 4.555 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002304/0.004751, allocations: 91.33 kB / 344 MB, free: 4.465 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000591/0.005342, allocations: 362.4 kB / 344.4 MB, free: 4.109 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.005497, allocations: 184.7 kB / 344.6 MB, free: 3.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.005604, allocations: 21.8 kB / 344.6 MB, free: 3.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.714e-05/0.005701, allocations: 91.73 kB / 344.7 MB, free: 3.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.864e-05/0.00579, allocations: 51.81 kB / 344.7 MB, free: 3.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.00581, allocations: 12 kB / 344.7 MB, free: 3.758 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003897/0.0062, allocations: 223.7 kB / 345 MB, free: 3.539 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.142e-05/0.006221, allocations: 31.84 kB / 345 MB, free: 3.508 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.949e-05/0.006271, allocations: 51.84 kB / 345 MB, free: 3.457 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003718/0.006643, allocations: 331 kB / 345.4 MB, free: 3.133 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.006646, allocations: 4 kB / 345.4 MB, free: 3.129 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.006646, allocations: 0 / 345.4 MB, free: 3.129 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.006651, allocations: 3.938 kB / 345.4 MB, free: 3.125 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.0004569/0.007108, allocations: 0.4913 MB / 345.9 MB, free: 2.598 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.007139, allocations: 12.03 kB / 345.9 MB, free: 2.586 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.119e-05/0.0072, allocations: 24.84 kB / 345.9 MB, free: 2.562 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.00737, allocations: 162.6 kB / 346.1 MB, free: 2.379 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.007383, allocations: 4.375 kB / 346.1 MB, free: 2.375 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.007399, allocations: 12.38 kB / 346.1 MB, free: 2.363 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.007595, allocations: 113.9 kB / 346.2 MB, free: 2.246 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.007608, allocations: 4 kB / 346.2 MB, free: 2.242 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.007621, allocations: 0 / 346.2 MB, free: 2.242 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.007628, allocations: 4 kB / 346.2 MB, free: 2.238 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.007815, allocations: 91.95 kB / 346.3 MB, free: 2.148 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008391/0.008654, allocations: 487.1 kB / 346.8 MB, free: 1.637 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.008779, allocations: 66.97 kB / 346.8 MB, free: 1.559 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.803e-05/0.008827, allocations: 35.8 kB / 346.9 MB, free: 1.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.098e-05/0.008908, allocations: 11.98 kB / 346.9 MB, free: 1.508 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.303e-05/0.008921, allocations: 37.33 kB / 346.9 MB, free: 1.461 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 9.21e-07/0.008922, allocations: 0 / 346.9 MB, free: 1.461 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002632/0.009185, allocations: 105.6 kB / 347 MB, free: 1.352 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.888e-05/0.009204, allocations: 55.34 kB / 347.1 MB, free: 1.285 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.009333, allocations: 245.4 kB / 347.3 MB, free: 1.027 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.009344, allocations: 25.7 kB / 347.3 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.242e-05/0.009396, allocations: 178.8 kB / 347.5 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.233e-05/0.009408, allocations: 19.89 kB / 347.5 MB, free: 0.793 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.856e-05/0.009457, allocations: 47.31 kB / 347.6 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.048e-05/0.009517, allocations: 0.4962 MB / 348.1 MB, free: 236 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.597e-05/0.009573, allocations: 23.98 kB / 348.1 MB, free: 212 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.8e-05/0.009631, allocations: 53.69 kB / 348.1 MB, free: 152 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.833e-05/0.00973, allocations: 59.67 kB / 348.2 MB, free: 88 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.009731, allocations: 7.938 kB / 348.2 MB, free: 80 kB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002179/0.009949, allocations: 113.6 kB / 348.3 MB, free: 15.96 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.009961, allocations: 4 kB / 348.3 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.009965, allocations: 0 / 348.3 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.00998, allocations: 4 kB / 348.3 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.01008, allocations: 19.92 kB / 348.4 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.01009, allocations: 4.031 kB / 348.4 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.845e-05/0.01015, allocations: 11.89 kB / 348.4 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.01016, allocations: 8 kB / 348.4 MB, free: 15.91 MB / 282.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.0001308/0.01029, allocations: 160.6 kB / 348.5 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.01034, allocations: 15.89 kB / 348.5 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002526/0.01059, allocations: 111.2 kB / 348.7 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.0106, allocations: 4 kB / 348.7 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.0106, allocations: 0 / 348.7 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.0106, allocations: 4 kB / 348.7 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005425/0.01114, allocations: 397 kB / 349.1 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01115, allocations: 3.938 kB / 349.1 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.577e-05/0.0112, allocations: 11.98 kB / 349.1 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.0112, allocations: 0 / 349.1 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.01121, allocations: 0 / 349.1 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.01122, allocations: 4 kB / 349.1 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01122, allocations: 0 / 349.1 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.01148, allocations: 239.5 kB / 349.3 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.01153, allocations: 19.88 kB / 349.3 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.01155, allocations: 4.031 kB / 349.3 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.352e-05/0.01163, allocations: 4 kB / 349.3 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.593e-05/0.01165, allocations: 11.86 kB / 349.3 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.01166, allocations: 4 kB / 349.3 MB, free: 14.85 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000168/0.01183, allocations: 183.7 kB / 349.5 MB, free: 14.67 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01183, allocations: 0 / 349.5 MB, free: 14.67 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003607/0.01219, allocations: 87.69 kB / 349.6 MB, free: 14.59 MB / 282.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.000346/0.01254, allocations: 190.9 kB / 349.8 MB, free: 14.39 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.01275, allocations: 67.61 kB / 349.9 MB, free: 14.32 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.01275, allocations: 4 kB / 349.9 MB, free: 14.31 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.571e-05/0.01282, allocations: 27.67 kB / 349.9 MB, free: 14.28 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.01312, allocations: 34.48 kB / 349.9 MB, free: 14.25 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005507/0.01367, allocations: 270.2 kB / 350.2 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.01378, allocations: 97.56 kB / 350.3 MB, free: 13.84 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.623e-05/0.01386, allocations: 25.2 kB / 350.3 MB, free: 13.81 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.85e-05/0.01391, allocations: 20.5 kB / 350.3 MB, free: 13.79 MB / 282.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01391, allocations: 4 kB / 350.3 MB, free: 13.79 MB / 282.7 MB Notification: Performance of Templates: time 0.007476/0.02138, allocations: 2.959 MB / 353.3 MB, free: 10.87 MB / 282.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: 4.634171860991046]