Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.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.CheckDerivativesCarbondioxide,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide") translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 176.5 kB / 15.43 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.07305/0.07305, allocations: 9.312 MB / 25.49 MB, free: 3.457 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.406/1.406, allocations: 225.7 MB / 253.5 MB, free: 10.3 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.001124/0.001124, allocations: 100.2 kB / 306.3 MB, free: 14.07 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003428, allocations: 8.766 kB / 369.1 MB, free: 53.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09383/0.09419, allocations: 52.03 MB / 421.1 MB, free: 18.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide): time 0.01394/0.1082, allocations: 18.38 MB / 439.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0161/0.1243, allocations: 18.96 MB / 458.5 MB, free: 12.28 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.1245, allocations: 3.938 kB / 458.5 MB, free: 12.27 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006982/0.1252, allocations: 260.9 kB / 458.7 MB, free: 12.02 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01525/0.1404, allocations: 5.474 MB / 464.2 MB, free: 6.531 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.1417, allocations: 477.8 kB / 464.7 MB, free: 6.062 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.1419, allocations: 203 kB / 464.9 MB, free: 5.863 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.788e-05/0.142, allocations: 9.125 kB / 464.9 MB, free: 5.852 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.1421, allocations: 87.52 kB / 465 MB, free: 5.766 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.691e-05/0.1422, allocations: 59.78 kB / 465 MB, free: 5.707 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.1423, allocations: 7.938 kB / 465 MB, free: 5.699 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01692/0.1592, allocations: 8.745 MB / 473.8 MB, free: 12.93 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.231e-05/0.1593, allocations: 19.84 kB / 473.8 MB, free: 12.91 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.1594, allocations: 77.45 kB / 473.9 MB, free: 12.83 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01343/0.1728, allocations: 3.987 MB / 477.8 MB, free: 8.836 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.1729, allocations: 4 kB / 477.8 MB, free: 8.832 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1729, allocations: 0 / 477.8 MB, free: 8.832 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1729, allocations: 0 / 477.8 MB, free: 8.832 MB / 346.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.002453/0.1754, allocations: 0.8772 MB / 478.7 MB, free: 7.906 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.1755, allocations: 8.031 kB / 478.7 MB, free: 7.898 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002546/0.1757, allocations: 31.83 kB / 478.8 MB, free: 7.867 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.1761, allocations: 202.8 kB / 479 MB, free: 7.629 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.1761, allocations: 4 kB / 479 MB, free: 7.625 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.724e-05/0.1762, allocations: 8 kB / 479 MB, free: 7.617 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/0.1765, allocations: 123.4 kB / 479.1 MB, free: 7.484 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1765, allocations: 0 / 479.1 MB, free: 7.484 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.1765, allocations: 4 kB / 479.1 MB, free: 7.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.1766, allocations: 11.88 kB / 479.1 MB, free: 7.469 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002302/0.1768, allocations: 95.89 kB / 479.2 MB, free: 7.375 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.1779, allocations: 0.5737 MB / 479.8 MB, free: 6.723 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004053/0.1784, allocations: 133.1 kB / 479.9 MB, free: 6.574 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.1786, allocations: 85.7 kB / 480 MB, free: 6.484 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06259/0.2412, allocations: 32.34 MB / 0.5003 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.2413, allocations: 38.56 kB / 0.5004 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 4.118e-06/0.2413, allocations: 3.984 kB / 0.5004 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007013/0.242, allocations: 225.2 kB / 0.5006 GB, free: 344 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.2421, allocations: 77.11 kB / 0.5006 GB, free: 248 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.2422, allocations: 125.8 kB / 0.5008 GB, free: 112 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/0.2422, allocations: 29.7 kB / 0.5008 GB, free: 76 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1992/0.4414, allocations: 91.27 kB / 0.5009 GB, free: 92.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.706e-05/0.4415, allocations: 80.03 kB / 0.501 GB, free: 92.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-06/0.4415, allocations: 1.75 kB / 0.501 GB, free: 92.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.055e-05/0.4416, allocations: 326.6 kB / 0.5013 GB, free: 92.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.4417, allocations: 41.83 kB / 0.5013 GB, free: 92.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.364e-05/0.4418, allocations: 65.16 kB / 0.5014 GB, free: 92.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.4419, allocations: 120.2 kB / 0.5015 GB, free: 92.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.442, allocations: 3.406 kB / 0.5015 GB, free: 92.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002396/0.4422, allocations: 170 kB / 0.5017 GB, free: 92.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.4422, allocations: 5.938 kB / 0.5017 GB, free: 92.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.4422, allocations: 0 / 0.5017 GB, free: 92.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.4423, allocations: 0 / 0.5017 GB, free: 92.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.4424, allocations: 17.92 kB / 0.5017 GB, free: 92.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.4424, allocations: 0 / 0.5017 GB, free: 92.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.393e-05/0.4425, allocations: 18.41 kB / 0.5017 GB, free: 92.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.4425, allocations: 6.188 kB / 0.5017 GB, free: 92.12 MB / 378.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 6.498e-05/0.4426, allocations: 119.6 kB / 0.5018 GB, free: 92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.596e-05/0.4426, allocations: 18.56 kB / 0.5018 GB, free: 92 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004011/0.443, allocations: 302.5 kB / 0.5021 GB, free: 91.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002628/0.4433, allocations: 247.2 kB / 0.5024 GB, free: 91.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4433, allocations: 0.875 kB / 0.5024 GB, free: 91.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.4433, allocations: 2.984 kB / 0.5024 GB, free: 91.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008459/0.4442, allocations: 0.7539 MB / 0.5031 GB, free: 91.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.4442, allocations: 4.203 kB / 0.5031 GB, free: 91.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.4443, allocations: 41.31 kB / 0.5031 GB, free: 91.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.4444, allocations: 1.531 kB / 0.5031 GB, free: 91.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.4444, allocations: 6.391 kB / 0.5031 GB, free: 91.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.4444, allocations: 2.656 kB / 0.5032 GB, free: 91.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4444, allocations: 4.641 kB / 0.5032 GB, free: 91.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005399/0.4449, allocations: 0.524 MB / 0.5037 GB, free: 91.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.281e-05/0.445, allocations: 93.08 kB / 0.5038 GB, free: 91.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.445, allocations: 5.281 kB / 0.5038 GB, free: 91.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.4452, allocations: 10.52 kB / 0.5038 GB, free: 91.15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.4452, allocations: 19.09 kB / 0.5038 GB, free: 91.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.4452, allocations: 15.25 kB / 0.5038 GB, free: 91.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.128e-05/0.4453, allocations: 99.31 kB / 0.5039 GB, free: 91.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4453, allocations: 0 / 0.5039 GB, free: 91.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002433/0.4477, allocations: 0.9262 MB / 0.5048 GB, free: 91.04 MB / 378.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: 4 (state_h.phase,$cse2.phase,state_p.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * 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.003313/0.451, allocations: 1.473 MB / 0.5062 GB, free: 90.81 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003504/0.4514, allocations: 233.9 kB / 0.5065 GB, free: 90.74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4514, allocations: 0 / 0.5065 GB, free: 90.74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.4516, allocations: 123.4 kB / 0.5066 GB, free: 90.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000919/0.4525, allocations: 143.2 kB / 0.5067 GB, free: 90.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008938/0.4534, allocations: 0.5725 MB / 0.5073 GB, free: 90.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.4537, allocations: 0.7349 MB / 0.508 GB, free: 89.72 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002294/0.4539, allocations: 55.88 kB / 0.508 GB, free: 89.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.214e-05/0.454, allocations: 23.8 kB / 0.5081 GB, free: 89.7 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.454, allocations: 3.938 kB / 0.5081 GB, free: 89.7 MB / 378.7 MB Notification: Performance of Templates: time 0.03153/0.4855, allocations: 27.77 MB / 0.5352 GB, free: 66.62 MB / 378.7 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.pipe 2>&1)