Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HelmholtzMedia with version (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesWater,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater") translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesWater,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 180.6 kB / 15.43 MB, free: 5.773 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.07744/0.07744, allocations: 9.311 MB / 25.49 MB, free: 3.273 MB / 18.57 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.7 MB / 253.5 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007903/0.0007903, allocations: 95.83 kB / 306.3 MB, free: 14.07 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004705/0.0004707, allocations: 7.562 kB / 369.1 MB, free: 53.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1005, allocations: 52.02 MB / 421.1 MB, free: 18.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesWater): time 0.01139/0.112, allocations: 15.45 MB / 436.6 MB, free: 2.684 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.011/0.123, allocations: 12.86 MB / 449.4 MB, free: 4.828 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.268e-05/0.1231, allocations: 4 kB / 449.4 MB, free: 4.824 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00018/0.1233, allocations: 39.78 kB / 449.5 MB, free: 4.785 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00441/0.1277, allocations: 1.468 MB / 450.9 MB, free: 3.312 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00599/0.1337, allocations: 1.788 MB / 452.7 MB, free: 1.52 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.1339, allocations: 123.2 kB / 452.8 MB, free: 1.398 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.594e-05/0.134, allocations: 11.98 kB / 452.9 MB, free: 1.387 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.728e-05/0.1341, allocations: 39.75 kB / 452.9 MB, free: 1.348 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.276e-05/0.1342, allocations: 55.77 kB / 452.9 MB, free: 1.293 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.1342, allocations: 4 kB / 452.9 MB, free: 1.289 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01185/0.146, allocations: 6.599 MB / 459.5 MB, free: 10.68 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.719e-05/0.1461, allocations: 11.94 kB / 459.6 MB, free: 10.67 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.828e-05/0.1462, allocations: 77.48 kB / 459.6 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007895/0.1541, allocations: 3.785 MB / 463.4 MB, free: 6.793 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.1542, allocations: 0 / 463.4 MB, free: 6.793 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1542, allocations: 0 / 463.4 MB, free: 6.793 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1542, allocations: 0 / 463.4 MB, free: 6.793 MB / 330.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.002317/0.1565, allocations: 0.8658 MB / 464.3 MB, free: 5.879 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1565, allocations: 8.031 kB / 464.3 MB, free: 5.871 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003187/0.1569, allocations: 40.8 kB / 464.3 MB, free: 5.832 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.1571, allocations: 208.1 kB / 464.5 MB, free: 5.59 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.1571, allocations: 8.562 kB / 464.5 MB, free: 5.582 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.1572, allocations: 15.94 kB / 464.6 MB, free: 5.566 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007708/0.1579, allocations: 257.2 kB / 464.8 MB, free: 5.305 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.158, allocations: 0 / 464.8 MB, free: 5.305 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.158, allocations: 4 kB / 464.8 MB, free: 5.301 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.158, allocations: 7.984 kB / 464.8 MB, free: 5.293 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007183/0.1587, allocations: 219.7 kB / 465 MB, free: 5.078 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000691/0.1594, allocations: 0.6623 MB / 465.7 MB, free: 4.312 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007709/0.1602, allocations: 241 kB / 465.9 MB, free: 4.059 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.739e-05/0.1603, allocations: 53.64 kB / 466 MB, free: 4 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2935/0.4539, allocations: 64.59 MB / 0.5181 GB, free: 78.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.4539, allocations: 36.56 kB / 0.5182 GB, free: 78.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.954e-06/0.4539, allocations: 0 / 0.5182 GB, free: 78.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.001447/0.4554, allocations: 360.2 kB / 0.5185 GB, free: 78.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.4554, allocations: 89.31 kB / 0.5186 GB, free: 78.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.521e-05/0.4555, allocations: 128.5 kB / 0.5187 GB, free: 78.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.4556, allocations: 31.89 kB / 0.5188 GB, free: 78.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.597e-05/0.4556, allocations: 96.52 kB / 0.5189 GB, free: 78.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.555e-05/0.4557, allocations: 52.31 kB / 0.5189 GB, free: 78.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.604e-05/0.4557, allocations: 5.969 kB / 0.5189 GB, free: 78.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.022e-05/0.4557, allocations: 318.5 kB / 0.5192 GB, free: 77.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.4559, allocations: 56.12 kB / 0.5193 GB, free: 77.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.456, allocations: 90.73 kB / 0.5194 GB, free: 77.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/0.4562, allocations: 154.2 kB / 0.5195 GB, free: 77.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4563, allocations: 5.797 kB / 0.5195 GB, free: 77.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003694/0.4566, allocations: 209.2 kB / 0.5197 GB, free: 77.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.4566, allocations: 6.188 kB / 0.5197 GB, free: 77.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.4567, allocations: 0 / 0.5197 GB, free: 77.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.4567, allocations: 3.75 kB / 0.5197 GB, free: 77.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.4569, allocations: 61.64 kB / 0.5198 GB, free: 77.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.4569, allocations: 0 / 0.5198 GB, free: 77.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.457, allocations: 12.52 kB / 0.5198 GB, free: 77.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.4571, allocations: 23.91 kB / 0.5198 GB, free: 77.53 MB / 378.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.137e-05/0.4572, allocations: 119.3 kB / 0.5199 GB, free: 77.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-05/0.4572, allocations: 13.28 kB / 0.5199 GB, free: 77.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/0.4588, allocations: 2.104 MB / 0.522 GB, free: 76.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.4588, allocations: 7.984 kB / 0.522 GB, free: 76.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.4588, allocations: 0 / 0.522 GB, free: 76.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4588, allocations: 0 / 0.522 GB, free: 76.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006048/0.4594, allocations: 1.054 MB / 0.523 GB, free: 75.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.4594, allocations: 0 / 0.523 GB, free: 75.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.4596, allocations: 35.91 kB / 0.5231 GB, free: 75.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.4596, allocations: 8 kB / 0.5231 GB, free: 75.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.4597, allocations: 4.688 kB / 0.5231 GB, free: 75.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4597, allocations: 3.984 kB / 0.5231 GB, free: 75.26 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.4597, allocations: 6.719 kB / 0.5231 GB, free: 75.26 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004807/0.4602, allocations: 0.6269 MB / 0.5237 GB, free: 74.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.062e-05/0.4602, allocations: 103.5 kB / 0.5238 GB, free: 74.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.4602, allocations: 5.688 kB / 0.5238 GB, free: 74.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.4604, allocations: 15.91 kB / 0.5238 GB, free: 74.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-05/0.4604, allocations: 7.984 kB / 0.5238 GB, free: 74.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.4604, allocations: 8 kB / 0.5238 GB, free: 74.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.947e-05/0.4605, allocations: 99.27 kB / 0.5239 GB, free: 74.37 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4605, allocations: 0 / 0.5239 GB, free: 74.37 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00195/0.4624, allocations: 0.9111 MB / 0.5248 GB, free: 73.53 MB / 378.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.00305/0.4655, allocations: 1.108 MB / 0.5259 GB, free: 72.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003287/0.4658, allocations: 215.5 kB / 0.5261 GB, free: 72.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4659, allocations: 0 / 0.5261 GB, free: 72.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.466, allocations: 161.8 kB / 0.5263 GB, free: 72.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005506/0.4666, allocations: 65.61 kB / 0.5263 GB, free: 72.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007471/0.4673, allocations: 0.6831 MB / 0.527 GB, free: 71.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.4675, allocations: 0.7289 MB / 0.5277 GB, free: 70.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003298/0.4678, allocations: 395.3 kB / 0.5281 GB, free: 70.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.641e-05/0.4679, allocations: 31.42 kB / 0.5281 GB, free: 70.25 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4679, allocations: 0 / 0.5281 GB, free: 70.25 MB / 378.7 MB Notification: Performance of Templates: time 0.03105/0.499, allocations: 33.54 MB / 0.5609 GB, free: 36.73 MB / 378.7 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe 2>&1)