Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.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.0008888/0.0008888, allocations: 77.88 kB / 21.42 MB, free: 3.078 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.0008911/0.0008911, allocations: 167.1 kB / 24.82 MB, free: 8.875 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.8875/0.8875, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.09122/0.09122, allocations: 19.75 MB / 281.6 MB, free: 9.094 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/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(ThermoPower.Test.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine") translateModel(ThermoPower.Test.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 3.984 kB / 358.4 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.988e-06/1.22e-05, allocations: 9.688 kB / 358.4 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.2397/0.2397, allocations: 145.3 MB / 0.4919 GB, free: 12.76 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003107/0.2428, allocations: 3.392 MB / 0.4952 GB, free: 9.379 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001994/0.243, allocations: 11.88 kB / 0.4952 GB, free: 9.367 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004358/0.2434, allocations: 158.8 kB / 0.4954 GB, free: 9.211 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006888/0.2441, allocations: 0.5439 MB / 0.4959 GB, free: 8.664 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00206/0.2462, allocations: 1.386 MB / 0.4973 GB, free: 7.273 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009177/0.2471, allocations: 1.266 MB / 0.4985 GB, free: 6.004 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003598/0.2475, allocations: 354.1 kB / 0.4989 GB, free: 5.656 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000678/0.2481, allocations: 0.7835 MB / 0.4996 GB, free: 4.871 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003164/0.2485, allocations: 346.9 kB / 0.4999 GB, free: 4.531 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.658e-05/0.2485, allocations: 56 kB / 0.5 GB, free: 4.477 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.2497, allocations: 1.032 MB / 0.501 GB, free: 3.445 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004638/0.2501, allocations: 382.9 kB / 0.5014 GB, free: 3.07 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000201/0.2503, allocations: 303.3 kB / 0.5017 GB, free: 2.773 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.2515, allocations: 1.402 MB / 0.503 GB, free: 1.367 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.2515, allocations: 0 / 0.503 GB, free: 1.367 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.2515, allocations: 0 / 0.503 GB, free: 1.367 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.2515, allocations: 0 / 0.503 GB, free: 1.367 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001136/0.2527, allocations: 1.331 MB / 0.5043 GB, free: 15.99 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.2527, allocations: 8.031 kB / 0.5043 GB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004932/0.2532, allocations: 243.8 kB / 0.5046 GB, free: 15.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006573/0.2538, allocations: 0.5053 MB / 0.5051 GB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.2539, allocations: 41 kB / 0.5051 GB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.588e-05/0.2539, allocations: 59.94 kB / 0.5052 GB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004784/0.2544, allocations: 0.8014 MB / 0.5059 GB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.2544, allocations: 3.953 kB / 0.506 GB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.588e-05/0.2544, allocations: 24 kB / 0.506 GB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.2545, allocations: 15.98 kB / 0.506 GB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001973/0.2546, allocations: 174.8 kB / 0.5062 GB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001696/0.2563, allocations: 1.447 MB / 0.5076 GB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.2565, allocations: 87.17 kB / 0.5077 GB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.355e-05/0.2565, allocations: 31.67 kB / 0.5077 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.2566, allocations: 39.97 kB / 0.5077 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.2566, allocations: 41.39 kB / 0.5078 GB, free: 12.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.2566, allocations: 0 / 0.5078 GB, free: 12.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002292/0.2569, allocations: 181.4 kB / 0.5079 GB, free: 12.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.197e-05/0.2569, allocations: 55.41 kB / 0.508 GB, free: 12.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004924/0.2574, allocations: 0.8073 MB / 0.5088 GB, free: 11.2 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.2574, allocations: 33.7 kB / 0.5088 GB, free: 11.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.2576, allocations: 0.5451 MB / 0.5093 GB, free: 10.6 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.2577, allocations: 59.52 kB / 0.5094 GB, free: 10.54 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.312e-05/0.2578, allocations: 91.59 kB / 0.5095 GB, free: 10.45 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.2579, allocations: 0.4926 MB / 0.51 GB, free: 9.945 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.72e-05/0.2579, allocations: 53.5 kB / 0.51 GB, free: 9.891 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.2581, allocations: 241.3 kB / 0.5102 GB, free: 9.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.2582, allocations: 292.6 kB / 0.5105 GB, free: 9.203 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.2583, allocations: 4 kB / 0.5105 GB, free: 9.199 MB / 394.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003219/0.2586, allocations: 325.1 kB / 0.5108 GB, free: 8.875 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.2586, allocations: 12.09 kB / 0.5108 GB, free: 8.863 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2586, allocations: 4 kB / 0.5109 GB, free: 8.859 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.2586, allocations: 11.94 kB / 0.5109 GB, free: 8.848 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.2588, allocations: 103.8 kB / 0.511 GB, free: 8.746 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004901/0.2593, allocations: 0.9049 MB / 0.5118 GB, free: 7.812 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.2595, allocations: 43.66 kB / 0.5119 GB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.2595, allocations: 20 kB / 0.5119 GB, free: 7.75 MB / 394.7 MB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001544/0.2597, allocations: 190.6 kB / 0.5121 GB, free: 7.555 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.342e-05/0.2598, allocations: 87.42 kB / 0.5122 GB, free: 7.469 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001872/0.2599, allocations: 166.5 kB / 0.5123 GB, free: 7.301 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.2599, allocations: 0 / 0.5123 GB, free: 7.301 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.2599, allocations: 3.938 kB / 0.5123 GB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.2599, allocations: 0 / 0.5123 GB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/0.2603, allocations: 340.9 kB / 0.5127 GB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2603, allocations: 0 / 0.5127 GB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.2604, allocations: 43.91 kB / 0.5127 GB, free: 6.895 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2604, allocations: 3.938 kB / 0.5127 GB, free: 6.891 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.2604, allocations: 12 kB / 0.5127 GB, free: 6.879 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000232/0.2606, allocations: 0.8932 MB / 0.5136 GB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.2606, allocations: 4.859 kB / 0.5136 GB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.2608, allocations: 344 kB / 0.5139 GB, free: 5.598 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.288e-05/0.2609, allocations: 75.44 kB / 0.514 GB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.2609, allocations: 4 kB / 0.514 GB, free: 5.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.2611, allocations: 11.98 kB / 0.514 GB, free: 5.508 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.2611, allocations: 15.98 kB / 0.514 GB, free: 5.492 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-05/0.2611, allocations: 20.06 kB / 0.514 GB, free: 5.473 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002871/0.2614, allocations: 474.8 kB / 0.5145 GB, free: 5.016 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2614, allocations: 0 / 0.5145 GB, free: 5.016 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003799/0.2618, allocations: 223.4 kB / 0.5147 GB, free: 4.797 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia1.phi,Inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009167/0.2627, allocations: 497.5 kB / 0.5152 GB, free: 4.438 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003142/0.263, allocations: 160.3 kB / 0.5153 GB, free: 4.277 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.263, allocations: 4 kB / 0.5153 GB, free: 4.273 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.6e-05/0.2631, allocations: 51.53 kB / 0.5154 GB, free: 4.219 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004929/0.2636, allocations: 169.9 kB / 0.5156 GB, free: 4.051 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.2649, allocations: 1.255 MB / 0.5168 GB, free: 2.758 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.265, allocations: 197.2 kB / 0.517 GB, free: 2.543 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001993/0.2652, allocations: 92.61 kB / 0.5171 GB, free: 2.453 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004017/0.2656, allocations: 289.9 kB / 0.5173 GB, free: 2.168 MB / 394.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2656, allocations: 0 / 0.5173 GB, free: 2.168 MB / 394.7 MB Notification: Performance of Templates: time 0.01599/0.2816, allocations: 11.21 MB / 0.5283 GB, free: 7.094 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.sim & (cd run_cvode && ../ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1) [Timeout 240] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine_gbode.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine_gbode.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine_gbode.sim & (cd run_gbode && ../ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine_gbode.pipe 2>&1) [Timeout 240] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine_ida.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine_ida.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine_ida.sim & (cd run_ida && ../ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3136231107637286]