Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane.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.001209/0.001209, 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: 172.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.9123/0.9123, allocations: 177.1 MB / 204 MB, free: 5.383 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.05199/0.05199, allocations: 11.7 MB / 272.2 MB, free: 1.801 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.CheckDerivativesButane,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane") translateModel(HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 291.6 MB, free: 17.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.734e-05/1.883e-05, allocations: 3.406 kB / 291.6 MB, free: 17.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane): time 0.03587/0.03589, allocations: 59.42 MB / 351 MB, free: 12.72 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01648/0.05238, allocations: 25.89 MB / 376.9 MB, free: 2.762 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.981e-05/0.05242, allocations: 0 / 376.9 MB, free: 2.762 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004533/0.05287, allocations: 238.9 kB / 377.1 MB, free: 2.527 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02702/0.07989, allocations: 18.39 MB / 395.5 MB, free: 52 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.08012, allocations: 155.3 kB / 395.7 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000374/0.08049, allocations: 242.9 kB / 395.9 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.649e-05/0.08053, allocations: 13.81 kB / 395.9 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.08066, allocations: 147.6 kB / 396 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.788e-05/0.08073, allocations: 51.83 kB / 396.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.08074, allocations: 4 kB / 396.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02618/0.1069, allocations: 17.75 MB / 413.8 MB, free: 13.67 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.1069, allocations: 15.92 kB / 413.9 MB, free: 13.65 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.221e-05/0.107, allocations: 47.86 kB / 413.9 MB, free: 13.61 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.012/0.119, allocations: 7.671 MB / 421.6 MB, free: 5.914 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.119, allocations: 0 / 421.6 MB, free: 5.914 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.119, allocations: 0 / 421.6 MB, free: 5.914 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.119, allocations: 0 / 421.6 MB, free: 5.914 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.001786/0.1208, allocations: 1.314 MB / 422.9 MB, free: 4.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.951e-05/0.1208, allocations: 16.02 kB / 422.9 MB, free: 4.555 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.121, allocations: 43.91 kB / 423 MB, free: 4.512 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.1211, allocations: 141 kB / 423.1 MB, free: 4.348 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.1211, allocations: 4.609 kB / 423.1 MB, free: 4.344 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.1211, allocations: 8 kB / 423.1 MB, free: 4.336 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.1212, allocations: 94.17 kB / 423.2 MB, free: 4.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1212, allocations: 0 / 423.2 MB, free: 4.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.1212, allocations: 4.516 kB / 423.2 MB, free: 4.227 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.1213, allocations: 3.938 kB / 423.2 MB, free: 4.223 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.042e-05/0.1213, allocations: 41.58 kB / 423.2 MB, free: 4.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003437/0.1216, allocations: 332.7 kB / 423.6 MB, free: 3.832 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.1218, allocations: 81.66 kB / 423.7 MB, free: 3.734 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.2e-05/0.1218, allocations: 46.27 kB / 423.7 MB, free: 3.684 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03086/0.1527, allocations: 18.76 MB / 442.5 MB, free: 0.9141 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.1527, allocations: 30.56 kB / 442.5 MB, free: 0.875 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 1.623e-06/0.1527, allocations: 0 / 442.5 MB, free: 0.875 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0001885/0.1529, allocations: 131.3 kB / 442.6 MB, free: 0.7422 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.1529, allocations: 77.11 kB / 442.7 MB, free: 0.6484 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.572e-05/0.153, allocations: 120.4 kB / 442.8 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.153, allocations: 29.7 kB / 442.8 MB, free: 496 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.511e-05/0.153, allocations: 88.61 kB / 442.9 MB, free: 404 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/0.1531, allocations: 83.27 kB / 443 MB, free: 320 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.1531, allocations: 41.67 kB / 443 MB, free: 272 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.1037/0.2568, allocations: 318.8 kB / 443.4 MB, free: 97.78 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.168e-05/0.2569, allocations: 17.22 kB / 443.4 MB, free: 97.78 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.079e-05/0.2569, allocations: 35.69 kB / 443.4 MB, free: 97.77 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.824e-05/0.257, allocations: 70.92 kB / 443.5 MB, free: 97.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.257, allocations: 0.6562 kB / 443.5 MB, free: 97.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001531/0.2572, allocations: 103.6 kB / 443.6 MB, free: 97.72 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.2572, allocations: 5.5 kB / 443.6 MB, free: 97.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.2572, allocations: 1.875 kB / 443.6 MB, free: 97.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.2572, allocations: 1.438 kB / 443.6 MB, free: 97.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.915e-05/0.2573, allocations: 22.73 kB / 443.6 MB, free: 97.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.2573, allocations: 4.672 kB / 443.6 MB, free: 97.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.649e-05/0.2574, allocations: 14.7 kB / 443.6 MB, free: 97.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.2574, allocations: 5.062 kB / 443.6 MB, free: 97.72 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.817e-05/0.2574, allocations: 118.6 kB / 443.7 MB, free: 97.61 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.2575, allocations: 11.56 kB / 443.8 MB, free: 97.61 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/0.2589, allocations: 1.469 MB / 445.2 MB, free: 97.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00107/0.26, allocations: 1.105 MB / 446.3 MB, free: 97.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.26, allocations: 2.281 kB / 446.3 MB, free: 97.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.26, allocations: 3.203 kB / 446.3 MB, free: 97.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/0.2618, allocations: 2.027 MB / 448.4 MB, free: 96.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.2618, allocations: 0.5625 kB / 448.4 MB, free: 96.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.2619, allocations: 41.23 kB / 448.4 MB, free: 96.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.2619, allocations: 1.375 kB / 448.4 MB, free: 96.89 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.2619, allocations: 8.109 kB / 448.4 MB, free: 96.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.2619, allocations: 5.891 kB / 448.4 MB, free: 96.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2619, allocations: 0 / 448.4 MB, free: 96.89 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.2634, allocations: 1.709 MB / 450.1 MB, free: 96.54 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.365e-05/0.2634, allocations: 85.3 kB / 450.2 MB, free: 96.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.2635, allocations: 4.625 kB / 450.2 MB, free: 96.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.2636, allocations: 7.094 kB / 450.2 MB, free: 96.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/0.2636, allocations: 18.34 kB / 450.2 MB, free: 96.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.2636, allocations: 8.391 kB / 450.3 MB, free: 96.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.133e-05/0.2636, allocations: 26.86 kB / 450.3 MB, free: 96.49 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2636, allocations: 0 / 450.3 MB, free: 96.49 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001801/0.2654, allocations: 1.054 MB / 451.3 MB, free: 96.49 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.002468/0.2679, allocations: 1.916 MB / 453.2 MB, free: 96.39 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003319/0.2682, allocations: 438 kB / 453.7 MB, free: 96.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2682, allocations: 0 / 453.7 MB, free: 96.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002315/0.2685, allocations: 366.4 kB / 454 MB, free: 96.29 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006025/0.2691, allocations: 146.7 kB / 454.2 MB, free: 96.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.2706, allocations: 1.445 MB / 455.6 MB, free: 95.82 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.2707, allocations: 174.8 kB / 455.8 MB, free: 95.74 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.701e-05/0.2708, allocations: 31.86 kB / 455.8 MB, free: 95.74 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/0.2709, allocations: 144.3 kB / 456 MB, free: 95.69 MB / 394.7 MB Notification: Performance of SimCode: time 5.61e-07/0.2709, allocations: 0 / 456 MB, free: 95.69 MB / 394.7 MB Notification: Performance of Templates: time 0.02998/0.3009, allocations: 31.81 MB / 487.8 MB, free: 75.79 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane.sim & (cd run_cvode && ../HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane.pipe 2>&1) [Timeout 240] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane_gbode.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane_gbode.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane_gbode.sim & (cd run_gbode && ../HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane_gbode.pipe 2>&1) [Timeout 240] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane_ida.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane_ida.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane_ida.sim & (cd run_ida && ../HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesButane_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.951816411688924]