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.0008309/0.0008309, allocations: 79.75 kB / 20.11 MB, free: 4.156 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.0008562/0.0008562, allocations: 156.5 kB / 23.55 MB, free: 0.7227 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.9016/0.9016, allocations: 177.2 MB / 204 MB, free: 5.367 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.047/0.047, allocations: 11.73 MB / 272.2 MB, free: 1.77 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.463e-06/1.463e-06, allocations: 0 / 291.6 MB, free: 17.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.799e-05/1.946e-05, allocations: 5.188 kB / 291.6 MB, free: 17.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativesHelium): time 0.03715/0.03716, allocations: 59.14 MB / 350.7 MB, free: 12.98 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01816/0.05532, allocations: 25.66 MB / 376.4 MB, free: 3.254 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.663e-05/0.05539, allocations: 4 kB / 376.4 MB, free: 3.25 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006936/0.05608, allocations: 219 kB / 376.6 MB, free: 3.035 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.045/0.1011, allocations: 17.97 MB / 394.6 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003485/0.1014, allocations: 139.4 kB / 394.7 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002296/0.1017, allocations: 226.8 kB / 394.9 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.504e-05/0.1017, allocations: 15.22 kB / 394.9 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002044/0.1019, allocations: 131.6 kB / 395.1 MB, free: 484 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.581e-05/0.102, allocations: 47.89 kB / 395.1 MB, free: 436 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.102, allocations: 4 kB / 395.1 MB, free: 432 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03847/0.1405, allocations: 17.37 MB / 412.5 MB, free: 15.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.7e-05/0.1405, allocations: 19.91 kB / 412.5 MB, free: 15 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.384e-05/0.1406, allocations: 35.94 kB / 412.5 MB, free: 14.97 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01871/0.1593, allocations: 7.669 MB / 420.2 MB, free: 7.281 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.1593, allocations: 0 / 420.2 MB, free: 7.281 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1593, allocations: 4 kB / 420.2 MB, free: 7.277 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.1593, allocations: 0 / 420.2 MB, free: 7.277 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.001796/0.1611, allocations: 1.322 MB / 421.5 MB, free: 5.926 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.1612, allocations: 8.031 kB / 421.5 MB, free: 5.918 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.1613, allocations: 55.88 kB / 421.6 MB, free: 5.863 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.1617, allocations: 133 kB / 421.7 MB, free: 5.707 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.1617, allocations: 8 kB / 421.7 MB, free: 5.699 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.1617, allocations: 4 kB / 421.7 MB, free: 5.695 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.1618, allocations: 94.12 kB / 421.8 MB, free: 5.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.1618, allocations: 0 / 421.8 MB, free: 5.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-06/0.1618, allocations: 4 kB / 421.8 MB, free: 5.586 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.1618, allocations: 7.922 kB / 421.8 MB, free: 5.578 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.283e-05/0.1619, allocations: 42.95 kB / 421.9 MB, free: 5.535 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003205/0.1622, allocations: 332.8 kB / 422.2 MB, free: 5.188 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.1623, allocations: 85.11 kB / 422.3 MB, free: 5.086 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/0.1623, allocations: 37.78 kB / 422.3 MB, free: 5.043 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02238/0.1847, allocations: 18.75 MB / 441.1 MB, free: 2.273 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.1847, allocations: 42.56 kB / 441.1 MB, free: 2.223 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 2.585e-06/0.1847, allocations: 0 / 441.1 MB, free: 2.223 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002296/0.185, allocations: 123.2 kB / 441.2 MB, free: 2.098 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.185, allocations: 81.09 kB / 441.3 MB, free: 2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.503e-05/0.1851, allocations: 132.8 kB / 441.5 MB, free: 1.859 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.1851, allocations: 25.7 kB / 441.5 MB, free: 1.828 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.469e-05/0.1851, allocations: 80.64 kB / 441.6 MB, free: 1.746 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.717e-05/0.1852, allocations: 91.23 kB / 441.6 MB, free: 1.656 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.1852, allocations: 33.69 kB / 441.7 MB, free: 1.617 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.224e-05/0.1853, allocations: 326.8 kB / 442 MB, free: 1.289 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.952e-05/0.1853, allocations: 16 kB / 442 MB, free: 1.273 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.521e-05/0.1853, allocations: 41.67 kB / 442.1 MB, free: 1.227 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.632e-05/0.1854, allocations: 73.48 kB / 442.1 MB, free: 1.152 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1854, allocations: 0 / 442.1 MB, free: 1.152 MB / 394.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 9.412e-05/0.1855, allocations: 111.2 kB / 442.2 MB, free: 1.039 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.1855, allocations: 4 kB / 442.2 MB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.1855, allocations: 4 kB / 442.2 MB, free: 1.031 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.1855, allocations: 0 / 442.2 MB, free: 1.031 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.534e-05/0.1856, allocations: 19.98 kB / 442.3 MB, free: 1.012 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.1856, allocations: 7.938 kB / 442.3 MB, free: 1.004 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.669e-05/0.1856, allocations: 11.89 kB / 442.3 MB, free: 0.9922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.1856, allocations: 8 kB / 442.3 MB, free: 0.9844 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 6.127e-05/0.1857, allocations: 113.8 kB / 442.4 MB, free: 0.8633 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.1857, allocations: 12.42 kB / 442.4 MB, free: 0.8516 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1132/0.2989, allocations: 1.47 MB / 443.9 MB, free: 97.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00126/0.3002, allocations: 1.094 MB / 445 MB, free: 97.73 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3002, allocations: 1.219 kB / 445 MB, free: 97.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.3002, allocations: 2.016 kB / 445 MB, free: 97.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001932/0.3021, allocations: 2.024 MB / 447 MB, free: 97.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.3021, allocations: 5.906 kB / 447 MB, free: 97.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.3023, allocations: 44.48 kB / 447.1 MB, free: 97.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.3023, allocations: 0.9375 kB / 447.1 MB, free: 97.29 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.3023, allocations: 6.406 kB / 447.1 MB, free: 97.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.3023, allocations: 2.156 kB / 447.1 MB, free: 97.29 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3023, allocations: 1.5 kB / 447.1 MB, free: 97.29 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.3038, allocations: 1.708 MB / 448.8 MB, free: 96.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.74e-05/0.3038, allocations: 88 kB / 448.9 MB, free: 96.89 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.3039, allocations: 5.797 kB / 448.9 MB, free: 96.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.304, allocations: 6.75 kB / 448.9 MB, free: 96.89 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.304, allocations: 18.16 kB / 448.9 MB, free: 96.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.304, allocations: 5.5 kB / 448.9 MB, free: 96.89 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.215e-05/0.3041, allocations: 18.56 kB / 448.9 MB, free: 96.88 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3041, allocations: 0 / 448.9 MB, free: 96.88 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001992/0.306, allocations: 1.062 MB / 450 MB, free: 96.88 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.00279/0.3088, allocations: 1.916 MB / 451.9 MB, free: 96.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003647/0.3092, allocations: 440.8 kB / 452.3 MB, free: 96.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.3092, allocations: 2.688 kB / 452.3 MB, free: 96.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.3094, allocations: 362 kB / 452.7 MB, free: 96.69 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004859/0.3099, allocations: 155.5 kB / 452.8 MB, free: 96.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.3112, allocations: 1.44 MB / 454.3 MB, free: 96.23 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.734e-05/0.3113, allocations: 172.3 kB / 454.4 MB, free: 96.15 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.923e-05/0.3114, allocations: 30.73 kB / 454.5 MB, free: 96.14 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.3116, allocations: 146.1 kB / 454.6 MB, free: 96.09 MB / 394.7 MB Notification: Performance of SimCode: time 1.012e-06/0.3116, allocations: 0 / 454.6 MB, free: 96.09 MB / 394.7 MB Notification: Performance of Templates: time 0.02852/0.3401, allocations: 31.82 MB / 486.4 MB, free: 76.73 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.695235941559076]