Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 207.6 MB / 231.4 MB, free: 3.402 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05231/0.05231, allocations: 9.159 MB / 292.6 MB, free: 6.203 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesHelium,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium") translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesHelium,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003348/0.003348, allocations: 70.41 kB / 409.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3662, allocations: 50.71 MB / 459.9 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesHelium): time 0.02291/0.3891, allocations: 17.46 MB / 477.3 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01951/0.4086, allocations: 16.84 MB / 494.2 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.4088, allocations: 0 / 494.2 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.4099, allocations: 303.1 kB / 494.5 MB, free: 4.551 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeBindings: time 0.01922/0.4292, allocations: 6.365 MB / 0.4891 GB, free: 14.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001931/0.4311, allocations: 0.5947 MB / 0.4897 GB, free: 13.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002988/0.4314, allocations: 191 kB / 0.4899 GB, free: 13.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.998e-05/0.4314, allocations: 9.062 kB / 0.4899 GB, free: 13.37 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.4316, allocations: 83.64 kB / 0.4899 GB, free: 13.29 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.4317, allocations: 51.78 kB / 0.49 GB, free: 13.24 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.4317, allocations: 4 kB / 0.49 GB, free: 13.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02038/0.4521, allocations: 9.692 MB / 0.4995 GB, free: 3.523 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.721e-05/0.4521, allocations: 15.92 kB / 0.4995 GB, free: 3.508 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.4523, allocations: 59.72 kB / 0.4995 GB, free: 3.449 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01254/0.4648, allocations: 4.01 MB / 0.5035 GB, free: 15.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4648, allocations: 0 / 0.5035 GB, free: 15.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4648, allocations: 8 kB / 0.5035 GB, free: 15.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.4648, allocations: 0 / 0.5035 GB, free: 15.42 MB / 382.1 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.002306/0.4671, allocations: 0.9122 MB / 0.5044 GB, free: 14.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.4672, allocations: 12.03 kB / 0.5044 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001966/0.4674, allocations: 27.83 kB / 0.5044 GB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.4676, allocations: 198.9 kB / 0.5046 GB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.4676, allocations: 11.98 kB / 0.5046 GB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.4677, allocations: 8 kB / 0.5046 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.4679, allocations: 127.3 kB / 0.5047 GB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.4679, allocations: 3.938 kB / 0.5047 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.4679, allocations: 4 kB / 0.5047 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.4679, allocations: 7.922 kB / 0.5047 GB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.4681, allocations: 95.95 kB / 0.5048 GB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008049/0.4689, allocations: 0.5738 MB / 0.5054 GB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002791/0.4692, allocations: 113.2 kB / 0.5055 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.4693, allocations: 65.69 kB / 0.5056 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06899/0.5383, allocations: 33.17 MB / 0.538 GB, free: 6.359 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.5383, allocations: 38.5 kB / 0.538 GB, free: 6.312 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 2.344e-06/0.5383, allocations: 0 / 0.538 GB, free: 6.312 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007193/0.539, allocations: 226 kB / 0.5382 GB, free: 6.086 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.5391, allocations: 85.11 kB / 0.5383 GB, free: 5.984 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.5392, allocations: 121.8 kB / 0.5384 GB, free: 5.855 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.5392, allocations: 33.7 kB / 0.5384 GB, free: 5.816 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.814e-05/0.5393, allocations: 88.53 kB / 0.5385 GB, free: 5.723 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.65e-05/0.5394, allocations: 83.27 kB / 0.5386 GB, free: 5.641 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.038e-05/0.5394, allocations: 33.7 kB / 0.5386 GB, free: 5.602 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.5396, allocations: 330.8 kB / 0.5389 GB, free: 5.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-05/0.5397, allocations: 39.98 kB / 0.539 GB, free: 5.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.897e-05/0.5398, allocations: 65.7 kB / 0.5391 GB, free: 5.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.5399, allocations: 125.6 kB / 0.5392 GB, free: 5.031 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5399, allocations: 0 / 0.5392 GB, free: 5.031 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002629/0.5402, allocations: 165.7 kB / 0.5393 GB, free: 4.863 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.5402, allocations: 4 kB / 0.5393 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.5402, allocations: 0 / 0.5393 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.5403, allocations: 4 kB / 0.5393 GB, free: 4.855 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.939e-05/0.5404, allocations: 27.92 kB / 0.5394 GB, free: 4.828 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.5404, allocations: 4 kB / 0.5394 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.391e-05/0.5404, allocations: 11.89 kB / 0.5394 GB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.5404, allocations: 4 kB / 0.5394 GB, free: 4.809 MB / 414.1 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 0.0001121/0.5406, allocations: 125.8 kB / 0.5395 GB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.169e-05/0.5406, allocations: 7.953 kB / 0.5395 GB, free: 4.668 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004979/0.5411, allocations: 314 kB / 0.5398 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003283/0.5414, allocations: 249.2 kB / 0.54 GB, free: 4.113 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.5414, allocations: 0 / 0.54 GB, free: 4.113 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.5414, allocations: 4 kB / 0.5401 GB, free: 4.109 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.5425, allocations: 0.7546 MB / 0.5408 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5425, allocations: 0 / 0.5408 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.5427, allocations: 43.92 kB / 0.5408 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.5427, allocations: 3.984 kB / 0.5408 GB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.5427, allocations: 12 kB / 0.5408 GB, free: 3.238 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.5427, allocations: 0 / 0.5408 GB, free: 3.238 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.5427, allocations: 4 kB / 0.5408 GB, free: 3.234 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006593/0.5434, allocations: 0.5222 MB / 0.5414 GB, free: 2.695 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.952e-05/0.5434, allocations: 96.98 kB / 0.5415 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.5435, allocations: 0 / 0.5415 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.5436, allocations: 8 kB / 0.5415 GB, free: 2.574 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.5436, allocations: 24.03 kB / 0.5415 GB, free: 2.551 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.5436, allocations: 4.125 kB / 0.5415 GB, free: 2.547 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.436e-05/0.5437, allocations: 103.2 kB / 0.5416 GB, free: 2.445 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5437, allocations: 0 / 0.5416 GB, free: 2.445 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00258/0.5463, allocations: 0.9384 MB / 0.5425 GB, free: 1.504 MB / 414.1 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.004065/0.5504, allocations: 1.438 MB / 0.5439 GB, free: 52 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005141/0.5509, allocations: 239.7 kB / 0.5441 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5509, allocations: 0 / 0.5441 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001705/0.551, allocations: 99.86 kB / 0.5442 GB, free: 15.71 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009878/0.552, allocations: 148.5 kB / 0.5444 GB, free: 15.56 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009585/0.553, allocations: 496.3 kB / 0.5448 GB, free: 15.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.5534, allocations: 0.7289 MB / 0.5456 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000143/0.5535, allocations: 53.83 kB / 0.5456 GB, free: 14.24 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.143e-05/0.5536, allocations: 23.44 kB / 0.5456 GB, free: 14.21 MB / 430.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5536, allocations: 0 / 0.5456 GB, free: 14.21 MB / 430.1 MB Notification: Performance of Templates: time 0.04466/0.5982, allocations: 28.13 MB / 0.5731 GB, free: 2.086 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.237944025546312]