Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState.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.0008635/0.0008635, allocations: 79.75 kB / 20.11 MB, free: 4.137 MB / 18.57 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.0008558/0.0008558, allocations: 168.4 kB / 23.56 MB, free: 0.6914 MB / 18.57 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 0.8891/0.8891, allocations: 177.1 MB / 204 MB, free: 5.398 MB / 186.7 MB " [Timeout remaining time 179] 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.04507/0.04507, allocations: 11.7 MB / 272.2 MB, free: 1.82 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.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.Validation.Convergence.TwoPhase_setState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState") translateModel(HelmholtzMedia.Validation.Convergence.TwoPhase_setState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 291.5 MB, free: 17.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.204e-05/1.426e-05, allocations: 3.688 kB / 291.5 MB, free: 17.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Convergence.TwoPhase_setState): time 0.04494/0.04495, allocations: 58.95 MB / 350.5 MB, free: 13.25 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02094/0.06589, allocations: 33.69 MB / 384.2 MB, free: 11.46 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.323e-05/0.06597, allocations: 0 / 384.2 MB, free: 11.46 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004819/0.06645, allocations: 231.3 kB / 384.4 MB, free: 11.23 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003344/0.06679, allocations: 230.7 kB / 384.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02964/0.09643, allocations: 18.12 MB / 402.7 MB, free: 8.801 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002838/0.09671, allocations: 314.1 kB / 403 MB, free: 8.492 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.863e-05/0.09675, allocations: 10.47 kB / 403 MB, free: 8.48 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.09695, allocations: 187.5 kB / 403.2 MB, free: 8.297 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.71e-05/0.09702, allocations: 55.86 kB / 403.3 MB, free: 8.242 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.09703, allocations: 4 kB / 403.3 MB, free: 8.238 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02494/0.122, allocations: 19.32 MB / 422.6 MB, free: 4.887 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.812e-05/0.122, allocations: 11.92 kB / 422.6 MB, free: 4.875 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.1221, allocations: 55.86 kB / 422.7 MB, free: 4.82 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01407/0.1362, allocations: 8.906 MB / 431.6 MB, free: 11.89 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1362, allocations: 0 / 431.6 MB, free: 11.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1362, allocations: 0 / 431.6 MB, free: 11.89 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1362, allocations: 0 / 431.6 MB, free: 11.89 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001797/0.138, allocations: 1.504 MB / 433.1 MB, free: 10.36 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.813e-05/0.138, allocations: 8.031 kB / 433.1 MB, free: 10.35 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.1381, allocations: 15.98 kB / 433.1 MB, free: 10.33 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.638e-05/0.1382, allocations: 129.5 kB / 433.2 MB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.1382, allocations: 4 kB / 433.2 MB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.1382, allocations: 4 kB / 433.2 MB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.1383, allocations: 127.7 kB / 433.4 MB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1383, allocations: 0 / 433.4 MB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-06/0.1383, allocations: 0 / 433.4 MB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.1383, allocations: 7.984 kB / 433.4 MB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.375e-05/0.1384, allocations: 30.83 kB / 433.4 MB, free: 9.992 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002866/0.1387, allocations: 369.7 kB / 433.8 MB, free: 9.609 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.876e-05/0.1387, allocations: 94.45 kB / 433.8 MB, free: 9.508 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.832e-05/0.1387, allocations: 36.84 kB / 433.9 MB, free: 9.469 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1679/0.3066, allocations: 57.25 MB / 491.1 MB, free: 75.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.3066, allocations: 34.56 kB / 491.2 MB, free: 74.97 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 1.263e-06/0.3066, allocations: 0 / 491.2 MB, free: 74.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=42): time 0.0001818/0.3068, allocations: 225.6 kB / 491.4 MB, free: 74.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.623e-05/0.3068, allocations: 51.41 kB / 491.4 MB, free: 74.69 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.69e-05/0.3069, allocations: 124.2 kB / 491.6 MB, free: 74.57 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.929e-06/0.3069, allocations: 29.7 kB / 491.6 MB, free: 74.53 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.965e-05/0.3069, allocations: 89.06 kB / 491.7 MB, free: 74.44 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.3069, allocations: 142.9 kB / 491.8 MB, free: 74.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.307, allocations: 42.27 kB / 491.9 MB, free: 74.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 2.631e-05/0.307, allocations: 332.7 kB / 492.2 MB, free: 73.95 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.413e-05/0.307, allocations: 27.19 kB / 492.2 MB, free: 73.92 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.932e-05/0.307, allocations: 55.75 kB / 492.3 MB, free: 73.86 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.454e-05/0.3071, allocations: 128 kB / 492.4 MB, free: 73.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.3071, allocations: 0 / 492.4 MB, free: 73.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 9.746e-05/0.3072, allocations: 139 kB / 492.5 MB, free: 73.61 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.3072, allocations: 11.98 kB / 492.5 MB, free: 73.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.3072, allocations: 3.75 kB / 492.5 MB, free: 73.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.3072, allocations: 0 / 492.5 MB, free: 73.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.775e-05/0.3073, allocations: 8 kB / 492.5 MB, free: 73.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-06/0.3073, allocations: 0 / 492.5 MB, free: 73.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.799e-05/0.3073, allocations: 27.97 kB / 492.6 MB, free: 73.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.3073, allocations: 12.06 kB / 492.6 MB, free: 73.55 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (state_Ts.phase,state_ps.phase,state_ph.phase,state_pd.phase,state_dT.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 3.971e-05/0.3074, allocations: 110.4 kB / 492.7 MB, free: 73.44 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.693e-05/0.3074, allocations: 15.98 kB / 492.7 MB, free: 73.42 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/0.3075, allocations: 185.9 kB / 492.9 MB, free: 73.24 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.3075, allocations: 11.98 kB / 492.9 MB, free: 73.23 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.3075, allocations: 0 / 492.9 MB, free: 73.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3075, allocations: 3.984 kB / 492.9 MB, free: 73.23 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.297e-05/0.3076, allocations: 119.8 kB / 493 MB, free: 73.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3076, allocations: 4 kB / 493 MB, free: 73.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.544e-05/0.3077, allocations: 9.156 kB / 493 MB, free: 73.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3077, allocations: 1 kB / 493 MB, free: 73.09 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.3077, allocations: 4 kB / 493 MB, free: 73.08 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.3077, allocations: 0 / 493 MB, free: 73.08 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.3077, allocations: 4 kB / 493 MB, free: 73.08 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.252e-05/0.3078, allocations: 293.1 kB / 493.3 MB, free: 72.79 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.49e-05/0.3078, allocations: 26.91 kB / 493.4 MB, free: 72.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-06/0.3078, allocations: 8 kB / 493.4 MB, free: 72.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.273e-05/0.3078, allocations: 4.609 kB / 493.4 MB, free: 72.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-05/0.3079, allocations: 8 kB / 493.4 MB, free: 72.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.3079, allocations: 3.984 kB / 493.4 MB, free: 72.74 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.181e-05/0.3079, allocations: 17.06 kB / 493.4 MB, free: 72.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3079, allocations: 0 / 493.4 MB, free: 72.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001228/0.3091, allocations: 1.227 MB / 494.6 MB, free: 71.5 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (state_dT.phase,state_pd.phase,state_ph.phase,state_ps.phase,state_Ts.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.002099/0.3112, allocations: 2.228 MB / 496.9 MB, free: 69.48 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001116/0.3113, allocations: 130.1 kB / 497 MB, free: 69.36 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3113, allocations: 0 / 497 MB, free: 69.36 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.331e-05/0.3113, allocations: 76.75 kB / 497.1 MB, free: 69.28 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.3117, allocations: 157.1 kB / 497.2 MB, free: 69.13 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004898/0.3122, allocations: 318.8 kB / 497.5 MB, free: 68.81 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.614e-05/0.3122, allocations: 76.34 kB / 497.6 MB, free: 68.72 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.04e-05/0.3123, allocations: 13.95 kB / 497.6 MB, free: 68.71 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.3124, allocations: 143.5 kB / 497.7 MB, free: 68.57 MB / 394.7 MB Notification: Performance of SimCode: time 5.01e-07/0.3124, allocations: 0 / 497.7 MB, free: 68.57 MB / 394.7 MB Notification: Performance of Templates: time 0.02278/0.3352, allocations: 32.69 MB / 0.518 GB, free: 36.34 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState.sim & (cd run_cvode && ../HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState.pipe 2>&1) [Timeout 240] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState_gbode.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState_gbode.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState_gbode.sim & (cd run_gbode && ../HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState_gbode.pipe 2>&1) [Timeout 240] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState_ida.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState_ida.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState_ida.sim & (cd run_ida && ../HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.228431379422545]