Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.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.0009115/0.0009115, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.0009532/0.0009532, allocations: 167 kB / 24.82 MB, free: 8.91 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.9883/0.9883, allocations: 177.2 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.1106/0.1106, allocations: 19.74 MB / 281.6 MB, free: 9.102 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.TestGT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT") translateModel(ThermoPower.Test.GasComponents.TestGT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 358.4 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.741e-05/1.868e-05, allocations: 2.312 kB / 358.4 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.281/0.281, allocations: 151.5 MB / 0.4979 GB, free: 6.605 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003308/0.2843, allocations: 2.08 MB / 0.5 GB, free: 4.535 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003924/0.2847, allocations: 15.88 kB / 0.5 GB, free: 4.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006553/0.2854, allocations: 285.9 kB / 0.5003 GB, free: 4.238 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001174/0.2865, allocations: 0.8901 MB / 0.5011 GB, free: 3.344 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001729/0.2883, allocations: 1.052 MB / 0.5022 GB, free: 2.289 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00164/0.2899, allocations: 1.944 MB / 0.5041 GB, free: 348 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008168/0.2907, allocations: 0.6232 MB / 0.5047 GB, free: 15.7 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001433/0.2922, allocations: 1.076 MB / 0.5057 GB, free: 14.62 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009404/0.2931, allocations: 0.7677 MB / 0.5065 GB, free: 13.86 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001203/0.2932, allocations: 84 kB / 0.5065 GB, free: 13.77 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001/0.2942, allocations: 0.5647 MB / 0.5071 GB, free: 13.21 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004472/0.2947, allocations: 0.8259 MB / 0.5079 GB, free: 12.38 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004464/0.2951, allocations: 0.5999 MB / 0.5085 GB, free: 11.78 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.2966, allocations: 1.857 MB / 0.5103 GB, free: 9.914 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2966, allocations: 0 / 0.5103 GB, free: 9.914 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2966, allocations: 0 / 0.5103 GB, free: 9.914 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.764e-05/0.2966, allocations: 0 / 0.5103 GB, free: 9.914 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002285/0.2989, allocations: 2.508 MB / 0.5128 GB, free: 7.352 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.2989, allocations: 8.031 kB / 0.5128 GB, free: 7.344 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008489/0.2998, allocations: 423.1 kB / 0.5132 GB, free: 6.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009059/0.3007, allocations: 0.9916 MB / 0.5141 GB, free: 5.879 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.942e-05/0.3008, allocations: 129.4 kB / 0.5143 GB, free: 5.742 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.972e-05/0.3009, allocations: 96 kB / 0.5144 GB, free: 5.648 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009442/0.3018, allocations: 1.477 MB / 0.5158 GB, free: 3.922 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.3019, allocations: 7.953 kB / 0.5158 GB, free: 3.914 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.089e-05/0.3019, allocations: 44 kB / 0.5158 GB, free: 3.871 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-05/0.302, allocations: 37.98 kB / 0.5159 GB, free: 3.836 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003863/0.3024, allocations: 321.5 kB / 0.5162 GB, free: 3.52 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003904/0.3063, allocations: 4.174 MB / 0.5203 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003596/0.3066, allocations: 232.7 kB / 0.5205 GB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.361e-05/0.3067, allocations: 76.22 kB / 0.5206 GB, free: 14.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.3067, allocations: 8 kB / 0.5206 GB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.3068, allocations: 61.31 kB / 0.5206 GB, free: 14.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=38): time 2.395e-06/0.3068, allocations: 0 / 0.5206 GB, free: 14.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.001071/0.3078, allocations: 0.7773 MB / 0.5214 GB, free: 14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.3079, allocations: 89.05 kB / 0.5215 GB, free: 13.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/0.3093, allocations: 1.966 MB / 0.5234 GB, free: 11.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.885e-05/0.3093, allocations: 41.7 kB / 0.5234 GB, free: 11.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006226/0.31, allocations: 1.123 MB / 0.5245 GB, free: 10.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.031e-05/0.31, allocations: 154.7 kB / 0.5247 GB, free: 10.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.3102, allocations: 131.9 kB / 0.5248 GB, free: 10.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.3103, allocations: 0.5044 MB / 0.5253 GB, free: 9.902 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.606e-05/0.3104, allocations: 65.25 kB / 0.5254 GB, free: 9.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.3106, allocations: 339.1 kB / 0.5257 GB, free: 9.395 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003343/0.3109, allocations: 439.1 kB / 0.5261 GB, free: 8.848 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3109, allocations: 4 kB / 0.5261 GB, free: 8.844 MB / 410.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0007102/0.3116, allocations: 0.5897 MB / 0.5267 GB, free: 8.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.3117, allocations: 11.94 kB / 0.5267 GB, free: 8.238 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.3117, allocations: 4 kB / 0.5267 GB, free: 8.234 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.3117, allocations: 15.94 kB / 0.5267 GB, free: 8.219 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005455/0.3122, allocations: 219 kB / 0.5269 GB, free: 8.008 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006004/0.3128, allocations: 1.797 MB / 0.5287 GB, free: 6.156 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/0.3131, allocations: 31.92 kB / 0.5287 GB, free: 6.125 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-05/0.3132, allocations: 24 kB / 0.5287 GB, free: 6.102 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 1 (BooleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002225/0.3134, allocations: 200.3 kB / 0.5289 GB, free: 5.895 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.3136, allocations: 206.9 kB / 0.5291 GB, free: 5.691 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003823/0.314, allocations: 371.4 kB / 0.5295 GB, free: 5.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.314, allocations: 7.938 kB / 0.5295 GB, free: 5.312 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.314, allocations: 6.938 kB / 0.5295 GB, free: 5.309 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.314, allocations: 3.938 kB / 0.5295 GB, free: 5.305 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.3153, allocations: 1.283 MB / 0.5307 GB, free: 3.977 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.3153, allocations: 0 / 0.5307 GB, free: 3.977 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003815/0.3157, allocations: 131.8 kB / 0.5309 GB, free: 3.848 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.3157, allocations: 8.062 kB / 0.5309 GB, free: 3.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.3157, allocations: 11.94 kB / 0.5309 GB, free: 3.828 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005017/0.3162, allocations: 1.794 MB / 0.5326 GB, free: 1.977 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3162, allocations: 0 / 0.5326 GB, free: 1.977 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004824/0.3167, allocations: 0.6209 MB / 0.5332 GB, free: 1.328 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002647/0.3169, allocations: 234.7 kB / 0.5335 GB, free: 1.098 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.205e-05/0.317, allocations: 12 kB / 0.5335 GB, free: 1.086 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/0.3173, allocations: 40.03 kB / 0.5335 GB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.3174, allocations: 19.95 kB / 0.5335 GB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-05/0.3174, allocations: 27.97 kB / 0.5336 GB, free: 1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009365/0.3184, allocations: 1.106 MB / 0.5346 GB, free: 15.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3184, allocations: 0 / 0.5346 GB, free: 15.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006151/0.319, allocations: 319.8 kB / 0.5349 GB, free: 15.56 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (Generator.phi,Generator.omega_m,Generator.omega_e_filt,Grid.port.theta) * Number of discrete variables: 1 (BooleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00107/0.32, allocations: 0.5126 MB / 0.5354 GB, free: 15.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003962/0.3204, allocations: 292.6 kB / 0.5357 GB, free: 14.87 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3204, allocations: 0.5 kB / 0.5357 GB, free: 14.87 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.3206, allocations: 124.1 kB / 0.5358 GB, free: 14.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008032/0.3214, allocations: 319.6 kB / 0.5361 GB, free: 14.44 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003159/0.3245, allocations: 2.953 MB / 0.539 GB, free: 11.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.3248, allocations: 407.1 kB / 0.5394 GB, free: 11 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004017/0.3252, allocations: 181.2 kB / 0.5396 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007395/0.326, allocations: 489.7 kB / 0.5401 GB, free: 10.34 MB / 426.7 MB Notification: Performance of SimCode: time 1.072e-06/0.326, allocations: 0 / 0.5401 GB, free: 10.34 MB / 426.7 MB Notification: Performance of Templates: time 0.02728/0.3532, allocations: 21.37 MB / 0.5609 GB, free: 5.223 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.sim & (cd run_cvode && ../ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1) [Timeout 240] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT_gbode.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT_gbode.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT_gbode.sim & (cd run_gbode && ../ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT_gbode.pipe 2>&1) [Timeout 240] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT_ida.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT_ida.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT_ida.sim & (cd run_ida && ../ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6804435630328953]