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.001552/0.001552, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001651/0.001651, allocations: 165.9 kB / 22.46 MB, free: 2.105 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 1.106/1.106, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.04569/0.04569, allocations: 11.36 MB / 270.6 MB, free: 2.582 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: "" <> buildModelFMU(HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Validation_Derivatives_CheckDerivativesWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Validation_Derivatives_CheckDerivativesWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 397.7 MB, free: 448 kB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.848e-05/3.074e-05, allocations: 6.219 kB / 397.7 MB, free: 440 kB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater): time 0.01329/0.01332, allocations: 11.86 MB / 409.5 MB, free: 4.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007867/0.02119, allocations: 7.505 MB / 417 MB, free: 12.99 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.02131, allocations: 0 / 417 MB, free: 12.99 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002742/0.02159, allocations: 43.73 kB / 417.1 MB, free: 12.95 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0053/0.02689, allocations: 1.889 MB / 419 MB, free: 11.06 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005858/0.03275, allocations: 2.285 MB / 421.2 MB, free: 8.777 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.03294, allocations: 139 kB / 421.4 MB, free: 8.641 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.884e-05/0.03301, allocations: 8 kB / 421.4 MB, free: 8.633 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.905e-05/0.0331, allocations: 59.83 kB / 421.5 MB, free: 8.574 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.0332, allocations: 43.89 kB / 421.5 MB, free: 8.531 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.03322, allocations: 0 / 421.5 MB, free: 8.531 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01056/0.04378, allocations: 6.645 MB / 428.1 MB, free: 1.879 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.504e-05/0.04381, allocations: 15.92 kB / 428.2 MB, free: 1.863 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.899e-05/0.0439, allocations: 35.92 kB / 428.2 MB, free: 1.828 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008817/0.05272, allocations: 4.888 MB / 433.1 MB, free: 12.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.05272, allocations: 0 / 433.1 MB, free: 12.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.05273, allocations: 0 / 433.1 MB, free: 12.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.05274, allocations: 0 / 433.1 MB, free: 12.93 MB / 410.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.001911/0.05465, allocations: 0.8185 MB / 433.9 MB, free: 12.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.743e-05/0.05472, allocations: 8.031 kB / 433.9 MB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.02e-05/0.05478, allocations: 50.73 kB / 434 MB, free: 12.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002627/0.05504, allocations: 48.8 kB / 434 MB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.05527, allocations: 149.6 kB / 434.1 MB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.05529, allocations: 8.562 kB / 434.2 MB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.05532, allocations: 8.375 kB / 434.2 MB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00059/0.05591, allocations: 265.9 kB / 434.4 MB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.05592, allocations: 0 / 434.4 MB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.05594, allocations: 8 kB / 434.4 MB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.05594, allocations: 0 / 434.4 MB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004499/0.05639, allocations: 219.7 kB / 434.6 MB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006032/0.057, allocations: 447.7 kB / 435.1 MB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00056/0.05756, allocations: 221.1 kB / 435.3 MB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.778e-05/0.05763, allocations: 49.75 kB / 435.3 MB, free: 10.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3213/0.3789, allocations: 35.06 MB / 470.4 MB, free: 83.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.379, allocations: 32.59 kB / 470.4 MB, free: 83.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.865e-06/0.379, allocations: 4 kB / 470.4 MB, free: 83.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.001267/0.3802, allocations: 369.2 kB / 470.8 MB, free: 83.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.3803, allocations: 83.08 kB / 470.9 MB, free: 83.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.3804, allocations: 134.5 kB / 471 MB, free: 83.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.3804, allocations: 26.77 kB / 471 MB, free: 82.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/0.3805, allocations: 96.27 kB / 471.1 MB, free: 82.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.972e-05/0.3805, allocations: 60.06 kB / 471.2 MB, free: 82.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.659e-05/0.3806, allocations: 58.08 kB / 471.3 MB, free: 82.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.137e-05/0.3806, allocations: 321.6 kB / 471.6 MB, free: 82.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.3808, allocations: 55.44 kB / 471.6 MB, free: 82.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.3809, allocations: 94.72 kB / 471.7 MB, free: 82.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/0.3811, allocations: 152.1 kB / 471.9 MB, free: 82.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.3811, allocations: 1.125 kB / 471.9 MB, free: 82.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003975/0.3815, allocations: 213.6 kB / 472.1 MB, free: 82.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.3816, allocations: 5.578 kB / 472.1 MB, free: 82.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.3816, allocations: 1.219 kB / 472.1 MB, free: 82.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.233e-05/0.3816, allocations: 2.75 kB / 472.1 MB, free: 82.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.3818, allocations: 54.69 kB / 472.1 MB, free: 82.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.3818, allocations: 9.938 kB / 472.1 MB, free: 82.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.356e-05/0.3818, allocations: 18.5 kB / 472.2 MB, free: 82.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.3819, allocations: 17.66 kB / 472.2 MB, free: 82.28 MB / 410.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_h.phase,state_p.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 8.877e-05/0.382, allocations: 115.7 kB / 472.3 MB, free: 82.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.032e-05/0.382, allocations: 14.31 kB / 472.3 MB, free: 82.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002073/0.3841, allocations: 2.248 MB / 474.6 MB, free: 81.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/0.3841, allocations: 7.781 kB / 474.6 MB, free: 81.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.3841, allocations: 3.938 kB / 474.6 MB, free: 81.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.3841, allocations: 2.875 kB / 474.6 MB, free: 81.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000905/0.385, allocations: 1.059 MB / 475.6 MB, free: 80.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.385, allocations: 8.578 kB / 475.6 MB, free: 80.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.3852, allocations: 36.75 kB / 475.7 MB, free: 80.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.3852, allocations: 1.188 kB / 475.7 MB, free: 80.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.3852, allocations: 6.094 kB / 475.7 MB, free: 80.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3852, allocations: 1.188 kB / 475.7 MB, free: 80.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3852, allocations: 3.938 kB / 475.7 MB, free: 80.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000631/0.3858, allocations: 0.6586 MB / 476.3 MB, free: 80.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.819e-05/0.3859, allocations: 22.05 kB / 476.4 MB, free: 80.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.3859, allocations: 3.609 kB / 476.4 MB, free: 80.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-05/0.386, allocations: 5.094 kB / 476.4 MB, free: 80.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.386, allocations: 13.64 kB / 476.4 MB, free: 80.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.386, allocations: 7.469 kB / 476.4 MB, free: 80.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.977e-05/0.3861, allocations: 101.6 kB / 476.5 MB, free: 79.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3861, allocations: 0.9688 kB / 476.5 MB, free: 79.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002802/0.3889, allocations: 0.9269 MB / 477.4 MB, free: 79.91 MB / 410.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.004183/0.3931, allocations: 2.318 MB / 479.7 MB, free: 78.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004116/0.3935, allocations: 219.2 kB / 480 MB, free: 78.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3935, allocations: 1.125 kB / 480 MB, free: 78.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000168/0.3936, allocations: 135.7 kB / 480.1 MB, free: 78.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004561/0.3941, allocations: 75.45 kB / 480.2 MB, free: 78.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003055/0.3971, allocations: 2.573 MB / 482.7 MB, free: 76.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.3973, allocations: 123.7 kB / 482.9 MB, free: 76.74 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004608/0.3977, allocations: 382 kB / 483.2 MB, free: 76.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.3979, allocations: 71.02 kB / 483.3 MB, free: 76.67 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.3979, allocations: 1.25 kB / 483.3 MB, free: 76.67 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.139/0.5369, allocations: 37.6 MB / 0.5087 GB, free: 42.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.688/10.23, allocations: 3.938 kB / 0.5087 GB, free: 42.54 MB / 410.7 MB " [Timeout remaining time 650] (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_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Validation_Derivatives_CheckDerivativesWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-10 ../HelmholtzMedia_HelmholtzMedia_Validation_Derivatives_CheckDerivativesWater.fmu) > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater.pipe 2>&1) [Timeout 52.5] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater_fmpy.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater_fmpy.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-10 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../HelmholtzMedia_HelmholtzMedia_Validation_Derivatives_CheckDerivativesWater.fmu) > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.900970241986215]