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.001039/0.001039, allocations: 92.22 kB / 19.65 MB, free: 276 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.001462/0.001462, allocations: 169 kB / 23.02 MB, free: 1.551 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.9596/0.9596, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.04557/0.04557, allocations: 8.726 MB / 268.7 MB, free: 4.531 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.472e-06/1.472e-06, allocations: 0 / 340.8 MB, free: 8.074 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.018e-05, allocations: 6.25 kB / 340.8 MB, free: 8.066 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.001873/0.001893, allocations: 1.994 MB / 342.8 MB, free: 6.055 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.003493, allocations: 1.834 MB / 344.7 MB, free: 4.215 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.003594, allocations: 4 kB / 344.7 MB, free: 4.211 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.003802, allocations: 35.7 kB / 344.7 MB, free: 4.176 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002299/0.004032, allocations: 95.25 kB / 344.8 MB, free: 4.082 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006009/0.004633, allocations: 358.5 kB / 345.2 MB, free: 3.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000179/0.004812, allocations: 182.9 kB / 345.3 MB, free: 3.551 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.004923, allocations: 21.8 kB / 345.4 MB, free: 3.531 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.305e-05/0.005006, allocations: 87.8 kB / 345.4 MB, free: 3.445 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.447e-05/0.00509, allocations: 59.81 kB / 345.5 MB, free: 3.387 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.005108, allocations: 12 kB / 345.5 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003597/0.005468, allocations: 231.5 kB / 345.7 MB, free: 3.148 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.087e-05/0.005489, allocations: 27.91 kB / 345.8 MB, free: 3.121 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.313e-05/0.005532, allocations: 51.86 kB / 345.8 MB, free: 3.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003093/0.005841, allocations: 299.1 kB / 346.1 MB, free: 2.777 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.005844, allocations: 0 / 346.1 MB, free: 2.777 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.005845, allocations: 0 / 346.1 MB, free: 2.777 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.005849, allocations: 0 / 346.1 MB, free: 2.777 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.0003604/0.00621, allocations: 499.5 kB / 346.6 MB, free: 2.254 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.006242, allocations: 12.03 kB / 346.6 MB, free: 2.242 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.031e-05/0.006293, allocations: 24.84 kB / 346.6 MB, free: 2.219 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.006443, allocations: 162.8 kB / 346.8 MB, free: 2.035 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.006452, allocations: 4.375 kB / 346.8 MB, free: 2.031 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.006469, allocations: 16.36 kB / 346.8 MB, free: 2.016 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.00662, allocations: 106.7 kB / 346.9 MB, free: 1.902 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.996e-06/0.006628, allocations: 0 / 346.9 MB, free: 1.902 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.006641, allocations: 4 kB / 346.9 MB, free: 1.898 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.006648, allocations: 4 kB / 346.9 MB, free: 1.895 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.006748, allocations: 67.81 kB / 347 MB, free: 1.828 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005816/0.00733, allocations: 451.2 kB / 347.4 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.98e-05/0.00742, allocations: 47.05 kB / 347.5 MB, free: 1.293 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.782e-05/0.007447, allocations: 27.73 kB / 347.5 MB, free: 1.262 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.14e-05/0.007509, allocations: 4 kB / 347.5 MB, free: 1.258 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/0.007525, allocations: 49.31 kB / 347.6 MB, free: 1.199 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.007526, allocations: 0 / 347.6 MB, free: 1.199 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001895/0.007716, allocations: 73.58 kB / 347.6 MB, free: 1.121 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.884e-05/0.007735, allocations: 51.41 kB / 347.7 MB, free: 1.059 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.007835, allocations: 229.3 kB / 347.9 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.767e-06/0.007844, allocations: 25.7 kB / 347.9 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.88e-05/0.007893, allocations: 170.9 kB / 348.1 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.012e-05/0.007903, allocations: 23.83 kB / 348.1 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.007939, allocations: 39.31 kB / 348.2 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.55e-05/0.007985, allocations: 0.4884 MB / 348.6 MB, free: 40 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.149e-05/0.008016, allocations: 19.98 kB / 348.7 MB, free: 20 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.781e-05/0.008074, allocations: 45.69 kB / 348.7 MB, free: 15.97 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.565e-05/0.00814, allocations: 43.61 kB / 348.8 MB, free: 15.92 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.008142, allocations: 0 / 348.8 MB, free: 15.92 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001185/0.00826, allocations: 89.77 kB / 348.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.008273, allocations: 4 kB / 348.8 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.008278, allocations: 0 / 348.8 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.008292, allocations: 4 kB / 348.8 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.135e-05/0.008373, allocations: 23.98 kB / 348.9 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.008381, allocations: 0 / 348.9 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.714e-05/0.008428, allocations: 11.98 kB / 348.9 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.008442, allocations: 7.984 kB / 348.9 MB, free: 15.78 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 7.349e-05/0.008516, allocations: 156.6 kB / 349 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.008542, allocations: 15.89 kB / 349.1 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.008705, allocations: 98.89 kB / 349.2 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.008708, allocations: 0 / 349.2 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.008711, allocations: 0 / 349.2 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.008714, allocations: 0 / 349.2 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/0.008999, allocations: 368.9 kB / 349.5 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.009, allocations: 0 / 349.5 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.264e-05/0.009033, allocations: 11.98 kB / 349.5 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.009036, allocations: 4 kB / 349.5 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.009045, allocations: 4 kB / 349.5 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.009046, allocations: 0 / 349.5 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.009047, allocations: 3.938 kB / 349.5 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.009171, allocations: 223.4 kB / 349.8 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.624e-05/0.009198, allocations: 19.94 kB / 349.8 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.009212, allocations: 4 kB / 349.8 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.628e-05/0.009249, allocations: 4.031 kB / 349.8 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.004e-05/0.009269, allocations: 12.02 kB / 349.8 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.009272, allocations: 0 / 349.8 MB, free: 14.79 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.27e-05/0.009345, allocations: 171.7 kB / 350 MB, free: 14.62 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009345, allocations: 0 / 350 MB, free: 14.62 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002464/0.009591, allocations: 87.69 kB / 350 MB, free: 14.53 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.0002425/0.009834, allocations: 194.8 kB / 350.2 MB, free: 14.33 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.009953, allocations: 47.73 kB / 350.3 MB, free: 14.28 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.009955, allocations: 0 / 350.3 MB, free: 14.28 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.578e-05/0.009981, allocations: 27.67 kB / 350.3 MB, free: 14.25 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.01019, allocations: 27.92 kB / 350.3 MB, free: 14.22 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000715/0.01091, allocations: 270.2 kB / 350.6 MB, free: 13.92 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.496e-05/0.01095, allocations: 67.3 kB / 350.7 MB, free: 13.84 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.681e-05/0.011, allocations: 20.95 kB / 350.7 MB, free: 13.81 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.575e-05/0.01104, allocations: 16.5 kB / 350.7 MB, free: 13.8 MB / 282.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01104, allocations: 4 kB / 350.7 MB, free: 13.79 MB / 282.7 MB Notification: Performance of Templates: time 0.004347/0.01539, allocations: 2.967 MB / 353.7 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: 2.916691878810525]