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.001294/0.001294, 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.0009379/0.0009379, 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.8952/0.8952, allocations: 177.1 MB / 204 MB, free: 5.395 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.04796/0.04796, allocations: 11.72 MB / 272.2 MB, free: 1.797 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.743e-06/1.743e-06, allocations: 0 / 291.6 MB, free: 17 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.491e-05/1.665e-05, allocations: 2.312 kB / 291.6 MB, free: 16.99 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater): time 0.01286/0.01287, allocations: 13 MB / 304.6 MB, free: 8.754 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00718/0.02005, allocations: 8.317 MB / 312.9 MB, free: 2.379 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.854e-05/0.02013, allocations: 4 kB / 312.9 MB, free: 2.375 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001631/0.02029, allocations: 41.12 kB / 312.9 MB, free: 2.344 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004291/0.02458, allocations: 1.672 MB / 314.6 MB, free: 1.023 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004638/0.02922, allocations: 2.093 MB / 316.7 MB, free: 14.97 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.02939, allocations: 135 kB / 316.8 MB, free: 14.84 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.303e-05/0.02943, allocations: 7.938 kB / 316.8 MB, free: 14.83 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.135e-05/0.02951, allocations: 59.88 kB / 316.9 MB, free: 14.77 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.652e-05/0.02959, allocations: 39.83 kB / 316.9 MB, free: 14.73 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.0296, allocations: 4 kB / 316.9 MB, free: 14.73 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009188/0.03879, allocations: 7.12 MB / 324.1 MB, free: 7.605 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.132e-05/0.03881, allocations: 11.92 kB / 324.1 MB, free: 7.594 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.448e-05/0.03888, allocations: 35.92 kB / 324.1 MB, free: 7.559 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007259/0.04614, allocations: 4.888 MB / 329 MB, free: 2.66 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.04614, allocations: 4 kB / 329 MB, free: 2.656 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.04614, allocations: 4 kB / 329 MB, free: 2.652 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.04615, allocations: 0 / 329 MB, free: 2.652 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.001745/0.04789, allocations: 0.8083 MB / 329.8 MB, free: 1.82 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.04792, allocations: 12.03 kB / 329.8 MB, free: 1.809 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002311/0.04815, allocations: 68.81 kB / 329.9 MB, free: 1.742 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.04828, allocations: 141.5 kB / 330 MB, free: 1.578 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.04829, allocations: 8.562 kB / 330 MB, free: 1.57 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.04831, allocations: 8.375 kB / 330 MB, free: 1.562 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004817/0.04879, allocations: 307.7 kB / 330.3 MB, free: 1.25 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.0488, allocations: 0 / 330.3 MB, free: 1.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.04881, allocations: 8 kB / 330.3 MB, free: 1.242 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.04881, allocations: 4 kB / 330.3 MB, free: 1.238 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003233/0.04914, allocations: 185.4 kB / 330.5 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.04949, allocations: 344.1 kB / 330.9 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004161/0.04991, allocations: 230 kB / 331.1 MB, free: 472 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.076e-05/0.04994, allocations: 27.58 kB / 331.1 MB, free: 440 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3043/0.3543, allocations: 116.7 MB / 447.8 MB, free: 123.6 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.3543, allocations: 33.44 kB / 447.9 MB, free: 123.6 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 2.324e-06/0.3543, allocations: 0 / 447.9 MB, free: 123.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008366/0.3552, allocations: 360.4 kB / 448.2 MB, free: 123.6 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.3552, allocations: 85.08 kB / 448.3 MB, free: 123.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.109e-05/0.3552, allocations: 124.4 kB / 448.4 MB, free: 123.4 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.3553, allocations: 30.73 kB / 448.5 MB, free: 123.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.28e-05/0.3553, allocations: 98 kB / 448.6 MB, free: 123.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/0.3553, allocations: 49.7 kB / 448.6 MB, free: 123.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.955e-05/0.3554, allocations: 49.3 kB / 448.6 MB, free: 123.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.261e-05/0.3554, allocations: 326.5 kB / 449 MB, free: 122.9 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.212e-05/0.3555, allocations: 50.17 kB / 449 MB, free: 122.9 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.965e-05/0.3555, allocations: 77.56 kB / 449.1 MB, free: 122.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.3557, allocations: 138.2 kB / 449.2 MB, free: 122.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3557, allocations: 0 / 449.2 MB, free: 122.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001755/0.3559, allocations: 153.1 kB / 449.4 MB, free: 122.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.3559, allocations: 5.5 kB / 449.4 MB, free: 122.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3559, allocations: 4.719 kB / 449.4 MB, free: 122.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.3559, allocations: 1.906 kB / 449.4 MB, free: 122.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.356, allocations: 55.08 kB / 449.4 MB, free: 122.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.356, allocations: 7.141 kB / 449.5 MB, free: 122.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.631e-05/0.3561, allocations: 16.61 kB / 449.5 MB, free: 122.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.3561, allocations: 10.66 kB / 449.5 MB, free: 122.8 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 6.293e-05/0.3561, allocations: 121.3 kB / 449.6 MB, free: 122.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.3562, allocations: 14.02 kB / 449.6 MB, free: 122.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008785/0.3571, allocations: 1.24 MB / 450.8 MB, free: 122.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.3571, allocations: 9.422 kB / 450.9 MB, free: 122.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.3571, allocations: 9.844 kB / 450.9 MB, free: 122.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3571, allocations: 0 / 450.9 MB, free: 122.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002915/0.3574, allocations: 414 kB / 451.3 MB, free: 122.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.3574, allocations: 2.75 kB / 451.3 MB, free: 122.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.3575, allocations: 36.72 kB / 451.3 MB, free: 122.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3575, allocations: 3.375 kB / 451.3 MB, free: 122.4 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.3575, allocations: 3.562 kB / 451.3 MB, free: 122.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3575, allocations: 1.375 kB / 451.3 MB, free: 122.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3575, allocations: 1.906 kB / 451.3 MB, free: 122.4 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.3578, allocations: 0.5179 MB / 451.8 MB, free: 122.1 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.996e-05/0.3578, allocations: 27.39 kB / 451.9 MB, free: 122.1 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.3578, allocations: 5.094 kB / 451.9 MB, free: 122.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.109e-05/0.3579, allocations: 5 kB / 451.9 MB, free: 122.1 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.089e-05/0.3579, allocations: 14.5 kB / 451.9 MB, free: 122.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.3579, allocations: 2.562 kB / 451.9 MB, free: 122.1 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.917e-05/0.3579, allocations: 21.66 kB / 451.9 MB, free: 122.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3579, allocations: 0 / 451.9 MB, free: 122.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001484/0.3594, allocations: 0.9263 MB / 452.8 MB, free: 122 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.002262/0.3617, allocations: 1.323 MB / 454.2 MB, free: 121.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001793/0.3618, allocations: 148 kB / 454.3 MB, free: 121.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.3619, allocations: 0 / 454.3 MB, free: 121.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.071e-05/0.3619, allocations: 82.47 kB / 454.4 MB, free: 121.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.3622, allocations: 69.23 kB / 454.5 MB, free: 121.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007069/0.3629, allocations: 0.4921 MB / 454.9 MB, free: 121.4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.566e-05/0.3629, allocations: 85.81 kB / 455 MB, free: 121.3 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000218/0.3632, allocations: 374.7 kB / 455.4 MB, free: 121.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.3633, allocations: 101.4 kB / 455.5 MB, free: 121 MB / 394.7 MB Notification: Performance of SimCode: time 7.81e-07/0.3633, allocations: 0 / 455.5 MB, free: 121 MB / 394.7 MB Notification: Performance of Templates: time 0.02862/0.3919, allocations: 38.81 MB / 494.3 MB, free: 84.21 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.2786692045629025]