Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.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.0008945/0.0008945, 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.0009426/0.0009426, allocations: 169 kB / 23.28 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.8801/0.8801, allocations: 177.1 MB / 203.7 MB, free: 5.484 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.03891/0.03891, allocations: 8.721 MB / 269 MB, free: 4.359 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.ThrottleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest") translateModel(OpenHydraulics.DevelopmentTests.ThrottleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 341.3 MB, free: 7.77 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.859e-06/1.127e-05, allocations: 6.25 kB / 341.3 MB, free: 7.762 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.001701/0.001712, allocations: 1.979 MB / 343.3 MB, free: 5.766 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.002987, allocations: 1.806 MB / 345.1 MB, free: 3.953 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.215e-05/0.003059, allocations: 7.938 kB / 345.1 MB, free: 3.945 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.003206, allocations: 39.75 kB / 345.1 MB, free: 3.906 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.003362, allocations: 99.19 kB / 345.2 MB, free: 3.809 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003631/0.003725, allocations: 350.5 kB / 345.6 MB, free: 3.465 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.003833, allocations: 182.9 kB / 345.8 MB, free: 3.285 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.917e-05/0.003902, allocations: 21.8 kB / 345.8 MB, free: 3.266 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.55e-05/0.003967, allocations: 87.8 kB / 345.9 MB, free: 3.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.287e-05/0.00403, allocations: 47.83 kB / 345.9 MB, free: 3.133 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.004044, allocations: 12 kB / 345.9 MB, free: 3.121 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002467/0.004291, allocations: 239.5 kB / 346.2 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.004306, allocations: 23.92 kB / 346.2 MB, free: 2.863 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.01e-05/0.004336, allocations: 51.84 kB / 346.2 MB, free: 2.812 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.004576, allocations: 303.1 kB / 346.5 MB, free: 2.516 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.383e-06/0.004577, allocations: 0 / 346.5 MB, free: 2.516 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.004578, allocations: 0 / 346.5 MB, free: 2.516 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.055e-06/0.004581, allocations: 0 / 346.5 MB, free: 2.516 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0002767/0.004857, allocations: 0.4916 MB / 347 MB, free: 1.988 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.425e-05/0.004881, allocations: 8.031 kB / 347 MB, free: 1.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/0.004917, allocations: 24.84 kB / 347 MB, free: 1.957 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.005025, allocations: 161.2 kB / 347.2 MB, free: 1.773 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.005034, allocations: 4.375 kB / 347.2 MB, free: 1.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.005044, allocations: 12.38 kB / 347.2 MB, free: 1.758 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.005148, allocations: 109.1 kB / 347.3 MB, free: 1.645 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.005155, allocations: 3.938 kB / 347.3 MB, free: 1.641 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.005163, allocations: 8 kB / 347.3 MB, free: 1.633 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.005167, allocations: 0 / 347.3 MB, free: 1.633 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.085e-05/0.005228, allocations: 55.81 kB / 347.4 MB, free: 1.578 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004291/0.005657, allocations: 419.9 kB / 347.8 MB, free: 1.141 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.685e-05/0.005714, allocations: 58.89 kB / 347.9 MB, free: 1.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.569e-05/0.00573, allocations: 15.69 kB / 347.9 MB, free: 1.051 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.175e-05/0.005771, allocations: 11.98 kB / 347.9 MB, free: 1.039 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.885e-06/0.005779, allocations: 37.52 kB / 347.9 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.00578, allocations: 0 / 347.9 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001204/0.005901, allocations: 65.58 kB / 348 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.516e-05/0.005916, allocations: 55.41 kB / 348 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.429e-05/0.00598, allocations: 233.2 kB / 348.3 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.831e-06/0.005986, allocations: 29.7 kB / 348.3 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/0.006021, allocations: 174.9 kB / 348.5 MB, free: 404 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.665e-06/0.006029, allocations: 19.84 kB / 348.5 MB, free: 384 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.00606, allocations: 39.3 kB / 348.5 MB, free: 336 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.059e-05/0.006131, allocations: 0.4923 MB / 349 MB, free: 15.82 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.735e-05/0.006148, allocations: 8 kB / 349 MB, free: 15.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.883e-05/0.006177, allocations: 41.69 kB / 349.1 MB, free: 15.77 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.207e-05/0.006219, allocations: 31.67 kB / 349.1 MB, free: 15.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.00622, allocations: 0 / 349.1 MB, free: 15.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.299e-05/0.006313, allocations: 89.56 kB / 349.2 MB, free: 15.64 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.006324, allocations: 14.94 kB / 349.2 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.006327, allocations: 0 / 349.2 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.282e-06/0.006333, allocations: 0 / 349.2 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.224e-05/0.006395, allocations: 23.92 kB / 349.2 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.864e-06/0.006397, allocations: 0 / 349.2 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.845e-05/0.006426, allocations: 11.95 kB / 349.2 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.006433, allocations: 0 / 349.2 MB, free: 15.59 MB / 282.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 (10): * Single equations (assignments): 10 * 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.873e-05/0.006492, allocations: 156.6 kB / 349.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/0.006514, allocations: 11.95 kB / 349.4 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.006626, allocations: 98.89 kB / 349.5 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.006628, allocations: 4 kB / 349.5 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.006629, allocations: 0 / 349.5 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.006631, allocations: 0 / 349.5 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.006855, allocations: 333.6 kB / 349.8 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.006856, allocations: 320 / 349.8 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.393e-05/0.00688, allocations: 15.94 kB / 349.8 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.006881, allocations: 7.938 kB / 349.8 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-06/0.006886, allocations: 0 / 349.8 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.006887, allocations: 7.969 kB / 349.9 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.006888, allocations: 0 / 349.9 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.517e-05/0.006983, allocations: 223.5 kB / 350.1 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.323e-05/0.007006, allocations: 15.89 kB / 350.1 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.00702, allocations: 7.984 kB / 350.1 MB, free: 14.65 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.59e-05/0.007056, allocations: 0 / 350.1 MB, free: 14.65 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.014e-05/0.007066, allocations: 4 kB / 350.1 MB, free: 14.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.00707, allocations: 0 / 350.1 MB, free: 14.65 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.8e-05/0.007128, allocations: 175.5 kB / 350.3 MB, free: 14.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007128, allocations: 0 / 350.3 MB, free: 14.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002153/0.007343, allocations: 83.7 kB / 350.4 MB, free: 14.39 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.0001902/0.007533, allocations: 198.8 kB / 350.5 MB, free: 14.19 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.031e-05/0.007614, allocations: 39.67 kB / 350.6 MB, free: 14.14 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.007615, allocations: 0 / 350.6 MB, free: 14.14 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.053e-05/0.007635, allocations: 23.61 kB / 350.6 MB, free: 14.12 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.007816, allocations: 28.05 kB / 350.6 MB, free: 14.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004934/0.00831, allocations: 270.1 kB / 350.9 MB, free: 13.79 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.195e-05/0.008341, allocations: 71.3 kB / 351 MB, free: 13.7 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.251e-05/0.008384, allocations: 25.28 kB / 351 MB, free: 13.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.041e-05/0.008464, allocations: 106.2 kB / 351.1 MB, free: 13.57 MB / 282.7 MB Notification: Performance of SimCode: time 3.51e-07/0.008465, allocations: 0 / 351.1 MB, free: 13.57 MB / 282.7 MB Notification: Performance of Templates: time 0.004147/0.01261, allocations: 3.373 MB / 354.5 MB, free: 10.24 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.sim & (cd run_cvode && ../OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe 2>&1) [Timeout 240] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest_gbode.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest_gbode.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest_gbode.sim & (cd run_gbode && ../OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest_gbode.pipe 2>&1) [Timeout 240] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest_ida.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest_ida.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest_ida.sim & (cd run_ida && ../OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.397110946942121]