Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium.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.0008531/0.0008531, allocations: 79.75 kB / 20.11 MB, free: 4.137 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.001361/0.001361, allocations: 168.4 kB / 23.56 MB, free: 0.6914 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.9122/0.9122, allocations: 177.1 MB / 204 MB, free: 5.391 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.04639/0.04639, allocations: 11.7 MB / 272.2 MB, free: 1.809 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 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(HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium") translateModel(HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 291.6 MB, free: 17.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.767e-05/1.917e-05, allocations: 3.25 kB / 291.6 MB, free: 17.49 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium): time 0.0432/0.04322, allocations: 59.14 MB / 350.7 MB, free: 12.99 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01725/0.06046, allocations: 25.65 MB / 376.4 MB, free: 3.27 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.234e-05/0.06052, allocations: 4 kB / 376.4 MB, free: 3.266 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005014/0.06102, allocations: 226.9 kB / 376.6 MB, free: 3.043 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03015/0.09117, allocations: 17.98 MB / 394.6 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.09142, allocations: 139.4 kB / 394.7 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.0916, allocations: 230.8 kB / 394.9 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.891e-05/0.09165, allocations: 9.828 kB / 394.9 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.09181, allocations: 135.6 kB / 395.1 MB, free: 488 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.224e-05/0.09188, allocations: 39.89 kB / 395.1 MB, free: 448 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.09189, allocations: 4 kB / 395.1 MB, free: 444 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02443/0.1163, allocations: 17.38 MB / 412.5 MB, free: 15.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.824e-05/0.1163, allocations: 11.92 kB / 412.5 MB, free: 15.01 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.188e-05/0.1164, allocations: 35.94 kB / 412.5 MB, free: 14.98 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01651/0.1329, allocations: 7.675 MB / 420.2 MB, free: 7.281 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1329, allocations: 0 / 420.2 MB, free: 7.281 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1329, allocations: 0 / 420.2 MB, free: 7.281 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1329, allocations: 0 / 420.2 MB, free: 7.281 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001753/0.1347, allocations: 1.33 MB / 421.5 MB, free: 5.922 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.1347, allocations: 8.031 kB / 421.5 MB, free: 5.914 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.1348, allocations: 47.89 kB / 421.6 MB, free: 5.867 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.135, allocations: 133 kB / 421.7 MB, free: 5.711 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.135, allocations: 0 / 421.7 MB, free: 5.711 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.135, allocations: 12 kB / 421.7 MB, free: 5.699 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.1351, allocations: 86.12 kB / 421.8 MB, free: 5.602 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.1351, allocations: 4 kB / 421.8 MB, free: 5.598 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.1351, allocations: 4 kB / 421.8 MB, free: 5.594 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.1351, allocations: 7.922 kB / 421.8 MB, free: 5.586 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.199e-05/0.1352, allocations: 41.56 kB / 421.9 MB, free: 5.543 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003183/0.1355, allocations: 340.7 kB / 422.2 MB, free: 5.188 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.1356, allocations: 81.19 kB / 422.3 MB, free: 5.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.922e-05/0.1356, allocations: 29.72 kB / 422.3 MB, free: 5.055 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02214/0.1578, allocations: 18.76 MB / 441.1 MB, free: 2.273 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.1578, allocations: 30.56 kB / 441.1 MB, free: 2.234 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 3.767e-06/0.1578, allocations: 4 kB / 441.1 MB, free: 2.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002439/0.158, allocations: 130.8 kB / 441.2 MB, free: 2.098 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.1581, allocations: 77.11 kB / 441.3 MB, free: 2.004 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.215e-05/0.1581, allocations: 120.4 kB / 441.4 MB, free: 1.875 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.1582, allocations: 33.7 kB / 441.5 MB, free: 1.836 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.483e-05/0.1582, allocations: 84.62 kB / 441.5 MB, free: 1.75 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.652e-05/0.1582, allocations: 79.27 kB / 441.6 MB, free: 1.672 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.1583, allocations: 41.62 kB / 441.7 MB, free: 1.625 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.985e-05/0.1583, allocations: 330.7 kB / 442 MB, free: 1.293 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.954e-05/0.1583, allocations: 15.98 kB / 442 MB, free: 1.277 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.279e-05/0.1584, allocations: 37.69 kB / 442 MB, free: 1.234 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.349e-05/0.1584, allocations: 67.05 kB / 442.1 MB, free: 1.164 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1584, allocations: 4 kB / 442.1 MB, free: 1.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 9.871e-05/0.1585, allocations: 115 kB / 442.2 MB, free: 1.043 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.1586, allocations: 4 kB / 442.2 MB, free: 1.039 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.1586, allocations: 0 / 442.2 MB, free: 1.039 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.1586, allocations: 4 kB / 442.2 MB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.267e-05/0.1586, allocations: 20.61 kB / 442.2 MB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.1586, allocations: 160 / 442.2 MB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.479e-05/0.1587, allocations: 11.89 kB / 442.3 MB, free: 1.004 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.1587, allocations: 15.92 kB / 442.3 MB, free: 0.9883 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (state_p.phase,state_h.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.608e-05/0.1587, allocations: 109.8 kB / 442.4 MB, free: 0.8711 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.1588, allocations: 19.92 kB / 442.4 MB, free: 0.8516 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.12/0.2788, allocations: 1.47 MB / 443.9 MB, free: 97.62 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001115/0.2799, allocations: 1.096 MB / 445 MB, free: 97.54 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2799, allocations: 2.109 kB / 445 MB, free: 97.54 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.2799, allocations: 1.828 kB / 445 MB, free: 97.54 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/0.2816, allocations: 2.021 MB / 447 MB, free: 97.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.2816, allocations: 4.656 kB / 447 MB, free: 97.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.2817, allocations: 40.33 kB / 447 MB, free: 97.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.2817, allocations: 2.969 kB / 447 MB, free: 97.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.2817, allocations: 6.531 kB / 447 MB, free: 97.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.2817, allocations: 4.234 kB / 447 MB, free: 97.1 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.2817, allocations: 1.344 kB / 447 MB, free: 97.1 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.2829, allocations: 1.709 MB / 448.8 MB, free: 96.74 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.283, allocations: 86.16 kB / 448.8 MB, free: 96.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.283, allocations: 9.828 kB / 448.8 MB, free: 96.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.991e-05/0.2831, allocations: 4.688 kB / 448.9 MB, free: 96.71 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.567e-05/0.2831, allocations: 16.48 kB / 448.9 MB, free: 96.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.2831, allocations: 8.609 kB / 448.9 MB, free: 96.71 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.038e-05/0.2831, allocations: 16.58 kB / 448.9 MB, free: 96.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2831, allocations: 0 / 448.9 MB, free: 96.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001667/0.2848, allocations: 1.058 MB / 450 MB, free: 96.7 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (d_h_int,d_p_int) * Number of discrete variables: 8 (state_h.phase,$cse3.sat.vap.phase,$cse3.sat.liq.phase,$cse4.phase,state_p.phase,$cse1.sat.vap.phase,$cse1.sat.liq.phase,$cse2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0023/0.2871, allocations: 1.914 MB / 451.9 MB, free: 96.61 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002916/0.2874, allocations: 441.3 kB / 452.3 MB, free: 96.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2874, allocations: 3.344 kB / 452.3 MB, free: 96.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001881/0.2876, allocations: 361.5 kB / 452.7 MB, free: 96.51 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004763/0.2881, allocations: 155.3 kB / 452.8 MB, free: 96.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.2894, allocations: 1.448 MB / 454.3 MB, free: 96.04 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.841e-05/0.2895, allocations: 170 kB / 454.4 MB, free: 95.96 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.755e-05/0.2895, allocations: 32.06 kB / 454.5 MB, free: 95.96 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.2897, allocations: 142.1 kB / 454.6 MB, free: 95.91 MB / 394.7 MB Notification: Performance of SimCode: time 6.81e-07/0.2897, allocations: 0 / 454.6 MB, free: 95.91 MB / 394.7 MB Notification: Performance of Templates: time 0.02365/0.3134, allocations: 31.81 MB / 486.4 MB, free: 76.59 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium.sim & (cd run_cvode && ../HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium.pipe 2>&1) [Timeout 240] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium_gbode.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium_gbode.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium_gbode.sim & (cd run_gbode && ../HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium_gbode.pipe 2>&1) [Timeout 240] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium_ida.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium_ida.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium_ida.sim & (cd run_ida && ../HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.69810682721436]