Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.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.0006508/0.0006508, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000909/0.00156, allocations: 440 kB / 10.41 MB, free: 284 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.0006687/0.0006687, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009492/0.001618, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9646/0.9646, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09058/1.055, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.05128/0.05128, allocations: 8.733 MB / 252.9 MB, free: 6.301 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005283/0.05656, allocations: 3.009 MB / 255.9 MB, free: 3.289 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.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") translateModel(OpenHydraulics.DevelopmentTests.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 257.2 MB, free: 1.977 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/2.03e-05, allocations: 2.312 kB / 257.2 MB, free: 1.973 MB / 250.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.003437/0.003457, allocations: 2.208 MB / 259.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.004546, allocations: 0.6115 MB / 260 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.004654, allocations: 4 kB / 260 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.519e-05/0.00471, allocations: 15.8 kB / 260 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.004973, allocations: 79.39 kB / 260.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000109/0.005082, allocations: 23.97 kB / 260.1 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002385/0.005321, allocations: 163 kB / 260.3 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.005425, allocations: 29.95 kB / 260.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002373/0.005662, allocations: 95.72 kB / 260.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.005772, allocations: 43.89 kB / 260.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.005794, allocations: 8 kB / 260.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.737e-05/0.005882, allocations: 19.94 kB / 260.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.64e-05/0.005908, allocations: 15.94 kB / 260.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.813e-05/0.005956, allocations: 31.94 kB / 260.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.006163, allocations: 87.69 kB / 260.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.591e-05/0.006179, allocations: 4 kB / 260.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.00618, allocations: 4 kB / 260.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.932e-05/0.0062, allocations: 0 / 260.6 MB, free: 14.52 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000546/0.006746, allocations: 369.6 kB / 261 MB, free: 14.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.00678, allocations: 12.03 kB / 261 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.711e-05/0.006827, allocations: 16.92 kB / 261 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.007, allocations: 129.6 kB / 261.1 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.007013, allocations: 12.36 kB / 261.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.007028, allocations: 8.375 kB / 261.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.007198, allocations: 116.6 kB / 261.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.007206, allocations: 7.875 kB / 261.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-06/0.007216, allocations: 4 kB / 261.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.007221, allocations: 4 kB / 261.3 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.322e-05/0.007274, allocations: 49.67 kB / 261.3 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/0.007694, allocations: 247.9 kB / 261.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.007796, allocations: 76.25 kB / 261.7 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.535e-05/0.007831, allocations: 46.55 kB / 261.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.007846, allocations: 4 kB / 261.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.007871, allocations: 42.69 kB / 261.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.007873, allocations: 0 / 261.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005202/0.008393, allocations: 361.4 kB / 262.1 MB, free: 12.87 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.008418, allocations: 55.41 kB / 262.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.833e-05/0.008486, allocations: 133.8 kB / 262.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.008498, allocations: 33.7 kB / 262.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.33e-05/0.008531, allocations: 108.1 kB / 262.4 MB, free: 12.51 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.008556, allocations: 35.72 kB / 262.5 MB, free: 12.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.008591, allocations: 25.7 kB / 262.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.368e-05/0.008665, allocations: 322.8 kB / 262.8 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.153e-05/0.008686, allocations: 33.69 kB / 262.8 MB, free: 12.08 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.196e-05/0.008708, allocations: 37.64 kB / 262.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.48e-05/0.008763, allocations: 88.17 kB / 263 MB, free: 11.94 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.008764, allocations: 0 / 263 MB, free: 11.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 8.068e-05/0.008845, allocations: 117 kB / 263.1 MB, free: 11.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/0.008876, allocations: 33.7 kB / 263.1 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.00888, allocations: 4 kB / 263.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/0.008889, allocations: 0 / 263.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.477e-05/0.008974, allocations: 19.97 kB / 263.1 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.008976, allocations: 0 / 263.1 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.977e-05/0.009006, allocations: 11.95 kB / 263.1 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.009012, allocations: 4 kB / 263.1 MB, free: 11.73 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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.15e-05/0.009084, allocations: 143.5 kB / 263.3 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.009102, allocations: 12 kB / 263.3 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.009242, allocations: 146.4 kB / 263.4 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.009244, allocations: 4 kB / 263.4 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.009246, allocations: 0 / 263.4 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.009249, allocations: 0 / 263.4 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.009362, allocations: 113.7 kB / 263.5 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.009364, allocations: 0 / 263.5 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.095e-05/0.009425, allocations: 23.98 kB / 263.6 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.981e-05/0.009454, allocations: 15.95 kB / 263.6 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.009456, allocations: 0 / 263.6 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.009462, allocations: 0 / 263.6 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.009464, allocations: 11.92 kB / 263.6 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.009465, allocations: 0 / 263.6 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.009586, allocations: 226.8 kB / 263.8 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.009598, allocations: 3.984 kB / 263.8 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.694e-05/0.009645, allocations: 12 kB / 263.8 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.009678, allocations: 11.97 kB / 263.8 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.009682, allocations: 0 / 263.8 MB, free: 10.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.454e-05/0.009707, allocations: 31.58 kB / 263.9 MB, free: 10.9 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009707, allocations: 0 / 263.9 MB, free: 10.9 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001444/0.009851, allocations: 39.89 kB / 263.9 MB, free: 10.86 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001163/0.009967, allocations: 96.33 kB / 264 MB, free: 10.76 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001228/0.01009, allocations: 155.5 kB / 264.2 MB, free: 10.58 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.0101, allocations: 8 kB / 264.2 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.424e-05/0.01016, allocations: 114.2 kB / 264.3 MB, free: 10.44 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.0104, allocations: 283.5 kB / 264.6 MB, free: 10.11 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/0.01273, allocations: 302 kB / 264.9 MB, free: 9.781 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.626e-05/0.01277, allocations: 63.34 kB / 264.9 MB, free: 9.699 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.075e-05/0.01282, allocations: 21.19 kB / 264.9 MB, free: 9.676 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.737e-05/0.01291, allocations: 79.36 kB / 265 MB, free: 9.598 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01291, allocations: 0 / 265 MB, free: 9.598 MB / 266.7 MB Notification: Performance of Templates: time 0.003605/0.01651, allocations: 2.16 MB / 267.2 MB, free: 7.492 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5682055363431573]