Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.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.001225/0.001225, allocations: 81.17 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.001376/0.001376, allocations: 169 kB / 23.27 MB, free: 1.223 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.8853/0.8853, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.04311/0.04311, allocations: 8.709 MB / 269 MB, free: 4.391 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.ThrottleValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2") translateModel(OpenHydraulics.DevelopmentTests.ThrottleValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 341.3 MB, free: 7.789 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.053e-05/1.161e-05, allocations: 5.812 kB / 341.3 MB, free: 7.785 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.002234/0.002246, allocations: 2.852 MB / 344.2 MB, free: 4.914 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.004193, allocations: 2.441 MB / 346.6 MB, free: 2.465 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.004324, allocations: 0 / 346.6 MB, free: 2.465 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002828/0.004607, allocations: 107.2 kB / 346.7 MB, free: 2.359 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003727/0.00498, allocations: 238.4 kB / 346.9 MB, free: 2.125 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006239/0.005604, allocations: 490.1 kB / 347.4 MB, free: 1.645 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002513/0.005855, allocations: 413.9 kB / 347.8 MB, free: 1.238 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.245e-05/0.005947, allocations: 36.91 kB / 347.8 MB, free: 1.203 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.006134, allocations: 207.4 kB / 348.1 MB, free: 1 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.006258, allocations: 119.6 kB / 348.2 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.006281, allocations: 20 kB / 348.2 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002915/0.006572, allocations: 295.5 kB / 348.5 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.626e-05/0.006628, allocations: 59.7 kB / 348.5 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.741e-05/0.006686, allocations: 103.7 kB / 348.6 MB, free: 424 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004132/0.007099, allocations: 494.3 kB / 349.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.007101, allocations: 0 / 349.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.007101, allocations: 0 / 349.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.007105, allocations: 0 / 349.1 MB, free: 15.93 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005711/0.007676, allocations: 0.6782 MB / 349.8 MB, free: 15.21 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.729e-05/0.007704, allocations: 12.03 kB / 349.8 MB, free: 15.2 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.007832, allocations: 68.7 kB / 349.9 MB, free: 15.14 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.008064, allocations: 252.4 kB / 350.1 MB, free: 14.86 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.008077, allocations: 12.88 kB / 350.1 MB, free: 14.85 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.008098, allocations: 28.12 kB / 350.2 MB, free: 14.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.008291, allocations: 156.8 kB / 350.3 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.008299, allocations: 0 / 350.3 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.008315, allocations: 11.98 kB / 350.3 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.008321, allocations: 4 kB / 350.3 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.008447, allocations: 117.3 kB / 350.4 MB, free: 14.53 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007124/0.00916, allocations: 0.6072 MB / 351.1 MB, free: 13.89 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.009402, allocations: 111.2 kB / 351.2 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.239e-05/0.009454, allocations: 47.78 kB / 351.2 MB, free: 13.72 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.07e-05/0.009515, allocations: 15.98 kB / 351.2 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.009536, allocations: 45.33 kB / 351.3 MB, free: 13.65 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 1.122e-06/0.009537, allocations: 0 / 351.3 MB, free: 13.65 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.01176/0.02129, allocations: 2.391 MB / 353.7 MB, free: 11.22 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.02132, allocations: 55.41 kB / 353.7 MB, free: 11.15 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.0215, allocations: 334.2 kB / 354 MB, free: 10.81 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.02154, allocations: 33.7 kB / 354.1 MB, free: 10.77 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.516e-05/0.02163, allocations: 235.4 kB / 354.3 MB, free: 10.54 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.343e-05/0.02171, allocations: 111 kB / 354.4 MB, free: 10.43 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.02185, allocations: 87.3 kB / 354.5 MB, free: 10.34 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.02197, allocations: 0.5233 MB / 355 MB, free: 9.801 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.02215, allocations: 163.9 kB / 355.2 MB, free: 9.641 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/0.02238, allocations: 248.8 kB / 355.4 MB, free: 9.379 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004658/0.02284, allocations: 364.2 kB / 355.8 MB, free: 9.012 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.02284, allocations: 4 kB / 355.8 MB, free: 9.008 MB / 282.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008553/0.0237, allocations: 0.555 MB / 356.3 MB, free: 8.438 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.02371, allocations: 7.984 kB / 356.3 MB, free: 8.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.02371, allocations: 0 / 356.3 MB, free: 8.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000894/0.02461, allocations: 0.7329 MB / 357.1 MB, free: 7.688 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.02474, allocations: 63.83 kB / 357.1 MB, free: 7.625 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/0.02704, allocations: 1.978 MB / 359.1 MB, free: 5.582 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/0.02731, allocations: 44 kB / 359.2 MB, free: 5.539 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.802e-05/0.02737, allocations: 23.97 kB / 359.2 MB, free: 5.516 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (throttleValve.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000164/0.02753, allocations: 172.5 kB / 359.4 MB, free: 5.336 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.425e-05/0.02763, allocations: 51.77 kB / 359.4 MB, free: 5.285 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.02865, allocations: 0.562 MB / 360 MB, free: 4.703 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.02866, allocations: 8 kB / 360 MB, free: 4.695 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.02866, allocations: 3.938 kB / 360 MB, free: 4.691 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.748e-06/0.02866, allocations: 0 / 360 MB, free: 4.691 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/0.03093, allocations: 1.331 MB / 361.3 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.03093, allocations: 0 / 361.3 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.03105, allocations: 43.97 kB / 361.4 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007555/0.0318, allocations: 0.6275 MB / 362 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.03184, allocations: 19.92 kB / 362 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001341/0.03318, allocations: 1.85 MB / 363.8 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.03318, allocations: 7.938 kB / 363.9 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007576/0.03394, allocations: 0.5578 MB / 364.4 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.03406, allocations: 91.67 kB / 364.5 MB, free: 4 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.941e-05/0.03412, allocations: 8.078 kB / 364.5 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002764/0.0344, allocations: 55.89 kB / 364.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.03444, allocations: 15.97 kB / 364.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.216e-05/0.03449, allocations: 19.97 kB / 364.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001116/0.0346, allocations: 226.8 kB / 364.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0346, allocations: 0 / 364.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004962/0.0351, allocations: 239.5 kB / 365.1 MB, free: 15.45 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001123/0.03622, allocations: 0.5394 MB / 365.6 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001834/0.03805, allocations: 0.5695 MB / 366.2 MB, free: 14.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.03806, allocations: 0 / 366.2 MB, free: 14.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000643/0.0387, allocations: 272 kB / 366.4 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.03909, allocations: 101.6 kB / 366.5 MB, free: 14.1 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009727/0.04006, allocations: 0.6403 MB / 367.2 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.468e-05/0.04012, allocations: 105.2 kB / 367.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.04022, allocations: 42.94 kB / 367.3 MB, free: 13.26 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.04037, allocations: 146.1 kB / 367.5 MB, free: 13.11 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.04037, allocations: 0 / 367.5 MB, free: 13.11 MB / 298.7 MB Notification: Performance of Templates: time 0.01582/0.05619, allocations: 16.6 MB / 384.1 MB, free: 12.61 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.sim & (cd run_cvode && ../OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe 2>&1) [Timeout 240] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2_gbode.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2_gbode.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2_gbode.sim & (cd run_gbode && ../OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2_gbode.pipe 2>&1) [Timeout 240] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2_ida.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2_ida.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2_ida.sim & (cd run_ida && ../OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9508833112195134]