Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.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.001064/0.001064, 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.001164/0.001164, 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.9633/0.9633, allocations: 177.2 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.03482/0.03482, allocations: 8.715 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.TankTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest") translateModel(OpenHydraulics.DevelopmentTests.TankTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 3.938 kB / 341.3 MB, free: 7.773 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.857e-06/1.009e-05, allocations: 6.141 kB / 341.3 MB, free: 7.77 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.001578/0.001588, allocations: 1.987 MB / 343.3 MB, free: 5.762 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000558/0.002146, allocations: 0.5882 MB / 343.9 MB, free: 5.172 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.739e-05/0.002214, allocations: 0 / 343.9 MB, free: 5.172 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.674e-05/0.002251, allocations: 11.86 kB / 343.9 MB, free: 5.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.002467, allocations: 75.41 kB / 344 MB, free: 5.086 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.732e-05/0.002535, allocations: 23.97 kB / 344 MB, free: 5.062 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.002655, allocations: 151 kB / 344.1 MB, free: 4.914 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.183e-05/0.002727, allocations: 15.98 kB / 344.2 MB, free: 4.898 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.002837, allocations: 75.86 kB / 344.2 MB, free: 4.824 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.183e-05/0.002908, allocations: 39.84 kB / 344.3 MB, free: 4.785 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.002921, allocations: 4 kB / 344.3 MB, free: 4.781 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.016e-05/0.002961, allocations: 19.94 kB / 344.3 MB, free: 4.762 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.002975, allocations: 19.91 kB / 344.3 MB, free: 4.742 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.665e-05/0.003002, allocations: 35.92 kB / 344.3 MB, free: 4.707 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.003104, allocations: 75.75 kB / 344.4 MB, free: 4.633 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.003105, allocations: 0 / 344.4 MB, free: 4.633 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.003106, allocations: 4 kB / 344.4 MB, free: 4.629 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.655e-06/0.003109, allocations: 0 / 344.4 MB, free: 4.629 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000257/0.003366, allocations: 449.8 kB / 344.9 MB, free: 4.148 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.548e-05/0.003391, allocations: 12.03 kB / 344.9 MB, free: 4.137 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.003423, allocations: 24.83 kB / 344.9 MB, free: 4.113 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.907e-05/0.003522, allocations: 147.8 kB / 345 MB, free: 3.945 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.184e-06/0.00353, allocations: 384 / 345 MB, free: 3.945 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.003538, allocations: 12.38 kB / 345.1 MB, free: 3.934 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.438e-05/0.003612, allocations: 87.92 kB / 345.1 MB, free: 3.836 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.003619, allocations: 3.938 kB / 345.1 MB, free: 3.832 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.003626, allocations: 4 kB / 345.1 MB, free: 3.828 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.003631, allocations: 4 kB / 345.2 MB, free: 3.824 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.311e-05/0.003664, allocations: 57.55 kB / 345.2 MB, free: 3.762 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002771/0.003941, allocations: 344 kB / 345.5 MB, free: 3.398 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.874e-05/0.00398, allocations: 60.75 kB / 345.6 MB, free: 3.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.601e-05/0.003996, allocations: 45.5 kB / 345.6 MB, free: 3.266 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.004005, allocations: 4 kB / 345.7 MB, free: 3.262 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.826e-06/0.004014, allocations: 33.39 kB / 345.7 MB, free: 3.219 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 8.12e-07/0.004015, allocations: 0 / 345.7 MB, free: 3.219 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.000121/0.004136, allocations: 142.7 kB / 345.8 MB, free: 3.055 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.6e-05/0.004152, allocations: 85.11 kB / 345.9 MB, free: 2.953 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.091e-05/0.004203, allocations: 200.7 kB / 346.1 MB, free: 2.742 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.428e-06/0.004207, allocations: 25.7 kB / 346.1 MB, free: 2.711 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.04e-05/0.004238, allocations: 158.6 kB / 346.3 MB, free: 2.551 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.124e-06/0.004245, allocations: 11.91 kB / 346.3 MB, free: 2.539 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.482e-05/0.00427, allocations: 35.34 kB / 346.3 MB, free: 2.496 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.262e-05/0.004302, allocations: 0.4922 MB / 346.8 MB, free: 1.992 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.437e-05/0.004317, allocations: 33.69 kB / 346.9 MB, free: 1.953 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.433e-05/0.004331, allocations: 37.69 kB / 346.9 MB, free: 1.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.327e-05/0.004364, allocations: 79.23 kB / 347 MB, free: 1.816 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-06/0.004365, allocations: 0 / 347 MB, free: 1.816 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.377e-05/0.004429, allocations: 137 kB / 347.1 MB, free: 1.664 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.004444, allocations: 29.7 kB / 347.1 MB, free: 1.629 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.004447, allocations: 0 / 347.1 MB, free: 1.629 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-06/0.004455, allocations: 0 / 347.1 MB, free: 1.629 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.679e-05/0.004511, allocations: 15.98 kB / 347.1 MB, free: 1.613 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-06/0.004514, allocations: 0 / 347.1 MB, free: 1.613 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.79e-05/0.004542, allocations: 11.83 kB / 347.2 MB, free: 1.602 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.004547, allocations: 7.984 kB / 347.2 MB, free: 1.594 MB / 266.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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 3.724e-05/0.004585, allocations: 186.3 kB / 347.3 MB, free: 1.395 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.004603, allocations: 11.95 kB / 347.4 MB, free: 1.383 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.139e-05/0.004684, allocations: 129.5 kB / 347.5 MB, free: 1.238 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.004685, allocations: 0 / 347.5 MB, free: 1.238 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.62e-07/0.004686, allocations: 0 / 347.5 MB, free: 1.238 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.004689, allocations: 320 / 347.5 MB, free: 1.238 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.004833, allocations: 381 kB / 347.9 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.004834, allocations: 0 / 347.9 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.064e-05/0.004854, allocations: 4 kB / 347.9 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.004856, allocations: 7.938 kB / 347.9 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-06/0.00486, allocations: 0 / 347.9 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.004861, allocations: 0 / 347.9 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.004862, allocations: 4.031 kB / 347.9 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.306e-05/0.004925, allocations: 278.9 kB / 348.1 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.097e-05/0.004946, allocations: 19.88 kB / 348.2 MB, free: 484 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.004957, allocations: 7.984 kB / 348.2 MB, free: 476 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.654e-05/0.004993, allocations: 4 kB / 348.2 MB, free: 472 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.228e-05/0.005006, allocations: 3.938 kB / 348.2 MB, free: 468 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.005009, allocations: 4 kB / 348.2 MB, free: 464 kB / 266.7 MB Notification: Performance of sorting global known variables: time 2.643e-05/0.005035, allocations: 149.9 kB / 348.3 MB, free: 316 kB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005035, allocations: 0 / 348.3 MB, free: 316 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.000153/0.005188, allocations: 28 kB / 348.4 MB, free: 288 kB / 266.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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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 6.308e-05/0.005252, allocations: 107.2 kB / 348.5 MB, free: 172 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.351e-05/0.005325, allocations: 142.4 kB / 348.6 MB, free: 0 / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.005326, allocations: 0 / 348.6 MB, free: 0 / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.48e-05/0.005381, allocations: 104.8 kB / 348.7 MB, free: 15.88 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.005558, allocations: 16.23 kB / 348.7 MB, free: 15.86 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004909/0.006049, allocations: 291.3 kB / 349 MB, free: 15.54 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.403e-05/0.006083, allocations: 63.34 kB / 349.1 MB, free: 15.45 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.551e-05/0.006119, allocations: 8.719 kB / 349.1 MB, free: 15.45 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.843e-05/0.006187, allocations: 98.17 kB / 349.2 MB, free: 15.35 MB / 282.7 MB Notification: Performance of SimCode: time 3.5e-07/0.006188, allocations: 0 / 349.2 MB, free: 15.35 MB / 282.7 MB Notification: Performance of Templates: time 0.002594/0.008782, allocations: 1.526 MB / 350.7 MB, free: 13.86 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.sim & (cd run_cvode && ../OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe 2>&1) [Timeout 240] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest_gbode.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest_gbode.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest_gbode.sim & (cd run_gbode && ../OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest_gbode.pipe 2>&1) [Timeout 240] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest_ida.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest_ida.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest_ida.sim & (cd run_ida && ../OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5861702258698642]