Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater.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.0009366/0.0009366, 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.0009588/0.0009588, 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.9114/0.9114, allocations: 177.1 MB / 204 MB, free: 5.41 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.0461/0.0461, allocations: 11.7 MB / 272.2 MB, free: 1.832 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.CheckDerivativesWater,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater") translateModel(HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 291.5 MB, free: 17.53 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/2.07e-05, allocations: 2.312 kB / 291.6 MB, free: 17.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater): time 0.01522/0.01524, allocations: 12.99 MB / 304.5 MB, free: 8.969 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008325/0.02357, allocations: 8.32 MB / 312.9 MB, free: 2.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.02368, allocations: 0 / 312.9 MB, free: 2.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.02388, allocations: 35.53 kB / 312.9 MB, free: 2.562 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005479/0.02936, allocations: 1.673 MB / 314.6 MB, free: 1.242 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005943/0.0353, allocations: 2.094 MB / 316.7 MB, free: 15.18 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.03549, allocations: 131 kB / 316.8 MB, free: 15.05 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.652e-05/0.03554, allocations: 7.938 kB / 316.8 MB, free: 15.04 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.153e-05/0.03563, allocations: 67.8 kB / 316.9 MB, free: 14.97 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.419e-05/0.03571, allocations: 39.91 kB / 316.9 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.03573, allocations: 4 kB / 316.9 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01319/0.04892, allocations: 7.111 MB / 324 MB, free: 7.812 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.65e-05/0.04894, allocations: 15.91 kB / 324 MB, free: 7.797 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.765e-05/0.04901, allocations: 39.92 kB / 324.1 MB, free: 7.758 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00657/0.05558, allocations: 4.888 MB / 329 MB, free: 2.859 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.05559, allocations: 0 / 329 MB, free: 2.859 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.05559, allocations: 0 / 329 MB, free: 2.859 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.05559, allocations: 0 / 329 MB, free: 2.859 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001121/0.05671, allocations: 0.8083 MB / 329.8 MB, free: 2.027 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.05674, allocations: 12.03 kB / 329.8 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/0.05695, allocations: 76.8 kB / 329.9 MB, free: 1.941 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.05707, allocations: 137.6 kB / 330 MB, free: 1.781 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.05708, allocations: 8.562 kB / 330 MB, free: 1.773 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.0571, allocations: 8.375 kB / 330 MB, free: 1.766 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004508/0.05755, allocations: 304 kB / 330.3 MB, free: 1.453 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.05756, allocations: 0 / 330.3 MB, free: 1.453 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.05757, allocations: 4 kB / 330.3 MB, free: 1.449 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.05758, allocations: 4 kB / 330.3 MB, free: 1.445 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.05788, allocations: 191.7 kB / 330.5 MB, free: 1.258 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000342/0.05822, allocations: 340.1 kB / 330.8 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.05861, allocations: 238 kB / 331.1 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.249e-05/0.05864, allocations: 30.33 kB / 331.1 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3054/0.3641, allocations: 116.7 MB / 447.8 MB, free: 123.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.3641, allocations: 37.84 kB / 447.8 MB, free: 123.1 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.654e-06/0.3641, allocations: 0.7812 kB / 447.8 MB, free: 123.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007789/0.3649, allocations: 363.2 kB / 448.2 MB, free: 123.1 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.006e-05/0.3649, allocations: 79.55 kB / 448.3 MB, free: 123 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.02e-05/0.3649, allocations: 128.6 kB / 448.4 MB, free: 122.9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.365, allocations: 30.73 kB / 448.4 MB, free: 122.9 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.059e-05/0.365, allocations: 95.52 kB / 448.5 MB, free: 122.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.365, allocations: 53.78 kB / 448.6 MB, free: 122.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.125e-05/0.3651, allocations: 46.86 kB / 448.6 MB, free: 122.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 2.939e-05/0.3651, allocations: 324.9 kB / 448.9 MB, free: 122.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.065e-05/0.3651, allocations: 47.11 kB / 449 MB, free: 122.4 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.144e-05/0.3652, allocations: 79.66 kB / 449.1 MB, free: 122.4 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.3653, allocations: 135.4 kB / 449.2 MB, free: 122.4 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3653, allocations: 4.688 kB / 449.2 MB, free: 122.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001594/0.3655, allocations: 162.4 kB / 449.4 MB, free: 122.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.3655, allocations: 4.812 kB / 449.4 MB, free: 122.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3655, allocations: 1 kB / 449.4 MB, free: 122.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.775e-06/0.3655, allocations: 1.812 kB / 449.4 MB, free: 122.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.3656, allocations: 53.45 kB / 449.4 MB, free: 122.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.3656, allocations: 4.969 kB / 449.4 MB, free: 122.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.189e-05/0.3657, allocations: 14.44 kB / 449.4 MB, free: 122.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.3657, allocations: 13.75 kB / 449.4 MB, free: 122.3 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.437e-05/0.3657, allocations: 122 kB / 449.6 MB, free: 122.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.3658, allocations: 9.75 kB / 449.6 MB, free: 122.2 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008427/0.3666, allocations: 1.25 MB / 450.8 MB, free: 122.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.086e-06/0.3666, allocations: 7.562 kB / 450.8 MB, free: 122.1 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.3666, allocations: 1.125 kB / 450.8 MB, free: 122.1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.3666, allocations: 2.812 kB / 450.8 MB, free: 122.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.3669, allocations: 411.9 kB / 451.2 MB, free: 121.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.3669, allocations: 7.719 kB / 451.2 MB, free: 121.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.367, allocations: 36.31 kB / 451.3 MB, free: 121.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.367, allocations: 0 / 451.3 MB, free: 121.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.367, allocations: 2.812 kB / 451.3 MB, free: 121.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.367, allocations: 3.25 kB / 451.3 MB, free: 121.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.367, allocations: 0 / 451.3 MB, free: 121.9 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.3673, allocations: 0.5207 MB / 451.8 MB, free: 121.6 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.744e-05/0.3673, allocations: 33.84 kB / 451.8 MB, free: 121.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.3673, allocations: 0 / 451.8 MB, free: 121.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.588e-05/0.3674, allocations: 7.75 kB / 451.9 MB, free: 121.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.819e-05/0.3674, allocations: 13.12 kB / 451.9 MB, free: 121.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.3674, allocations: 4 kB / 451.9 MB, free: 121.6 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.404e-05/0.3674, allocations: 22 kB / 451.9 MB, free: 121.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3674, allocations: 2.906 kB / 451.9 MB, free: 121.6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001359/0.3688, allocations: 0.9227 MB / 452.8 MB, free: 121.6 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (d_p_int,d_h_int) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * 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 Backend phase and start with SimCode phase: time 0.002033/0.3708, allocations: 1.32 MB / 454.1 MB, free: 121.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001588/0.371, allocations: 146.3 kB / 454.3 MB, free: 121.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.371, allocations: 7.562 kB / 454.3 MB, free: 121.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.579e-05/0.371, allocations: 81.02 kB / 454.4 MB, free: 121.4 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.3713, allocations: 71.36 kB / 454.4 MB, free: 121.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006585/0.3719, allocations: 497.1 kB / 454.9 MB, free: 121.1 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.396e-05/0.372, allocations: 84.48 kB / 455 MB, free: 121 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001989/0.3722, allocations: 370.3 kB / 455.4 MB, free: 120.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.3723, allocations: 99.41 kB / 455.5 MB, free: 120.7 MB / 394.7 MB Notification: Performance of SimCode: time 8.71e-07/0.3723, allocations: 0 / 455.5 MB, free: 120.7 MB / 394.7 MB Notification: Performance of Templates: time 0.0255/0.3978, allocations: 38.83 MB / 494.3 MB, free: 83.92 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater.sim & (cd run_cvode && ../HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater.pipe 2>&1) [Timeout 240] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater_gbode.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater_gbode.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater_gbode.sim & (cd run_gbode && ../HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater_gbode.pipe 2>&1) [Timeout 240] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater_ida.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater_ida.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater_ida.sim & (cd run_ida && ../HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.287574572488666]