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.0009457/0.0009457, 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.001067/0.001067, 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.91/0.91, allocations: 177.1 MB / 204 MB, free: 4.969 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.05669/0.05669, allocations: 11.7 MB / 272.2 MB, free: 1.668 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.472e-06/1.472e-06, allocations: 0 / 291.6 MB, free: 17.47 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.13e-05/1.277e-05, allocations: 2.312 kB / 291.6 MB, free: 17.47 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativesCarbondioxide): time 0.04357/0.04358, allocations: 59.43 MB / 351 MB, free: 12.59 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01553/0.05912, allocations: 25.9 MB / 376.9 MB, free: 2.625 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.821e-05/0.05917, allocations: 0 / 376.9 MB, free: 2.625 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004689/0.05963, allocations: 234.9 kB / 377.1 MB, free: 2.395 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02857/0.08821, allocations: 18.59 MB / 395.7 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.08843, allocations: 147.5 kB / 395.8 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.08859, allocations: 238.9 kB / 396.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.998e-05/0.08864, allocations: 17.81 kB / 396.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.0888, allocations: 155.6 kB / 396.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.587e-05/0.08888, allocations: 43.84 kB / 396.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.0889, allocations: 4 kB / 396.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02393/0.1128, allocations: 18.08 MB / 414.4 MB, free: 13.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.933e-05/0.1128, allocations: 15.92 kB / 414.4 MB, free: 13 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.691e-05/0.1129, allocations: 35.92 kB / 414.4 MB, free: 12.96 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01553/0.1284, allocations: 7.69 MB / 422.1 MB, free: 5.254 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1284, allocations: 0 / 422.1 MB, free: 5.254 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1284, allocations: 0 / 422.1 MB, free: 5.254 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.1284, allocations: 4 kB / 422.1 MB, free: 5.25 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.001665/0.1301, allocations: 1.314 MB / 423.4 MB, free: 3.906 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.1301, allocations: 12.03 kB / 423.4 MB, free: 3.895 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/0.1303, allocations: 51.83 kB / 423.5 MB, free: 3.844 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.1304, allocations: 129.1 kB / 423.6 MB, free: 3.691 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.1304, allocations: 0 / 423.6 MB, free: 3.691 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.1304, allocations: 12 kB / 423.6 MB, free: 3.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.1305, allocations: 95.38 kB / 423.7 MB, free: 3.574 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1305, allocations: 4 kB / 423.7 MB, free: 3.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.1305, allocations: 0 / 423.7 MB, free: 3.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.1305, allocations: 7.938 kB / 423.7 MB, free: 3.562 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.498e-05/0.1306, allocations: 41.62 kB / 423.8 MB, free: 3.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.1309, allocations: 340.6 kB / 424.1 MB, free: 3.168 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.131, allocations: 77.2 kB / 424.2 MB, free: 3.074 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.34e-05/0.131, allocations: 41.66 kB / 424.2 MB, free: 3.031 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02335/0.1544, allocations: 18.76 MB / 443 MB, free: 268 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.1544, allocations: 34.56 kB / 443 MB, free: 224 kB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 2.775e-06/0.1544, allocations: 4 kB / 443 MB, free: 220 kB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002223/0.1546, allocations: 134.9 kB / 443.2 MB, free: 84 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1061/0.2607, allocations: 77.11 kB / 443.2 MB, free: 97.71 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.095e-05/0.2608, allocations: 115.5 kB / 443.3 MB, free: 97.6 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.2608, allocations: 29.98 kB / 443.4 MB, free: 97.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.099e-05/0.2608, allocations: 88.27 kB / 443.5 MB, free: 97.49 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.356e-05/0.2609, allocations: 84.3 kB / 443.5 MB, free: 97.46 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/0.2609, allocations: 36.77 kB / 443.6 MB, free: 97.44 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.187e-05/0.261, allocations: 323 kB / 443.9 MB, free: 97.13 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.476e-05/0.261, allocations: 19.14 kB / 443.9 MB, free: 97.13 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.994e-05/0.261, allocations: 37.89 kB / 443.9 MB, free: 97.11 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.031e-05/0.2611, allocations: 75.52 kB / 444 MB, free: 97.1 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.2611, allocations: 1.484 kB / 444 MB, free: 97.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001093/0.2612, allocations: 101.8 kB / 444.1 MB, free: 97.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.2612, allocations: 6.094 kB / 444.1 MB, free: 97.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.2612, allocations: 1.891 kB / 444.1 MB, free: 97.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.2612, allocations: 1.781 kB / 444.1 MB, free: 97.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.358e-05/0.2613, allocations: 23.27 kB / 444.2 MB, free: 97.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/0.2613, allocations: 1.844 kB / 444.2 MB, free: 97.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.7e-05/0.2613, allocations: 15.73 kB / 444.2 MB, free: 97.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.2614, allocations: 5.984 kB / 444.2 MB, free: 97.06 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 4.675e-05/0.2614, allocations: 120.3 kB / 444.3 MB, free: 96.95 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.2614, allocations: 11.36 kB / 444.3 MB, free: 96.95 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.2627, allocations: 1.466 MB / 445.8 MB, free: 96.75 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009179/0.2636, allocations: 1.105 MB / 446.9 MB, free: 96.66 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2637, allocations: 2.188 kB / 446.9 MB, free: 96.66 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.2637, allocations: 2.641 kB / 446.9 MB, free: 96.66 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.2652, allocations: 2.025 MB / 448.9 MB, free: 96.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.2652, allocations: 2.547 kB / 448.9 MB, free: 96.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.2653, allocations: 40.41 kB / 448.9 MB, free: 96.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.2653, allocations: 2.906 kB / 448.9 MB, free: 96.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.2653, allocations: 7.844 kB / 449 MB, free: 96.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.2653, allocations: 2.344 kB / 449 MB, free: 96.2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2653, allocations: 0.5156 kB / 449 MB, free: 96.2 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.2665, allocations: 1.707 MB / 450.7 MB, free: 95.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/0.2666, allocations: 83.52 kB / 450.7 MB, free: 95.81 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.2666, allocations: 7.062 kB / 450.8 MB, free: 95.81 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.25e-05/0.2666, allocations: 5.438 kB / 450.8 MB, free: 95.81 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.544e-05/0.2667, allocations: 23.77 kB / 450.8 MB, free: 95.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.2667, allocations: 3.984 kB / 450.8 MB, free: 95.81 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.951e-05/0.2667, allocations: 27.58 kB / 450.8 MB, free: 95.8 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2667, allocations: 0 / 450.8 MB, free: 95.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001538/0.2682, allocations: 1.061 MB / 451.9 MB, free: 95.8 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.002426/0.2707, allocations: 1.923 MB / 453.8 MB, free: 95.71 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002984/0.271, allocations: 443.4 kB / 454.2 MB, free: 95.61 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.271, allocations: 0 / 454.2 MB, free: 95.61 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.2712, allocations: 365.2 kB / 454.6 MB, free: 95.6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000474/0.2716, allocations: 147.8 kB / 454.7 MB, free: 95.58 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.2729, allocations: 1.45 MB / 456.2 MB, free: 95.13 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.932e-05/0.273, allocations: 172.4 kB / 456.3 MB, free: 95.05 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.071e-05/0.2731, allocations: 26.61 kB / 456.4 MB, free: 95.05 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.2733, allocations: 142.6 kB / 456.5 MB, free: 95 MB / 394.7 MB Notification: Performance of SimCode: time 6.51e-07/0.2733, allocations: 0 / 456.5 MB, free: 95 MB / 394.7 MB Notification: Performance of Templates: time 0.02463/0.2979, allocations: 31.87 MB / 488.4 MB, free: 75.11 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.146851260215044]