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.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.002/0.002, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 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.002383/0.002383, allocations: 212.5 kB / 22.25 MB, free: 5.121 MB / 14.72 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.523/1.523, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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.05107/0.05107, allocations: 9.146 MB / 321.6 MB, free: 10.42 MB / 254.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.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: 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: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 63.91 kB / 447.1 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.106, allocations: 54.95 MB / 0.4903 GB, free: 9.457 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesHelium): time 0.02309/0.1291, allocations: 17.49 MB / 0.5074 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2338/0.3628, allocations: 16.85 MB / 0.5238 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/0.363, allocations: 0 / 0.5238 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007493/0.3637, allocations: 292.3 kB / 0.5241 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01578/0.3795, allocations: 6.428 MB / 0.5304 GB, free: 6.613 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.3815, allocations: 0.581 MB / 0.5309 GB, free: 6.477 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002886/0.3817, allocations: 188.8 kB / 0.5311 GB, free: 6.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.133e-05/0.3818, allocations: 14.03 kB / 0.5311 GB, free: 6.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.3819, allocations: 84.45 kB / 0.5312 GB, free: 6.387 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.3821, allocations: 59.75 kB / 0.5313 GB, free: 6.371 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.3821, allocations: 2.75 kB / 0.5313 GB, free: 6.371 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01823/0.4003, allocations: 10.01 MB / 0.5411 GB, free: 4.551 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.388e-05/0.4003, allocations: 21.14 kB / 0.5411 GB, free: 4.535 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.4005, allocations: 52.22 kB / 0.5411 GB, free: 4.512 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01221/0.4127, allocations: 4.033 MB / 0.5451 GB, free: 2.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.4127, allocations: 1.219 kB / 0.5451 GB, free: 2.273 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4127, allocations: 0 / 0.5451 GB, free: 2.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.4127, allocations: 0 / 0.5451 GB, free: 2.273 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.002691/0.4154, allocations: 0.8511 MB / 0.5459 GB, free: 1.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.4154, allocations: 12.25 kB / 0.5459 GB, free: 1.617 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002087/0.4156, allocations: 25.62 kB / 0.5459 GB, free: 1.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.4158, allocations: 141.4 kB / 0.5461 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.4158, allocations: 3.375 kB / 0.5461 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.4158, allocations: 8.125 kB / 0.5461 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.416, allocations: 135.5 kB / 0.5462 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.416, allocations: 2.359 kB / 0.5462 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.4161, allocations: 7.938 kB / 0.5462 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.4161, allocations: 6.75 kB / 0.5462 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.4162, allocations: 101.5 kB / 0.5463 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005325/0.4167, allocations: 0.5369 MB / 0.5468 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.4169, allocations: 123.8 kB / 0.547 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.48e-05/0.417, allocations: 68.97 kB / 0.547 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05133/0.4684, allocations: 10.89 MB / 0.5577 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.282e-05/0.4684, allocations: 34.5 kB / 0.5577 GB, free: 10.58 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 3.026e-06/0.4684, allocations: 0 / 0.5577 GB, free: 10.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007085/0.4691, allocations: 229.4 kB / 0.5579 GB, free: 10.35 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/0.4692, allocations: 85.05 kB / 0.558 GB, free: 10.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.4693, allocations: 121.4 kB / 0.5581 GB, free: 10.12 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.4693, allocations: 25.7 kB / 0.5581 GB, free: 10.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.665e-05/0.4694, allocations: 88.58 kB / 0.5582 GB, free: 10 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.792e-05/0.4695, allocations: 87.11 kB / 0.5583 GB, free: 9.918 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-05/0.4695, allocations: 37.7 kB / 0.5583 GB, free: 9.875 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.4697, allocations: 326.8 kB / 0.5587 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.982e-05/0.4697, allocations: 43.98 kB / 0.5587 GB, free: 9.504 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.755e-05/0.4698, allocations: 61.7 kB / 0.5588 GB, free: 9.438 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.47, allocations: 125 kB / 0.5589 GB, free: 9.312 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.47, allocations: 7.938 kB / 0.5589 GB, free: 9.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002898/0.4703, allocations: 166.9 kB / 0.559 GB, free: 9.137 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.4703, allocations: 4 kB / 0.559 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.4704, allocations: 4 kB / 0.559 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.4704, allocations: 0 / 0.559 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.689e-05/0.4705, allocations: 23.88 kB / 0.5591 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.4705, allocations: 0 / 0.5591 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.773e-05/0.4706, allocations: 15.89 kB / 0.5591 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.4706, allocations: 7.984 kB / 0.5591 GB, free: 9.082 MB / 398.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.0001208/0.4707, allocations: 121.8 kB / 0.5592 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.418e-05/0.4708, allocations: 11.91 kB / 0.5592 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004889/0.4713, allocations: 322.6 kB / 0.5595 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003/0.4716, allocations: 244 kB / 0.5598 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4716, allocations: 0 / 0.5598 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.545e-06/0.4716, allocations: 3.984 kB / 0.5598 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.4726, allocations: 0.7295 MB / 0.5605 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.4726, allocations: 0 / 0.5605 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.4727, allocations: 35.98 kB / 0.5605 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.4727, allocations: 0.7031 kB / 0.5605 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.4728, allocations: 8 kB / 0.5605 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.4728, allocations: 0 / 0.5605 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4728, allocations: 3.938 kB / 0.5605 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006073/0.4734, allocations: 0.5461 MB / 0.5611 GB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.606e-05/0.4734, allocations: 15.84 kB / 0.5611 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.4735, allocations: 11.31 kB / 0.5611 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.4736, allocations: 4 kB / 0.5611 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.4736, allocations: 15.97 kB / 0.5611 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.4736, allocations: 8 kB / 0.5611 GB, free: 6.945 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.49e-05/0.4737, allocations: 91.27 kB / 0.5612 GB, free: 6.855 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4737, allocations: 3.938 kB / 0.5612 GB, free: 6.852 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00389/0.4776, allocations: 0.9464 MB / 0.5621 GB, free: 5.902 MB / 398.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.006385/0.484, allocations: 1.448 MB / 0.5635 GB, free: 4.594 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005125/0.4845, allocations: 239.9 kB / 0.5638 GB, free: 4.348 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4845, allocations: 0 / 0.5638 GB, free: 4.348 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.4847, allocations: 111.8 kB / 0.5639 GB, free: 4.238 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.4857, allocations: 143.6 kB / 0.564 GB, free: 4.105 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000982/0.4867, allocations: 492.4 kB / 0.5645 GB, free: 3.609 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.4871, allocations: 0.7367 MB / 0.5652 GB, free: 2.848 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001592/0.4872, allocations: 43.06 kB / 0.5652 GB, free: 2.805 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.466e-05/0.4873, allocations: 27.44 kB / 0.5653 GB, free: 2.777 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4873, allocations: 0 / 0.5653 GB, free: 2.777 MB / 398.1 MB Notification: Performance of Templates: time 0.04809/0.5354, allocations: 28.24 MB / 0.5928 GB, free: 6.621 MB / 430.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.052298561204225] Failed to read output from testmodel.py, exit status != 0: 0.5443561370484531 0.55985648 0.14383445199999995 Calling exit ...