Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.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.CheckDerivativesHelium,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium") translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesHelium,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009828/0.0009829, allocations: 174.4 kB / 15.43 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04772/0.04772, allocations: 9.31 MB / 25.49 MB, free: 3.324 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.598/1.598, allocations: 225.7 MB / 253.5 MB, free: 10.05 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.0007578/0.0007579, allocations: 93 kB / 306.3 MB, free: 14.06 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.000338, allocations: 8.375 kB / 369.1 MB, free: 53.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08507/0.08543, allocations: 52.03 MB / 421.1 MB, free: 18.78 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesHelium): time 0.01353/0.09901, allocations: 18.31 MB / 439.4 MB, free: 15.97 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01625/0.1153, allocations: 18.86 MB / 458.3 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.488e-05/0.1154, allocations: 4 kB / 458.3 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006884/0.1161, allocations: 240.8 kB / 458.5 MB, free: 12.2 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01349/0.1296, allocations: 5.204 MB / 463.7 MB, free: 6.984 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.1309, allocations: 465.8 kB / 464.2 MB, free: 6.527 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.1311, allocations: 191 kB / 464.4 MB, free: 6.34 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.816e-05/0.1312, allocations: 9.125 kB / 464.4 MB, free: 6.328 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.1313, allocations: 83.52 kB / 464.5 MB, free: 6.246 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.681e-05/0.1314, allocations: 47.84 kB / 464.5 MB, free: 6.199 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.1314, allocations: 7.938 kB / 464.5 MB, free: 6.191 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01426/0.1457, allocations: 8.004 MB / 472.5 MB, free: 14.17 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.644e-05/0.1458, allocations: 15.86 kB / 472.5 MB, free: 14.15 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.1459, allocations: 73.5 kB / 472.6 MB, free: 14.07 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01021/0.1561, allocations: 3.866 MB / 476.5 MB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1561, allocations: 0 / 476.5 MB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1562, allocations: 0 / 476.5 MB, free: 10.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1562, allocations: 0 / 476.5 MB, free: 10.2 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.001781/0.158, allocations: 0.885 MB / 477.4 MB, free: 9.266 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.158, allocations: 15.97 kB / 477.4 MB, free: 9.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.1582, allocations: 27.83 kB / 477.4 MB, free: 9.223 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.1584, allocations: 194.8 kB / 477.6 MB, free: 8.992 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.1584, allocations: 8 kB / 477.6 MB, free: 8.984 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.1584, allocations: 4 kB / 477.6 MB, free: 8.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.1586, allocations: 131.4 kB / 477.7 MB, free: 8.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1586, allocations: 0 / 477.7 MB, free: 8.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.1586, allocations: 4 kB / 477.7 MB, free: 8.836 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.1587, allocations: 3.938 kB / 477.7 MB, free: 8.832 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.1588, allocations: 99.89 kB / 477.8 MB, free: 8.734 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006213/0.1594, allocations: 0.5739 MB / 478.4 MB, free: 8.082 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.1597, allocations: 125.1 kB / 478.5 MB, free: 7.941 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.1598, allocations: 85.69 kB / 478.6 MB, free: 7.852 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05299/0.2128, allocations: 32.34 MB / 0.499 GB, free: 1.973 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.2129, allocations: 34.56 kB / 0.499 GB, free: 1.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 2.315e-06/0.2129, allocations: 0 / 0.499 GB, free: 1.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006059/0.2135, allocations: 229.2 kB / 0.4992 GB, free: 1.699 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.2135, allocations: 85.05 kB / 0.4993 GB, free: 1.598 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.2137, allocations: 125.8 kB / 0.4994 GB, free: 1.465 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.2137, allocations: 25.7 kB / 0.4995 GB, free: 1.434 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.2137, allocations: 88.56 kB / 0.4995 GB, free: 1.344 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.775e-05/0.2138, allocations: 78.84 kB / 0.4996 GB, free: 1.266 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.124e-06/0.2138, allocations: 4 kB / 0.4996 GB, free: 1.262 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.2139, allocations: 326.8 kB / 0.4999 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.68e-05/0.214, allocations: 43.98 kB / 0.5 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.95e-05/0.2141, allocations: 61.7 kB / 0.5 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.2143, allocations: 117.8 kB / 0.5002 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2143, allocations: 0 / 0.5002 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002218/0.2145, allocations: 173.4 kB / 0.5003 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.2146, allocations: 4 kB / 0.5003 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2146, allocations: 0 / 0.5003 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.2146, allocations: 7.984 kB / 0.5003 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.262e-05/0.2147, allocations: 20 kB / 0.5003 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.2147, allocations: 7.875 kB / 0.5004 GB, free: 500 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.024e-05/0.2148, allocations: 15.84 kB / 0.5004 GB, free: 484 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.2148, allocations: 4 kB / 0.5004 GB, free: 480 kB / 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 8.43e-05/0.2149, allocations: 117.8 kB / 0.5005 GB, free: 352 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/0.2149, allocations: 11.89 kB / 0.5005 GB, free: 340 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004207/0.2153, allocations: 315.3 kB / 0.5008 GB, free: 20 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1667/0.3821, allocations: 236.1 kB / 0.501 GB, free: 92.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.3821, allocations: 0 / 0.501 GB, free: 92.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.3821, allocations: 3 kB / 0.501 GB, free: 92.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008933/0.383, allocations: 0.7524 MB / 0.5018 GB, free: 91.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.3831, allocations: 3.906 kB / 0.5018 GB, free: 91.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.3832, allocations: 39.64 kB / 0.5018 GB, free: 91.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.3832, allocations: 5.875 kB / 0.5018 GB, free: 91.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.3833, allocations: 7.094 kB / 0.5018 GB, free: 91.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.3833, allocations: 1.125 kB / 0.5018 GB, free: 91.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3833, allocations: 1.156 kB / 0.5018 GB, free: 91.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004996/0.3838, allocations: 0.5151 MB / 0.5023 GB, free: 91.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.761e-05/0.3838, allocations: 100.1 kB / 0.5024 GB, free: 91.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.3839, allocations: 6.438 kB / 0.5024 GB, free: 91.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.384, allocations: 6.375 kB / 0.5024 GB, free: 91.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.384, allocations: 17 kB / 0.5024 GB, free: 91.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.3841, allocations: 6.078 kB / 0.5025 GB, free: 91.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.69e-05/0.3841, allocations: 96.48 kB / 0.5025 GB, free: 91.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3841, allocations: 0 / 0.5025 GB, free: 91.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002979/0.3871, allocations: 0.9362 MB / 0.5035 GB, free: 91.44 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.003511/0.3906, allocations: 1.442 MB / 0.5049 GB, free: 91.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003622/0.391, allocations: 235.4 kB / 0.5051 GB, free: 91.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.391, allocations: 0 / 0.5051 GB, free: 91.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.3912, allocations: 118 kB / 0.5052 GB, free: 91.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008897/0.3921, allocations: 144.1 kB / 0.5053 GB, free: 91.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007765/0.3929, allocations: 0.593 MB / 0.5059 GB, free: 90.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.393, allocations: 0.732 MB / 0.5066 GB, free: 90.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000142/0.3932, allocations: 51.28 kB / 0.5067 GB, free: 90.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.043e-05/0.3932, allocations: 26.69 kB / 0.5067 GB, free: 90.14 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.3932, allocations: 0 / 0.5067 GB, free: 90.14 MB / 378.7 MB Notification: Performance of Templates: time 0.03211/0.4253, allocations: 27.71 MB / 0.5338 GB, free: 67.68 MB / 378.7 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe 2>&1)