Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.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.0008733/0.0008733, allocations: 81.86 kB / 19.87 MB, free: 4.617 MB / 18.57 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.00156/0.00156, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.8981/0.8981, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.03468/0.03468, allocations: 8.716 MB / 269 MB, free: 4.375 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.CheckValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2") translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 341.3 MB, free: 7.766 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.203e-05/1.342e-05, allocations: 5.812 kB / 341.3 MB, free: 7.762 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest2): time 0.003012/0.003025, allocations: 4.323 MB / 345.6 MB, free: 3.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.00509, allocations: 2.458 MB / 348.1 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001944/0.005285, allocations: 15.88 kB / 348.1 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003381/0.005623, allocations: 170.7 kB / 348.3 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004579/0.006081, allocations: 437.1 kB / 348.7 MB, free: 340 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005606/0.006641, allocations: 0.4907 MB / 349.2 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006751/0.007317, allocations: 1.096 MB / 350.3 MB, free: 14.74 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002221/0.007539, allocations: 176.3 kB / 350.5 MB, free: 14.56 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004491/0.007988, allocations: 0.5456 MB / 351 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003454/0.008333, allocations: 367 kB / 351.4 MB, free: 13.66 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.669e-05/0.0084, allocations: 71.98 kB / 351.4 MB, free: 13.59 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003092/0.008709, allocations: 275.8 kB / 351.7 MB, free: 13.32 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.008836, allocations: 199.2 kB / 351.9 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.009023, allocations: 287.2 kB / 352.2 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006747/0.009698, allocations: 0.8019 MB / 353 MB, free: 12.04 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.009701, allocations: 4 kB / 353 MB, free: 12.03 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.009702, allocations: 0 / 353 MB, free: 12.03 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.009707, allocations: 0 / 353 MB, free: 12.03 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001017/0.01072, allocations: 1.114 MB / 354.1 MB, free: 10.88 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.807e-05/0.01075, allocations: 8.031 kB / 354.1 MB, free: 10.87 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002154/0.01097, allocations: 148.3 kB / 354.2 MB, free: 10.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004296/0.0114, allocations: 466.9 kB / 354.7 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.517e-05/0.01143, allocations: 41.69 kB / 354.7 MB, free: 10.2 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.688e-05/0.01149, allocations: 60.11 kB / 354.8 MB, free: 10.14 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003913/0.01188, allocations: 372.8 kB / 355.2 MB, free: 9.766 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.0119, allocations: 0 / 355.2 MB, free: 9.766 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.992e-05/0.01193, allocations: 20 kB / 355.2 MB, free: 9.746 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.01194, allocations: 12 kB / 355.2 MB, free: 9.734 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002568/0.01219, allocations: 206.2 kB / 355.4 MB, free: 9.531 MB / 282.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.01372, allocations: 1.39 MB / 356.8 MB, free: 8.094 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003678/0.01409, allocations: 243.8 kB / 357 MB, free: 7.844 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.852e-05/0.01419, allocations: 83.62 kB / 357.1 MB, free: 7.758 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.821e-05/0.01424, allocations: 23.98 kB / 357.1 MB, free: 7.734 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.01426, allocations: 37.33 kB / 357.2 MB, free: 7.688 MB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 1.352e-06/0.01426, allocations: 0 / 357.2 MB, free: 7.688 MB / 282.7 MB Notification: Performance of matching and sorting (n=43): time 0.0009488/0.01521, allocations: 0.6926 MB / 357.9 MB, free: 6.953 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.01523, allocations: 55.41 kB / 357.9 MB, free: 6.887 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00031/0.01554, allocations: 0.4945 MB / 358.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.01557, allocations: 37.7 kB / 358.4 MB, free: 6.332 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.01574, allocations: 399.5 kB / 358.8 MB, free: 5.934 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.604e-05/0.01582, allocations: 158.6 kB / 359 MB, free: 5.777 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.01592, allocations: 103.8 kB / 359.1 MB, free: 5.668 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.01607, allocations: 0.5468 MB / 359.6 MB, free: 5.109 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.17e-05/0.01615, allocations: 52.94 kB / 359.7 MB, free: 5.059 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.01629, allocations: 193.5 kB / 359.9 MB, free: 4.82 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003119/0.0166, allocations: 339.6 kB / 360.2 MB, free: 4.441 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.0166, allocations: 4 kB / 360.2 MB, free: 4.438 MB / 282.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003563/0.01696, allocations: 348.8 kB / 360.6 MB, free: 4.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.01697, allocations: 6.656 kB / 360.6 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.01698, allocations: 4 kB / 360.6 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.01699, allocations: 7.938 kB / 360.6 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.01724, allocations: 119.8 kB / 360.7 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.01725, allocations: 11.98 kB / 360.7 MB, free: 3.945 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.01735, allocations: 15.98 kB / 360.7 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.01738, allocations: 15.94 kB / 360.7 MB, free: 3.914 MB / 282.7 MB Warning: Assuming fixed start value for the following 1 variables: j1.volumeClosed.port[2].p:VARIABLE(flow=false min = 0.0 start = idealPump.p_init unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Pressure in the connection point\" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 2 (checkValve.variableRestriction.data.zetaLaminarKnown,checkValve1.variableRestriction.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.0001723/0.01755, allocations: 203.2 kB / 360.9 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.896e-05/0.01762, allocations: 67.62 kB / 361 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004141/0.01804, allocations: 359.5 kB / 361.3 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.01804, allocations: 7.938 kB / 361.4 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.01804, allocations: 4 kB / 361.4 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.01805, allocations: 3.984 kB / 361.4 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007994/0.01885, allocations: 0.793 MB / 362.2 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01885, allocations: 3.938 kB / 362.2 MB, free: 2.438 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002464/0.01909, allocations: 107.9 kB / 362.3 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.0191, allocations: 4 kB / 362.3 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.01912, allocations: 23.86 kB / 362.3 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.01912, allocations: 4 kB / 362.3 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01912, allocations: 0 / 362.3 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004565/0.01958, allocations: 0.5136 MB / 362.8 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.01968, allocations: 91.58 kB / 362.9 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.424e-05/0.01973, allocations: 23.88 kB / 362.9 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.01983, allocations: 12 kB / 362.9 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.01988, allocations: 36.38 kB / 363 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.0199, allocations: 19.98 kB / 363 MB, free: 1.59 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001745/0.02008, allocations: 318.7 kB / 363.3 MB, free: 1.281 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02008, allocations: 0 / 363.3 MB, free: 1.281 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003416/0.02042, allocations: 187.7 kB / 363.5 MB, free: 1.098 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (circuitTank.volumeOpen.m,speed.phi,speed.w,j1.volumeClosed.port[2].p) * 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 (49): * Single equations (assignments): 49 * 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.0007567/0.02118, allocations: 414.9 kB / 363.9 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002694/0.02145, allocations: 232 kB / 364.1 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.02145, allocations: 0 / 364.1 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.02157, allocations: 132.2 kB / 364.2 MB, free: 448 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.02198, allocations: 162.2 kB / 364.4 MB, free: 288 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.02341, allocations: 1.225 MB / 365.6 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.393e-05/0.0235, allocations: 161.9 kB / 365.8 MB, free: 14.85 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001944/0.0237, allocations: 92.62 kB / 365.9 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002799/0.02398, allocations: 230.1 kB / 366.1 MB, free: 14.53 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02398, allocations: 0 / 366.1 MB, free: 14.53 MB / 298.7 MB Notification: Performance of Templates: time 0.01114/0.03512, allocations: 9.566 MB / 375.7 MB, free: 5.156 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.sim & (cd run_cvode && ../OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe 2>&1) [Timeout 240] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2_gbode.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2_gbode.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2_gbode.sim & (cd run_gbode && ../OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2_gbode.pipe 2>&1) [Timeout 240] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2_ida.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2_ida.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2_ida.sim & (cd run_ida && ../OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7316589448601007]