Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide.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.001266/0.001266, allocations: 79.75 kB / 20.11 MB, free: 4.152 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.001133/0.001133, allocations: 156.5 kB / 23.55 MB, free: 0.7188 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.9028/0.9028, allocations: 177.1 MB / 204 MB, free: 5.363 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.07293/0.07293, allocations: 11.72 MB / 272.2 MB, free: 1.758 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.CheckDerivativesCarbondioxide,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide") translateModel(HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 291.6 MB, free: 17.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.577e-05/1.74e-05, allocations: 2.312 kB / 291.6 MB, free: 17.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide): time 0.03937/0.03939, allocations: 59.43 MB / 351 MB, free: 12.64 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01641/0.0558, allocations: 25.89 MB / 376.9 MB, free: 2.68 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.6e-05/0.05585, allocations: 8 kB / 376.9 MB, free: 2.672 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005214/0.05637, allocations: 227 kB / 377.1 MB, free: 2.449 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03242/0.08879, allocations: 18.6 MB / 395.7 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.08903, allocations: 151.5 kB / 395.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.0892, allocations: 234.9 kB / 396.1 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.084e-05/0.08924, allocations: 13.81 kB / 396.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.08938, allocations: 151.6 kB / 396.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.166e-05/0.08946, allocations: 51.83 kB / 396.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.08947, allocations: 0 / 396.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02581/0.1153, allocations: 18.07 MB / 414.4 MB, free: 13.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.718e-05/0.1153, allocations: 15.92 kB / 414.4 MB, free: 13.05 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.527e-05/0.1154, allocations: 39.92 kB / 414.5 MB, free: 13.01 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01593/0.1313, allocations: 7.686 MB / 422.1 MB, free: 5.305 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1313, allocations: 0 / 422.1 MB, free: 5.305 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1313, allocations: 3.938 kB / 422.1 MB, free: 5.301 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1313, allocations: 0 / 422.1 MB, free: 5.301 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.002222/0.1335, allocations: 1.318 MB / 423.5 MB, free: 3.953 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.1335, allocations: 8.031 kB / 423.5 MB, free: 3.945 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.1337, allocations: 55.83 kB / 423.5 MB, free: 3.891 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.1339, allocations: 129.7 kB / 423.7 MB, free: 3.738 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.1339, allocations: 4 kB / 423.7 MB, free: 3.734 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.1339, allocations: 15.94 kB / 423.7 MB, free: 3.719 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.134, allocations: 90.17 kB / 423.8 MB, free: 3.617 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.134, allocations: 0 / 423.8 MB, free: 3.617 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.134, allocations: 4 kB / 423.8 MB, free: 3.613 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.134, allocations: 7.938 kB / 423.8 MB, free: 3.605 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.315e-05/0.1341, allocations: 32.47 kB / 423.8 MB, free: 3.574 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003934/0.1345, allocations: 348.7 kB / 424.1 MB, free: 3.211 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.1346, allocations: 77.14 kB / 424.2 MB, free: 3.117 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.249e-05/0.1347, allocations: 41.69 kB / 424.3 MB, free: 3.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0305/0.1652, allocations: 18.75 MB / 443 MB, free: 312 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.1652, allocations: 38.55 kB / 443 MB, free: 264 kB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 3.166e-06/0.1652, allocations: 0 / 443 MB, free: 264 kB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002787/0.1655, allocations: 127 kB / 443.2 MB, free: 132 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.1655, allocations: 85.05 kB / 443.3 MB, free: 28 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1216/0.2872, allocations: 113.7 kB / 443.4 MB, free: 98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.2872, allocations: 27.08 kB / 443.4 MB, free: 97.97 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.661e-05/0.2872, allocations: 87.83 kB / 443.5 MB, free: 97.89 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.024e-05/0.2873, allocations: 83.97 kB / 443.6 MB, free: 97.86 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.939e-05/0.2874, allocations: 38.5 kB / 443.6 MB, free: 97.84 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.239e-05/0.2874, allocations: 323.7 kB / 443.9 MB, free: 97.53 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.761e-05/0.2874, allocations: 15.8 kB / 443.9 MB, free: 97.53 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.83e-05/0.2875, allocations: 39.14 kB / 444 MB, free: 97.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.605e-05/0.2876, allocations: 71.7 kB / 444 MB, free: 97.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.2876, allocations: 3.594 kB / 444 MB, free: 97.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001681/0.2877, allocations: 101.5 kB / 444.1 MB, free: 97.47 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.2878, allocations: 6.875 kB / 444.1 MB, free: 97.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.2878, allocations: 1.25 kB / 444.1 MB, free: 97.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.2878, allocations: 0.5 kB / 444.1 MB, free: 97.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.2879, allocations: 25.53 kB / 444.2 MB, free: 97.47 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.2879, allocations: 1.828 kB / 444.2 MB, free: 97.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.591e-05/0.2879, allocations: 14.42 kB / 444.2 MB, free: 97.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.288, allocations: 4.641 kB / 444.2 MB, free: 97.46 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.01e-05/0.288, allocations: 126.2 kB / 444.3 MB, free: 97.35 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.393e-05/0.2881, allocations: 11.83 kB / 444.3 MB, free: 97.35 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00176/0.2898, allocations: 1.472 MB / 445.8 MB, free: 97.14 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001273/0.2911, allocations: 1.103 MB / 446.9 MB, free: 97.05 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2911, allocations: 0.75 kB / 446.9 MB, free: 97.05 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.2911, allocations: 2.422 kB / 446.9 MB, free: 97.05 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/0.2933, allocations: 2.023 MB / 448.9 MB, free: 96.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.2933, allocations: 3.375 kB / 448.9 MB, free: 96.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.2935, allocations: 45 kB / 449 MB, free: 96.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.2935, allocations: 1.375 kB / 449 MB, free: 96.6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.2935, allocations: 7.75 kB / 449 MB, free: 96.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.2935, allocations: 1.891 kB / 449 MB, free: 96.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.2935, allocations: 1.375 kB / 449 MB, free: 96.6 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/0.2953, allocations: 1.704 MB / 450.7 MB, free: 96.24 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.975e-05/0.2953, allocations: 86.97 kB / 450.8 MB, free: 96.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.2953, allocations: 8.609 kB / 450.8 MB, free: 96.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.2955, allocations: 5.25 kB / 450.8 MB, free: 96.21 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.2955, allocations: 22.27 kB / 450.8 MB, free: 96.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.2955, allocations: 7.312 kB / 450.8 MB, free: 96.21 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.676e-05/0.2956, allocations: 21.84 kB / 450.8 MB, free: 96.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2956, allocations: 0.9375 kB / 450.8 MB, free: 96.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002283/0.2978, allocations: 1.054 MB / 451.9 MB, free: 96.2 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.003476/0.3013, allocations: 1.919 MB / 453.8 MB, free: 96.11 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004642/0.3018, allocations: 439.6 kB / 454.2 MB, free: 96.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.3018, allocations: 0 / 454.2 MB, free: 96.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003052/0.3021, allocations: 368.4 kB / 454.6 MB, free: 96 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007868/0.3029, allocations: 157.2 kB / 454.8 MB, free: 95.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.3048, allocations: 1.445 MB / 456.2 MB, free: 95.53 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.3049, allocations: 172.1 kB / 456.4 MB, free: 95.45 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.3051, allocations: 28.3 kB / 456.4 MB, free: 95.45 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002644/0.3053, allocations: 140.8 kB / 456.5 MB, free: 95.4 MB / 394.7 MB Notification: Performance of SimCode: time 1.263e-06/0.3053, allocations: 0 / 456.5 MB, free: 95.4 MB / 394.7 MB Notification: Performance of Templates: time 0.03262/0.338, allocations: 31.89 MB / 488.4 MB, free: 75.48 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide.sim & (cd run_cvode && ../HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide.pipe 2>&1) [Timeout 240] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide_gbode.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide_gbode.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide_gbode.sim & (cd run_gbode && ../HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide_gbode.pipe 2>&1) [Timeout 240] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide_ida.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide_ida.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide_ida.sim & (cd run_ida && ../HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.242331005632877]