Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.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.001083/0.001083, allocations: 81.08 kB / 19.87 MB, free: 4.621 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.001609/0.001609, allocations: 169 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.939/0.939, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.04305/0.04305, allocations: 8.717 MB / 269 MB, free: 4.383 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.DirectionalValveTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest") translateModel(OpenHydraulics.DevelopmentTests.DirectionalValveTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 341.3 MB, free: 7.781 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.174e-05, allocations: 5.812 kB / 341.3 MB, free: 7.777 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.DirectionalValveTest): time 0.004422/0.004444, allocations: 5.963 MB / 347.3 MB, free: 1.781 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00355/0.007994, allocations: 3.576 MB / 350.8 MB, free: 14.2 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003362/0.00833, allocations: 23.81 kB / 350.9 MB, free: 14.17 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004671/0.008797, allocations: 289.8 kB / 351.2 MB, free: 13.89 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008636/0.00966, allocations: 0.7064 MB / 351.9 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.01091, allocations: 0.9076 MB / 352.8 MB, free: 12.27 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001278/0.01219, allocations: 1.98 MB / 354.7 MB, free: 10.28 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003587/0.01255, allocations: 308.5 kB / 355 MB, free: 9.953 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008964/0.01345, allocations: 0.9821 MB / 356 MB, free: 8.969 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005845/0.01403, allocations: 0.6506 MB / 356.7 MB, free: 8.316 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.01416, allocations: 124 kB / 356.8 MB, free: 8.195 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004879/0.01465, allocations: 407.6 kB / 357.2 MB, free: 7.797 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002073/0.01486, allocations: 370.6 kB / 357.6 MB, free: 7.434 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003516/0.01521, allocations: 0.4948 MB / 358.1 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.0163, allocations: 1.378 MB / 359.4 MB, free: 5.555 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.0163, allocations: 0 / 359.4 MB, free: 5.555 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.0163, allocations: 0 / 359.4 MB, free: 5.555 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.623e-05/0.01632, allocations: 0 / 359.4 MB, free: 5.555 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.001542/0.01786, allocations: 1.724 MB / 361.2 MB, free: 3.789 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.01789, allocations: 8.031 kB / 361.2 MB, free: 3.781 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003115/0.0182, allocations: 243.9 kB / 361.4 MB, free: 3.543 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007201/0.01892, allocations: 0.7925 MB / 362.2 MB, free: 2.719 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.005e-05/0.01897, allocations: 82.38 kB / 362.3 MB, free: 2.641 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-05/0.01906, allocations: 96.12 kB / 362.4 MB, free: 2.547 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007645/0.01983, allocations: 0.7194 MB / 363.1 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.01985, allocations: 3.984 kB / 363.1 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.036e-05/0.0199, allocations: 36 kB / 363.1 MB, free: 1.762 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.01991, allocations: 24 kB / 363.2 MB, free: 1.738 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004569/0.02037, allocations: 389.6 kB / 363.5 MB, free: 1.359 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002804/0.02317, allocations: 2.703 MB / 366.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004286/0.0236, allocations: 378.1 kB / 366.6 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/0.02382, allocations: 181.5 kB / 366.8 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.395e-05/0.02391, allocations: 32.62 kB / 366.8 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.02393, allocations: 45.98 kB / 366.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 2.755e-06/0.02393, allocations: 3.984 kB / 366.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=76): time 0.00167/0.0256, allocations: 1.214 MB / 368.1 MB, free: 12.71 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.02563, allocations: 64 kB / 368.1 MB, free: 12.63 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000554/0.02618, allocations: 0.8266 MB / 369 MB, free: 11.78 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.02622, allocations: 33.7 kB / 369 MB, free: 11.74 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002903/0.02651, allocations: 0.6239 MB / 369.6 MB, free: 11.11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.02664, allocations: 277.6 kB / 369.9 MB, free: 10.83 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.02681, allocations: 188.1 kB / 370.1 MB, free: 10.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.02693, allocations: 0.5199 MB / 370.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.02711, allocations: 159.4 kB / 370.8 MB, free: 9.953 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.02739, allocations: 430 kB / 371.2 MB, free: 9.418 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005906/0.02798, allocations: 0.6405 MB / 371.8 MB, free: 8.672 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.02798, allocations: 4 kB / 371.8 MB, free: 8.668 MB / 298.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0006716/0.02865, allocations: 0.6376 MB / 372.5 MB, free: 8.027 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.02867, allocations: 12.06 kB / 372.5 MB, free: 8.016 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.02867, allocations: 8 kB / 372.5 MB, free: 8.008 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.02868, allocations: 8 kB / 372.5 MB, free: 8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004667/0.02915, allocations: 223.6 kB / 372.7 MB, free: 7.781 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.02916, allocations: 11.98 kB / 372.7 MB, free: 7.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.02938, allocations: 31.94 kB / 372.7 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.443e-05/0.02942, allocations: 35.97 kB / 372.8 MB, free: 7.703 MB / 298.7 MB Warning: Assuming fixed start value for the following 3 variables: idealPump.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of rotation of pump\" type: Real valve4_3pos.j2.volumeClosed.port[2].p:VARIABLE(flow=false min = 0.0 start = valve4_3pos.P2A.p_init unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Pressure in the connection point\" type: Real [3] valve4_3pos.j3.volumeClosed.port[2].p:VARIABLE(flow=false min = 0.0 start = valve4_3pos.P2B.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: 24 * Number of states: 0 () * Number of discrete variables: 5 (valve4_3pos.A2T.data.zetaLaminarKnown,valve4_3pos.P2B.data.zetaLaminarKnown,valve4_3pos.B2T.data.zetaLaminarKnown,valve4_3pos.P2A.data.zetaLaminarKnown,restriction.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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.0002413/0.02966, allocations: 227.8 kB / 373 MB, free: 7.477 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.02979, allocations: 135.2 kB / 373.1 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007038/0.03049, allocations: 0.6177 MB / 373.8 MB, free: 6.719 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.0305, allocations: 16 kB / 373.8 MB, free: 6.703 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.0305, allocations: 0 / 373.8 MB, free: 6.703 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.0305, allocations: 7.922 kB / 373.8 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.03198, allocations: 1.469 MB / 375.2 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.03198, allocations: 0 / 375.2 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000401/0.03238, allocations: 187.8 kB / 375.4 MB, free: 4.969 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.03239, allocations: 4 kB / 375.4 MB, free: 4.965 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.539e-05/0.03242, allocations: 27.98 kB / 375.5 MB, free: 4.938 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.03243, allocations: 4 kB / 375.5 MB, free: 4.934 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.03243, allocations: 7.922 kB / 375.5 MB, free: 4.926 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008014/0.03323, allocations: 0.8842 MB / 376.4 MB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/0.03342, allocations: 179.2 kB / 376.5 MB, free: 3.812 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.884e-05/0.03349, allocations: 16 kB / 376.5 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.03368, allocations: 27.98 kB / 376.6 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.279e-05/0.03374, allocations: 52.55 kB / 376.6 MB, free: 3.719 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/0.03377, allocations: 27.98 kB / 376.7 MB, free: 3.691 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002969/0.03407, allocations: 483.8 kB / 377.1 MB, free: 3.207 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03407, allocations: 4 kB / 377.1 MB, free: 3.203 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005037/0.03457, allocations: 315.6 kB / 377.4 MB, free: 2.895 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (idealPump.phi,circuitTank.volumeOpen.m,valve4_3pos.j2.volumeClosed.port[2].p,valve4_3pos.j3.volumeClosed.port[2].p,valve4_3pos.dynamicResponse.y,valve4_3pos.dynamicResponse.yd) * 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 (86): * Single equations (assignments): 86 * 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.0007811/0.03535, allocations: 466.7 kB / 377.9 MB, free: 2.547 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004755/0.03583, allocations: 444.2 kB / 378.3 MB, free: 2.109 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.03583, allocations: 0 / 378.3 MB, free: 2.109 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.03606, allocations: 245.5 kB / 378.6 MB, free: 1.863 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006358/0.03669, allocations: 301.1 kB / 378.9 MB, free: 1.574 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.03878, allocations: 2.007 MB / 380.9 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001668/0.03895, allocations: 252.9 kB / 381.1 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003545/0.0393, allocations: 179.1 kB / 381.3 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004878/0.03979, allocations: 354 kB / 381.6 MB, free: 14.7 MB / 314.7 MB Notification: Performance of SimCode: time 4.31e-07/0.03979, allocations: 0 / 381.6 MB, free: 14.7 MB / 314.7 MB Notification: Performance of Templates: time 0.01931/0.0591, allocations: 17.82 MB / 399.4 MB, free: 13.19 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.sim & (cd run_cvode && ../OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.pipe 2>&1) [Timeout 240] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest_gbode.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest_gbode.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest_gbode.sim & (cd run_gbode && ../OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest_gbode.pipe 2>&1) [Timeout 240] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest_ida.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest_ida.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest_ida.sim & (cd run_ida && ../OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1159388558007777]