Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.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.0007211/0.0007211, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008908/0.001612, 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.0009489/0.0009489, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009435/0.001892, 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.8845/0.8845, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07924/0.9637, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.03329/0.03329, allocations: 8.721 MB / 252.7 MB, free: 6.395 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004497/0.03779, allocations: 3.008 MB / 255.7 MB, free: 3.387 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.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") translateModel(OpenHydraulics.DevelopmentTests.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 257 MB, free: 2.109 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.398e-05/1.525e-05, allocations: 2.312 kB / 257 MB, free: 2.105 MB / 250.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.00254/0.002555, allocations: 2.702 MB / 259.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.004489, allocations: 2.016 MB / 261.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.004608, allocations: 11.94 kB / 261.7 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.004733, allocations: 51.56 kB / 261.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.004889, allocations: 119 kB / 261.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005424/0.005432, allocations: 374.3 kB / 262.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002611/0.005693, allocations: 330.1 kB / 262.6 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.005824, allocations: 68.66 kB / 262.6 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002327/0.006056, allocations: 211.9 kB / 262.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.006173, allocations: 91.72 kB / 262.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.006195, allocations: 20 kB / 262.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002568/0.006452, allocations: 215.8 kB / 263.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.649e-05/0.006478, allocations: 39.81 kB / 263.2 MB, free: 11.85 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.134e-05/0.006539, allocations: 75.88 kB / 263.3 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003191/0.006858, allocations: 303 kB / 263.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.203e-05/0.006871, allocations: 0 / 263.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.006871, allocations: 0 / 263.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.006884, allocations: 4 kB / 263.6 MB, free: 11.48 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0005245/0.007408, allocations: 0.53 MB / 264.1 MB, free: 10.92 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.552e-05/0.007434, allocations: 8.031 kB / 264.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.007599, allocations: 134 kB / 264.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.007772, allocations: 182.4 kB / 264.4 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.007785, allocations: 20.34 kB / 264.4 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.007801, allocations: 16.38 kB / 264.5 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.008007, allocations: 175.9 kB / 264.6 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.008015, allocations: 0 / 264.6 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.008026, allocations: 8 kB / 264.6 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.008032, allocations: 8 kB / 264.6 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.558e-05/0.008118, allocations: 60.08 kB / 264.7 MB, free: 10.26 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006087/0.008726, allocations: 0.5891 MB / 265.3 MB, free: 9.637 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.008896, allocations: 62.45 kB / 265.3 MB, free: 9.566 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.406e-05/0.00892, allocations: 16.86 kB / 265.4 MB, free: 9.547 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.721e-05/0.008958, allocations: 11.98 kB / 265.4 MB, free: 9.535 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.008976, allocations: 34.56 kB / 265.4 MB, free: 9.492 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.008977, allocations: 0 / 265.4 MB, free: 9.492 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002812/0.009258, allocations: 133.7 kB / 265.5 MB, free: 9.355 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.009289, allocations: 55.34 kB / 265.6 MB, free: 9.289 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.00941, allocations: 228.9 kB / 265.8 MB, free: 9.055 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.009423, allocations: 25.7 kB / 265.8 MB, free: 9.023 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.243e-05/0.009485, allocations: 164 kB / 266 MB, free: 8.859 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.009501, allocations: 27.78 kB / 266 MB, free: 8.832 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.009541, allocations: 33.64 kB / 266.1 MB, free: 8.793 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.124e-05/0.009622, allocations: 330.8 kB / 266.4 MB, free: 8.461 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.108e-05/0.009643, allocations: 15.98 kB / 266.4 MB, free: 8.445 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.788e-05/0.009681, allocations: 51.78 kB / 266.5 MB, free: 8.383 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.543e-05/0.009747, allocations: 68.12 kB / 266.5 MB, free: 8.301 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.00975, allocations: 8 kB / 266.5 MB, free: 8.293 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 9.572e-05/0.009845, allocations: 97.47 kB / 266.6 MB, free: 8.191 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.009857, allocations: 8 kB / 266.6 MB, free: 8.184 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.009862, allocations: 0 / 266.6 MB, free: 8.184 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.009872, allocations: 4 kB / 266.6 MB, free: 8.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.205e-05/0.009964, allocations: 35.91 kB / 266.7 MB, free: 8.145 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.00997, allocations: 7.938 kB / 266.7 MB, free: 8.137 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.47e-05/0.01001, allocations: 16.02 kB / 266.7 MB, free: 8.121 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.01002, allocations: 11.98 kB / 266.7 MB, free: 8.109 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (15): * Single equations (assignments): 15 * 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.645e-05/0.01008, allocations: 113.8 kB / 266.8 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.849e-05/0.0101, allocations: 11.98 kB / 266.8 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.0102, allocations: 83.67 kB / 266.9 MB, free: 7.891 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.0102, allocations: 0 / 266.9 MB, free: 7.891 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.0102, allocations: 3.938 kB / 266.9 MB, free: 7.887 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.01021, allocations: 0 / 266.9 MB, free: 7.887 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.01032, allocations: 125.8 kB / 267 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.01032, allocations: 0 / 267 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.748e-05/0.01036, allocations: 27.97 kB / 267.1 MB, free: 7.719 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.622e-05/0.0104, allocations: 31.72 kB / 267.1 MB, free: 7.688 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.0104, allocations: 4 kB / 267.1 MB, free: 7.684 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-06/0.01041, allocations: 0 / 267.1 MB, free: 7.684 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.01041, allocations: 3.984 kB / 267.1 MB, free: 7.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01041, allocations: 0 / 267.1 MB, free: 7.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.164e-05/0.0105, allocations: 163.4 kB / 267.3 MB, free: 7.504 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.01052, allocations: 8 kB / 267.3 MB, free: 7.496 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.373e-05/0.01056, allocations: 3.984 kB / 267.3 MB, free: 7.492 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.357e-05/0.01059, allocations: 4 kB / 267.3 MB, free: 7.488 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.01059, allocations: 7.984 kB / 267.3 MB, free: 7.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.663e-05/0.01064, allocations: 74.78 kB / 267.4 MB, free: 7.402 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01064, allocations: 0 / 267.4 MB, free: 7.402 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002171/0.01085, allocations: 99.62 kB / 267.5 MB, free: 7.305 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 (8): * Single equations (assignments): 8 * 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.0001863/0.01104, allocations: 156.2 kB / 267.6 MB, free: 7.145 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.918e-05/0.01113, allocations: 52.77 kB / 267.7 MB, free: 7.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.01114, allocations: 4 kB / 267.7 MB, free: 7.086 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.551e-05/0.01116, allocations: 24.8 kB / 267.7 MB, free: 7.059 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.01137, allocations: 64.39 kB / 267.7 MB, free: 6.996 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003983/0.01535, allocations: 425.2 kB / 268.2 MB, free: 6.551 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.737e-05/0.01539, allocations: 71.98 kB / 268.2 MB, free: 6.461 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.952e-05/0.01545, allocations: 29.78 kB / 268.3 MB, free: 6.434 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.605e-05/0.01555, allocations: 95.27 kB / 268.4 MB, free: 6.34 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01555, allocations: 0 / 268.4 MB, free: 6.34 MB / 266.7 MB Notification: Performance of Templates: time 0.005065/0.02061, allocations: 3.863 MB / 272.2 MB, free: 2.555 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.3983630817383528]